update_draft
Edit an existing Gmail draft without creating a new one: update only specified fields while keeping the reply thread, other content, and current attachments; the message stays unsent.
Instructions
Edits an existing draft instead of creating a new one. Only the fields you pass change; the rest, including the thread it answers and its current attachments, stays. It is still NOT sent.
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": {
"account": "<account>",
"draft_id": "<draft_id>"
},
"name": "update_draft"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cc | No | ||
| to | No | ||
| body | No | ||
| account | Yes | Email address or label of the account (see list_accounts). | |
| subject | No | ||
| draft_id | Yes | From list_drafts or create_draft | |
| attachments | No | Paths of local files to add | |
| keep_attachments | No | false drops the attachments the draft already has (default true) |