maily_download_attachment
Downloads a message attachment to a specified folder or file path, adding a number to the filename if the file already exists to prevent overwriting.
Instructions
Downloads an attachment of a message to disk. dest_path : folder or full path inside ~/Downloads, ~/Desktop or ~/Documents (default: ~/Downloads). An existing file is never overwritten: a number is added to the name.
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": {
"message_id": "<message_id>",
"attachment_id": "<attachment_id>"
},
"name": "maily_download_attachment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dest_path | No | ||
| message_id | Yes | ||
| attachment_id | Yes |