gmail_draft
Draft email messages for a specified Gmail account with recipient details, subject, body, attachments, and content formatting options.
Instructions
Draft an email using a specific Gmail account.
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": {
"email": "<email>",
"to": "<to>",
"subject": "<subject>",
"body": "<body>"
},
"name": "gmail_draft"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cc | No | CC recipients. Multiple addresses can be comma-separated. | |
| to | Yes | Recipient email address. Multiple addresses can be comma-separated. | |
| bcc | No | BCC recipients. Multiple addresses can be comma-separated. | |
| body | Yes | Body content of the email. | |
| Yes | The Gmail address to draft the email from. | ||
| subject | Yes | Subject of the email. | |
| attachments | No | Files to attach to the email. | |
| contentType | No | Content format: 'text' (plain text, default), 'markdown' (converted to HTML), or 'html' (raw HTML). |