List Email Attachments
list_email_attachmentsLists attachments for Apple Mail messages found by subject keyword or message ID, helping you identify files attached to specific emails.
Instructions
List attachments for emails matching a subject keyword.
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": {
"account": "<account>"
},
"name": "list_email_attachments"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| account | Yes | Account name (e.g., "Gmail", "Work", "Personal") | |
| mailbox | No | Mailbox for id lookup (default: "INBOX"); nested names use "/" | INBOX |
| message_id | No | Numeric internal Mail id; overrides subject_keyword | |
| max_results | No | Maximum number of matching emails to check (default: 1) | |
| subject_keyword | No | Keyword to search for in email subjects |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |