create_draft
Creates a new message, reply, reply-all, or forward draft in Mail for review without sending. Add recipients, attachments, signatures, or templates; merge creates one draft per recipient.
Instructions
Write a new message, reply, reply-all or forward and open it in Mail as a draft for the user to review. Never sends. Optional: from (another of the user's addresses), a Mail signature, files to attach, a template with its fields; merge makes one draft per recipient from a template.
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": {
"mode": "<mode>"
},
"name": "create_draft"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cc | No | ||
| id | No | Message to reply to or forward (required except for "new"). | |
| to | No | Recipients for "new" and "forward". Replies go to the original sender(s). | |
| bcc | No | ||
| body | No | Plain-text body you wrote. For replies the quoted original is added below; with a template, it comes before the template's text. | |
| from | No | Send from this address: one of the user's accounts' addresses (or aliases) in Mail. | |
| mode | Yes | "new", "reply", "reply_all" or "forward". | |
| merge | No | With mode "new" and a template: one draft per address in to (up to 100), each filled in for its recipient, saved in Drafts without opening a window each. | |
| fields | No | Values for the template's fields, e.g. {"ref": "F-12"}. | |
| subject | No | Subject for "new" (replies and forwards keep Mail's subject). | |
| template | No | A template kept with save_template: its subject and text, its {{fields}} filled in. | |
| signature | No | A signature made in Mail, by name (list_templates lists them). | |
| attachments | No | Files to attach, by full path, from the user's Desktop, Documents or Downloads, or Timbre's attachments folder (where save_attachment puts files). Up to 10, 25 MB each. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cc | No | ||
| to | Yes | ||
| bcc | No | ||
| from | No | The sender, when one was asked for. | |
| note | Yes | ||
| failed | No | ||
| status | Yes | ||
| subject | Yes | ||
| attachments | No | The files attached. | |
| drafts_saved | No | With merge: the drafts saved, and those that were not. |