Update draft
update_draftPatch a draft; pass jmap_state from the last write for optimistic concurrency (draft_conflict when it moved).
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": {
"identity_id": "<identity_id>",
"draft_id": "<draft_id>"
},
"name": "update_draft"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cc | No | ||
| to | No | ||
| bcc | No | ||
| html | No | ||
| text | No | ||
| subject | No | ||
| draft_id | Yes | ||
| jmap_state | No | ||
| identity_id | Yes | Identity id from list_identities. |