mail_list_attachments
List attachment details (name, size, download state) from an email without downloading them. Quickly identify attachments before deciding to download.
Instructions
List attachments on a message (name, size, download state) without downloading them.
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": {
"accountName": "<accountName>",
"mailboxPath": "<mailboxPath>"
},
"name": "mail_list_attachments"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| messageId | No | Mail's internal numeric message id (fast, exact). | |
| accountName | Yes | ||
| mailboxPath | Yes | ||
| rfc822MessageId | No | RFC822 Message-ID header value, if messageId isn't known. |