download_attachments
Save a real email attachment to a dated, sender-and-subject subfolder under Downloads, returning the folder path and saved file list; inline images are skipped unless you opt in.
Instructions
Save real (non-inline) attachments from an email to a descriptive subfolder under the user's Downloads folder (~/Downloads/email-attachments/YYYY-MM-DD_sender_subject/). Returns the folder path and the list of saved files. Inline images (signatures, embedded screenshots) are filtered out by default — set include_inline=true to save them too.
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": {
"entry_id": "<entry_id>"
},
"name": "download_attachments"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| entry_id | Yes | EntryID of the email (from query_emails or read_email) | |
| include_inline | No | Also save embedded inline images (default: false) |