Edit a post that hasn't gone out
update_postChange a draft, scheduled, failed or unapproved post instead of cancelling and recreating it. Fields left out keep their value, and the new values pass the same checks as create_post. create_post makes one post per network, so edit each id. A scheduledAt on a draft or failed post schedules it. A post that is out can't be edited here; it has to be changed on the network. For the first comment, use set_first_comment. Off by default: the organization's owner must turn on AI editing in Organization settings, otherwise this is refused.
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": {
"id": "<id>"
},
"name": "update_post"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | The post id from create_post or list_posts. | |
| media | No | Replaces all the post's media: mediaId values from upload_media or upload_file. Empty removes it. | |
| caption | No | The new caption. A line containing only "---" splits it into a thread. | |
| topicTag | No | Threads only: as in create_post. "" removes it. | |
| visibility | No | As in create_post. | |
| scheduledAt | No | ISO 8601, in the future. | |
| organizationId | No | Which organization to act in: an id from list_organizations. Leave out for this connection's default organization. |