mail_list_attachments
Retrieve attachment metadata (filenames, sizes) from a specific email by providing its folder and UID. Works without downloading binary data.
Instructions
List attachment metadata for one message by folder and UID (no binary download).
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": {
"mailbox": "<mailbox>",
"uid": "<uid>"
},
"name": "mail_list_attachments"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| uid | Yes | Message UID from mail_list_messages or mail_search | |
| mailbox | Yes | Folder name |