download_attachments
Save email attachments from a Yahoo Mail message by UID to disk. Returns saved file paths; use read_email to find attachment names first.
Instructions
Download attachments from an email (by UID) and save them to disk. Returns the saved file paths. Use read_email to see attachment names first.
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": "download_attachments"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| uid | Yes | UID of the email containing the attachments | |
| folder | No | Folder containing the email (default: INBOX) | INBOX |
| saveDir | No | Directory to save attachments to (default: ~/Downloads/yahoo-attachments) | |
| filenames | No | Only download attachments with these filenames (default: all attachments) |