Create a draft
create_draftSave an email as a draft without sending it. Use when the user requests composing a message but does not explicitly ask for it to be sent.
Instructions
Save a draft without sending it. Use this whenever the user has not explicitly asked for the message to go out.
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": {
"account": "<account>",
"to": "<to>",
"subject": "<subject>",
"body": "<body>"
},
"name": "create_draft"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cc | No | Carbon-copy recipients. | |
| to | Yes | Recipients. Plain addresses or "Name <a@b.c>". | |
| bcc | No | Blind carbon-copy recipients. | |
| body | Yes | Message body. Plain text unless is_html is true. | |
| account | Yes | Configured account: the email address, or the alias given at setup. | |
| is_html | No | Send the body as text/html instead of text/plain. | |
| subject | Yes | Subject line. Non-ASCII is encoded automatically. | |
| thread_id | No | Attach to an existing thread. Prefer the "reply" tool for answering a message. |