mail_download_attachment
Download an email attachment by specifying message ID and attachment ID. Returns the filename and base64-encoded content.
Instructions
Download an email attachment. Returns filename and 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": {
"message_id": "<message_id>",
"attachment_id": "<attachment_id>"
},
"name": "mail_download_attachment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| message_id | Yes | Message ID | |
| attachment_id | Yes | Attachment ID to download |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||