Command Palette

Search for a command to run...

MCP Tools Reference

17 tools available for managing agent email, webhooks, and trusted senders. All tools automatically use the agent associated with your API key.

Email Tools
Read, send, search, and manage emails and attachments.
get_agent_info

Get the current agent's name, email address, slug, description, and status.

read_inbox

List emails in the agent's inbox with optional filters and pagination.

status(string | null)Filter: received, read, sent, draft, archived
limit(int)Max results (1-100, default 20)
offset(int)Skip N emails (default 0)
read_email

Get the full content of a specific email including headers, body (text and HTML), and attachment list.

email_id*(string)UUID of the email to read
send_email

Send an email from the agent's email address with support for threading (replies) and file attachments.

to*(list[string])Recipient email addresses
body_text*(string)Plain text body
subject(string | null)Email subject line
cc(list[string] | null)CC recipients
bcc(list[string] | null)BCC recipients
body_html(string | null)HTML body (optional)
in_reply_to_email_id(string | null)UUID of email being replied to (for threading)
attachments(list[dict] | null)File attachments: [{filename, data (base64), content_type?}]. Max 10, 10 MB total.
get_thread

Get all emails in a conversation thread, sorted chronologically.

thread_id*(string)UUID of the thread
list_attachments

List all attachments for a specific email with filenames, types, and sizes.

email_id*(string)UUID of the email
download_attachment

Get a pre-signed URL to download an attachment. URL is valid for 15 minutes.

attachment_id*(string)UUID of the attachment
mark_email

Update an email's status or starred flag.

email_id*(string)UUID of the email
action*(string)One of: read, unread, starred, unstarred, archived
search_emails

Semantic search across emails and document attachments (PDF, DOCX, XLSX, PPTX, CSV, TXT) using natural language. Results include source_type (email_body or attachment) and attachment_id when matching attachment content.

query*(string)Natural language search query
limit(int)Max results (1-50, default 10)
get_attachment_text

Get the extracted text content of a document attachment. Returns full text from PDF, DOCX, XLSX, PPTX, CSV, and TXT files processed by the RAG pipeline. Useful for reading document content found via search_emails.

attachment_id*(string)UUID of the attachment
Webhook Tools
Manage event hooks for integration with automation platforms.
list_webhooks

List all webhooks configured for the current agent, including URL, events, active status, and creation date.

create_webhook

Create a new webhook to receive HTTP notifications when emails arrive or are sent. Returns a signing secret (shown once) for HMAC-SHA256 verification.

url*(string)Target URL to receive POST requests
events*(list[string])Events to subscribe to: email.received, email.sent
description(string | null)Optional label for the webhook
delete_webhook

Delete a webhook by ID. Removes the webhook and all its delivery history.

webhook_id*(string)UUID of the webhook to delete
list_webhook_deliveries

List recent delivery attempts for a webhook, showing event type, HTTP status, success/failure status, and timestamps.

webhook_id*(string)UUID of the webhook
limit(int)Max results (1-100, default 20)
Trusted Sender Tools
Manage the allowlist of trusted senders whose emails your agent should act on. Email responses include is_trusted_sender computed from this list.
list_trusted_senders

List all trusted senders for the current agent. The agent owner is always the default trusted sender.

add_trusted_sender

Add an email address to the trusted senders list. Emails from this address will have is_trusted_sender=true.

email_address*(string)Email address to trust
name(string | null)Optional display name
remove_trusted_sender

Remove a trusted sender by ID. The default trusted sender (agent owner) cannot be removed.

sender_id*(string)UUID of the trusted sender to remove