edit draft
edit_draftReplace the full text of one Brand studio draft with the user's edit, naming the draft by its topic or opening words as list_brand_posts shows them. Use create_draft for a new draft. Every claim is checked against the profile again. It asks the user first; a scheduled draft keeps its time, and Compass OS never posts. If the draft changed in Brand studio meanwhile, nothing is saved and the reply says to read it again with list_brand_posts. Once it's saved, undo can put it back within 24 hours.
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": {
"draft": "<draft>",
"text": "<text>"
},
"name": "edit_draft"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | The draft's whole new text, at most 3000 characters | |
| draft | Yes | Which draft: its topic, or its opening words, as list_brand_posts shows them |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | The answer, or what was done, in plain words for the user: the same text as content | |
| undo | No | On a saved write: its undo handle, for undo within 24 hours | |
| widget | No | The card the host draws with it, e.g. "pipeline"; "confirm" means a write waits for the user's Yes and nothing is saved yet |