Tool
update_draft
Edit a draft
SurfacesChat agentMCPCLI
Edit an existing draft (compare-and-swap on baseVersion to avoid clobbering concurrent edits). Pass the draft id, the baseVersion you last saw, and the fields to change.
CLI: tinbox update-draftParameters
| Name | Type | Required | Description |
|---|---|---|---|
id | string | yes | The draft id. |
baseVersion | number | no | The version you read before editing. |
subject | string | no | — |
bodyText | string | no | — |
Example
json
{
"id": "<id>"
}