Update draft
update_draftEdit a draft or scheduled post's title, subtitle, body, or audience while leaving other fields unchanged; published posts return an error.
Instructions
Change the title, subtitle, body or audience of a draft.
Changes the fields you pass and leaves the others as they are. body_markdown replaces the whole body. Drafts and scheduled posts only: a published post returns an error. Nothing reaches your subscribers, so it runs without asking.
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": {
"post_id": "<post_id>",
"fields": "<fields>"
},
"name": "update_draft"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fields | Yes | JSON object with any of title, subtitle, body_markdown, audience, e.g. {"title": "New title"}. | |
| post_id | Yes | Post ID from list_posts. |