list_attachments
View email attachment details including filename, type, size, and ID without downloading files. Use this tool to preview attachments in iCloud Mail before accessing them.
Instructions
List all attachments in an email without downloading them. Returns filename, MIME type, size, and IMAP part ID 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 | Email UID | |
| mailbox | No | Mailbox name (default INBOX) |