list_attachments
List attachments for a specific email by UID and folder, returning filename, content type, size, and part index to identify files for download or management.
Instructions
List all attachments of a specific email. Returns filename, content type, size, and part index for each attachment.
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 | UID of the email to list attachments for | |
| folder | No | Folder the email is in (e.g. INBOX, Sent, Drafts) | INBOX |