update_draft
Update an existing email draft by modifying only the fields you pass, leaving all other content unchanged. Ideal for autosave-friendly edits.
Instructions
Partially update a draft (autosave-friendly) - only fields you pass are changed.
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": {
"domain": "<domain>",
"localPart": "<localPart>",
"id": "<id>"
},
"name": "update_draft"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Draft id, from list_drafts | |
| to | No | ||
| html | No | ||
| text | No | ||
| domain | Yes | A domain, e.g. example.com | |
| subject | No | ||
| localPart | Yes | The part before @, e.g. "hello" for hello@example.com |