list_attachments
List attachment metadata for a message to get filenames, content types, and sizes without downloading the body. Use returned part numbers to download attachments later.
Instructions
List attachment metadata for a message without downloading the body. Returns part numbers, filenames, content types, and sizes — use these with download_attachment to fetch the content.
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": {
"uid": "<uid>"
},
"name": "list_attachments"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| uid | Yes | Message UID (use list_messages or search_messages to find UIDs) | |
| folder | No | Folder containing the message (default: INBOX) | INBOX |