apple_mail_save_attachment
Save a single Apple Mail attachment to a new file under allowed file roots; existing paths are refused.
Instructions
Save one attachment to a new file under APPLE_MCP_FILE_ROOTS. Existing paths are refused.
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": {
"mailId": "<mailId>",
"index": "<index>",
"path": "<path>"
},
"name": "apple_mail_save_attachment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| index | Yes | ||
| mailId | Yes | ||
| account | No | iCloud | |
| mailbox | No | INBOX |