save_attachment
Save a single email attachment to a local folder using message ID and filename, with optional destination path.
Instructions
Save one attachment from a message to a local folder.
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>",
"filename": "<filename>"
},
"name": "save_attachment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filename | Yes | ||
| message_id | Yes | ||
| destination | No | ~/Downloads |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |