CLI command
tinbox update-draft
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.
Generated from tool: update_draftUsage
sh
tinbox update-draft --id <id> --baseVersion <baseVersion> --subject <subject> --bodyText <bodyText> --followUp <followUp>Flags
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
--id | string | yes | — | The draft id. |
--baseVersion | string | yes | — | The version you read before editing. |
--subject | string | yes | — | subject |
--bodyText | string | yes | — | bodyText |
--followUp | string | yes | — | Omit to preserve the saved plan; {afterDays,body} replaces it; explicit null clears it. Draft body may be unfinished; actual send validates strictly. |