Edit a post
edit_postChanges a post that already exists: its words, its pictures, the platforms it is for, or any combination. Pass only what changes; everything else stays. This is how you rewrite a draft or swap its image - do not write a second copy. Read it with get_post first when you are changing the words, since you cannot rewrite what you have not read. Works on drafts and on posts that are scheduled but have not gone out; a published post cannot be edited here.
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": {
"postId": "<postId>"
},
"name": "edit_post"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | No | New words. Leave out to keep what is there. | |
| title | No | Internal title, never published. | |
| postId | Yes | The post, by id or by the number shown to the user (#2). | |
| mediaIds | No | Replaces the pictures or video. Pass an empty list to take the media off entirely. | |
| variants | No | Per-platform changes, keyed by platform (facebook, instagram, x, linkedin, tiktok, youtube). Only the platforms and fields named change; the rest stays. | |
| platforms | No | Which platforms it is for, if that is changing. |