mail_save_attachments
Save all attachments from a macOS Mail message to a specified local directory. Automatically creates the directory if it does not exist.
Instructions
Save all attachments from a Mail message to a local directory.
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>",
"output_dir": "<output_dir>"
},
"name": "mail_save_attachments"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| message_id | Yes | ||
| output_dir | Yes | Directory to save files into (absolute or ~ path). Created if missing. |