gmail_update_draft
Replace an existing Gmail draft's recipients, subject, body, and attachments, with optional HTML formatting for audited edits.
Instructions
Replaces a Gmail draft (recipients, subject, body, attachments). Supports HTML via is_html. Audited.
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>",
"to": "<to>",
"subject": "<subject>",
"body": "<body>"
},
"name": "gmail_update_draft"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cc | No | ||
| to | Yes | ||
| bcc | No | ||
| body | Yes | ||
| is_html | No | ||
| subject | Yes | ||
| draft_id | Yes | ||
| thread_id | No | ||
| attachments | No | Local file paths to attach (max 5) |