Get email attachment
get_email_attachmentProvide email_data_id + attachment_id (from search_emails results). Dict with filename, mimeType, size, and url (CloudFront URL for the file)
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "get_email_attachment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| on_behalf_of | No | A teammate's email, or an agency client's from list_agency_clients, to run this call in that account: their agents, settings, connected accounts, and credits. Omit it to act on your own account. | |
| attachment_id | No | The attachmentId from the attachments metadata | |
| email_data_id | No | ID of the email_data record (from search_emails) |