gmail_draft_compose
Compose a Gmail draft that the owner reviews and sends manually. Provide subject, body, and optional recipient, then receive a draft URL to open in Gmail.
Instructions
Create a Gmail draft. Draft-only — this server has no send capability. The owner reviews the draft in Gmail and sends it themselves.
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": {
"subject": "<subject>",
"body": "<body>"
},
"name": "gmail_draft_compose"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | Recipient email address. Leave empty if unknown — the owner fills it in when reviewing the draft. | |
| body | Yes | Email body, plain text | |
| subject | Yes | Email subject line | |
| accessToken | No | Gmail OAuth 2.0 access token. Falls back to GMAIL_ACCESS_TOKEN env var. |