create_draft
Save a plain-text email draft in Mail with optional attachments without sending it; specify the sender when multiple accounts exist.
Instructions
Save a plain text draft in Mail, with files attached when 'attachments' is given. Nothing is sent. With more than one Mail account, 'from' must say which one sends. Ask the user when it is not clear. If Mail is not running, applesauce opens it hidden in the background and leaves it open.
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": {
"subject": "<subject>",
"body": "<body>"
},
"name": "create_draft"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cc | No | Cc addresses. Each must contain @. | |
| to | No | To addresses. Each must contain @. | |
| bcc | No | Bcc addresses. Each must contain @. | |
| body | Yes | Plain text body. | |
| from | No | Sender: an account name, or one address of an account (from list_accounts). | |
| subject | Yes | Subject. | |
| attachments | No | Absolute paths of files to attach. At most 10 files, 25 MB for each file and 25 MB in all. Folders, app bundles and files in secret folders (~/.ssh, ~/Library/Keychains and similar) are refused. |