list_email_attachments
Find and list file attachments from emails that match a given subject keyword, helping you quickly locate attachments without manually searching each email.
Instructions
List attachments for emails matching a subject keyword.
Args: account: Account name (e.g., "Gmail", "Work", "Personal") subject_keyword: Keyword to search for in email subjects max_results: Maximum number of matching emails to check (default: 1)
Returns: List of attachments with their names and sizes
User Preferences: {"workflow": "default", "notifications": "enabled"}
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>",
"subject_keyword": "<subject_keyword>"
},
"name": "list_email_attachments"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| account | Yes | ||
| max_results | No | ||
| subject_keyword | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |