Draft email
create_gmail_draftDraft an email in Gmail to anyone ('draft an email to jane@acme.com about X'). Nothing is sent. Chat shows the draft as a card with the recipients, subject and body, and Open in Gmail opens it as a Gmail draft, filled in, for the user to review and send. Works with or without a connected mailbox. Write a specific subject and a plain-text body in the user's voice: short paragraphs separated by a blank line, '- ' for a list, no markdown emphasis or headings. Use this whenever the user wants an email written to someone else; send_email remains only for mailing the user their own address.
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": {
"to": "<to>",
"subject": "<subject>",
"body": "<body>"
},
"name": "create_gmail_draft"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cc | No | Optional cc address(es), comma-separated. | |
| to | Yes | The recipient's email address (comma-separate several). | |
| body | Yes | The plain-text body of the draft. | |
| account | No | Email address of the connected mailbox to create the draft in. Omit to use the first connected mailbox. | |
| subject | Yes | The email subject line. |