Skip to content

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-draft

Parameters

NameTypeRequiredDescription
idstringyesThe draft id.
baseVersionnumbernoThe version you read before editing.
subjectstringno—
bodyTextstringno—

Example

json
{
  "id": "<id>"
}