list_attachments
Lists attachments on a specified email message, returning each attachment’s index, name, size, MIME type, and download status so you can choose which one to save.
Instructions
List attachments on a message.
Args: account, mailbox, id: As returned by search_messages.
Returns a list of {index, name, size, mime_type, downloaded}. Pass index
to save_attachment. downloaded=false means the attachment body isn't
on disk yet — open the message in Mail.app to fetch it before saving.
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": {
"account": "<account>",
"mailbox": "<mailbox>",
"id": "<id>"
},
"name": "list_attachments"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| account | Yes | ||
| mailbox | Yes |