create_draft
Saves a plain-text email draft to the account's server-side Drafts folder without sending, optionally as a threaded reply with In-Reply-To and References set.
Instructions
Save a plain-text draft in the account's server-side Drafts folder (nothing is sent).
With reply_to_uid (in reply_folder) it becomes a reply: In-Reply-To/References are set, and
'to' and 'subject' default to the original's Reply-To/From and 'Re: <subject>'. When the recipient
comes from a Reply-To that is not the sender, the result says so (reply_to_differs_from_sender,
warnings). Refused where allow_draft = false.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>",
"body": "<body>"
},
"name": "create_draft"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cc | No | ||
| to | No | ||
| bcc | No | ||
| body | Yes | ||
| account | Yes | ||
| subject | No | ||
| reply_folder | No | INBOX | |
| reply_to_uid | No |