Mail Update Draft
mail_update_draftRevise an existing Gmail draft in place by changing only specified fields; omitted fields keep stored values. It never sends the draft and requires user confirmation.
Instructions
Revise a draft in place. Does NOT send. Requires user confirmation before calling.
Pass only the fields to change; omitted fields keep their stored values.
cc=[] clears Cc, attachments=[] removes all attachments, a list of
paths replaces them, and omitting attachments keeps the stored ones.
The draft keeps its draft_id. It is rewritten as plain text: formatting
added in Gmail is not kept, and an HTML-only draft needs an explicit body.
Returns dict with keys: draft_id, message_id, thread_id, to, cc,
subject, warning (always null for this tool).
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": "mail_update_draft"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cc | No | ||
| to | No | ||
| body | No | ||
| subject | No | ||
| draft_id | Yes | ||
| attachments | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||