create_draft
Draft a new email without sending it. Optionally reply to an existing message to keep the draft in the same thread, auto-filling recipients and subject.
Instructions
Create a draft email (not sent). Returns the draft id. Give reply_to_message_id to draft a reply that sits inside the original's thread: recipient, subject, In-Reply-To, References and the thread id are taken from that message, so 'to' and 'subject' become optional overrides. Without it, 'to' and 'subject' are required.
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 | ||
| html | No | ||
| account | Yes | Email address of the authorized Gmail account to act on. | |
| subject | No | ||
| from_addr | No | From address for the draft, e.g. a shared alias like support@yourcompany.com. Must be a verified send-as alias on this account, otherwise Gmail rewrites it to the account address when the draft is sent. Defaults to the account address. | |
| reply_all | No | With reply_to_message_id: put the original's other recipients in Cc. | |
| reply_to_message_id | No | Gmail id of the message being answered; the draft joins its thread. |