gmail_update_draft
Update an existing Gmail draft by replacing its recipients, subject, and body. Provide the draft ID and all fields to overwrite the current draft content.
Instructions
Replace a draft's contents. Gmail rewrites the whole message, so pass every field, not only the changed one.
Args: draft_id: Draft to replace. to: Recipient address. subject: Subject line. body: Plain text body. cc: Carbon copy addresses. bcc: Blind carbon copy addresses.
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 | ||
| subject | Yes | ||
| draft_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |