gmail_create_draft
Create a Gmail draft in any connected account, for review or later sending. Supports to/cc/bcc, plain text or HTML, and reply threading.
Instructions
Create a draft email. The draft can be reviewed, updated, and sent later. Requires compose or full scope.
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": {
"accountId": "<accountId>",
"to": "<to>",
"subject": "<subject>",
"body": "<body>"
},
"name": "gmail_create_draft"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cc | No | CC email address(es), comma-separated for multiple | |
| to | Yes | Recipient email address(es), comma-separated for multiple | |
| bcc | No | BCC email address(es), comma-separated for multiple | |
| body | Yes | Email body (plain text, or HTML when bodyFormat="html") | |
| subject | Yes | Email subject | |
| threadId | No | Thread ID to reply in (for continuing a conversation) | |
| accountId | Yes | The Google account ID, alias, or email | |
| inReplyTo | No | Message-ID of the message being replied to | |
| bodyFormat | No | Body content type. "text" (default) sends as text/plain with RFC 3676 format=flowed so clients reflow paragraphs instead of rendering hard wraps. "html" sends as text/html for HTML-formatted bodies. | |
| references | No | References header for threading |