attachments
Manage email attachments by listing all files for an email or downloading specific attachments as base64-encoded content.
Instructions
Email attachments: list, download. List shows all attachments for an email. Download returns base64-encoded content.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"action": "<action>",
"account": "<account>",
"uid": "<uid>"
},
"name": "attachments"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | Action to perform | |
| account | Yes | Account email (required) | |
| uid | Yes | Email UID (required) | |
| folder | No | Mailbox folder (default: INBOX) | |
| filename | No | Attachment filename (required for download) |