create_draft
Create a draft email in a specified Gmail account with recipients, subject, body, attachments, and threading options for replies.
Instructions
Create a draft email in one account (account 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>",
"to": "<to>",
"subject": "<subject>",
"body": "<body>"
},
"name": "create_draft"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cc | No | Optional CC list. | |
| to | Yes | Recipient email address(es). | |
| bcc | No | Optional BCC list. | |
| body | Yes | Email body. | |
| html | No | Set true to send body as text/html. | |
| account | Yes | Account id. | |
| subject | Yes | Email subject. | |
| thread_id | No | Optional Gmail thread ID. When set, the draft is created as a reply in that thread. | |
| references | No | Optional RFC 2822 References header value for threading. | |
| attachments | No | Optional local file attachments. | |
| in_reply_to | No | Optional RFC 2822 Message-ID of the email being replied to. Sets the In-Reply-To header for proper threading. |