Update email draft
mail_draft_updateUpdate an existing email draft by providing the current revision, preventing older actions from overwriting newer content. Edit recipients, subject, body, or attachments without sending.
Instructions
Use this to edit an existing prepared draft. The current revision is required so an older agent action cannot overwrite newer content. It does not send email.
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": {
"draftId": "<draftId>",
"revision": "<revision>"
},
"name": "mail_draft_update"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cc | No | ||
| to | No | ||
| bcc | No | ||
| draftId | Yes | ||
| subject | No | ||
| bodyHtml | No | ||
| bodyText | No | ||
| revision | Yes | ||
| attachments | No |