update_draft
Replace a Gmail draft's contents with new recipient, subject, body, and attachments. Ideal for correcting or updating a draft before sending.
Instructions
Replace a draft's contents (Gmail replaces the whole message — pass all fields you want).
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": {
"draft_id": "<draft_id>"
},
"name": "update_draft"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| draft_id | Yes | ||
| to | No | ||
| subject | No | ||
| body_text | No | ||
| body_html | No | ||
| cc | No | ||
| bcc | No | ||
| attachments | No | ||
| sender | No | ||
| thread_id | No | ||
| account | No | ||
| password | No |