mail_list_attachments
Retrieve attachment metadata (name, content type, size in bytes) for an email without downloading file contents, safely handling messages with large attachments.
Instructions
List the file attachments on one email — name, content type and size in bytes. Returns metadata only and never file contents, so it is safe to call on messages with very large attachments. Inline images such as signature logos are excluded. Requires Mail.Read.
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>"
},
"name": "mail_list_attachments"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| message_id | Yes | The message id to list attachments for |