Update post
update_postUpdates an existing post's text, network, or media, preserves scheduled time, and supports replacing or removing media; published posts cannot be changed.
Instructions
Changes a post's text, network or media. A scheduled post keeps its time. media_urls replaces all current media; remove_media=true removes it. A published post cannot be changed. A non-empty not_done says what did not happen, for example that the post is now an unscheduled draft.
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>",
"idempotency_key": "<idempotency_key>"
},
"name": "update_post"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| account | No | ||
| caption | No | ||
| network | No | ||
| post_id | Yes | The post's id, from list_posts or get_recording. | |
| account_id | No | ||
| media_urls | No | ||
| remove_media | No | ||
| idempotency_key | Yes |