list_attachments
Retrieves all attachments from a specified email message, downloads them for inspection, and returns each file's name, MIME type, and size for review.
Instructions
List attachments for an email message. Downloads all attachments to inspect them, then returns filename, MIME type (inferred from extension), and size for each.
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": {
"id": "<id>"
},
"name": "list_attachments"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Email message ID | |
| folder | No | Folder name (default: INBOX) | |
| account | No | Account name (uses default if omitted) |