mail_download_attachment
Downloads an email attachment from a specified mailbox and saves it to a new absolute file path with private permissions.
Instructions
Download an attachment to a new absolute file with private permissions.
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": {
"mailbox": "<mailbox>",
"uid": "<uid>",
"index": "<index>",
"path": "<path>"
},
"name": "mail_download_attachment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| uid | Yes | ||
| path | Yes | ||
| index | Yes | ||
| mailbox | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||