Tool
update_draft
Edit a draft
SurfacesChat agentMCPCLI
Edit an existing draft with compare-and-swap baseVersion. Use get_draft first to review its complete body and saved followUp. Omit followUp to preserve it, pass {afterDays,body} to replace it, or explicit null to remove it. Editing never sends or schedules a timer. On conflict, read again and reconcile rather than blindly retry.
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 | — |
followUp | one of | no | Omit to preserve the saved plan; {afterDays,body} replaces it; explicit null clears it. Draft body may be unfinished; actual send validates strictly. |
▸expand followUp
| |||
Example
json
{
"id": "<id>"
}