update_post
Edit a draft or scheduled post to change its text, media, schedule, or target accounts. Pass the complete desired account set when replacing connections.
Instructions
Edit an existing draft or scheduled post — change its text, media, schedule, or which accounts it posts to. Only drafts and not-yet-published scheduled posts can be edited. IMPORTANT: "connections" is a FULL REPLACEMENT of the target accounts, not a delta — to add or remove one account, pass the complete desired set of slugs (use list_posts / list_connections first to see the current ones).
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": "update_post"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | No | New caption/body text | |
| title | No | New title | |
| postId | Yes | The draft or scheduled post ID (from list_posts) | |
| mediaIds | No | Media library IDs to attach (replaces current media) | |
| connections | No | FULL set of connection slugs the post should go to (replaces the current set) | |
| description | No | New description | |
| scheduledAt | No | New ISO 8601 schedule time. For a scheduled post this must be in the future. | |
| firstComment | No | First comment text (e.g. hashtags) | |
| contentFormat | No | Content format override |