Update draft
update_draftModify a draft's subject, body, importance or recipients before sending. Recipient lists replace existing ones, and an empty list clears them.
Instructions
Change a draft's subject, body, importance or recipients. Recipient lists replace the existing ones; an empty list clears them.
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": {
"id": "<id>"
},
"name": "update_draft"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cc | No | Cc recipients: email addresses, either "jane@contoso.com" or "Jane Doe <jane@contoso.com>" | |
| id | Yes | Draft ID | |
| to | No | Recipients: email addresses, either "jane@contoso.com" or "Jane Doe <jane@contoso.com>" | |
| bcc | No | Bcc recipients: email addresses, either "jane@contoso.com" or "Jane Doe <jane@contoso.com>" | |
| body | No | Message body | |
| subject | No | Subject line | |
| bodyFormat | No | Body format: "text" (default) or "html" | |
| importance | No | Message importance |