Update Post
autoposter_update_postEdits an existing draft, scheduled, pending_approval or declined post in place: text, title, visibility, media, first comment / thread, or schedule time. Only the fields you pass change. Posts already published or being processed cannot be edited. If the API key cannot publish directly, an edited scheduled post goes back to pending_approval.
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": "autoposter_update_post"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| title | No | Optional title. Used by YouTube, Pinterest and WordPress; ignored elsewhere. | |
| postId | Yes | The post ID from autoposter_list_posts. | |
| content | No | New post text. | |
| mediaIds | No | New ordered list of media IDs from autoposter_list_media. Replaces the current media; [] removes all. | |
| timezone | No | Optional IANA timezone for scheduledAt. Defaults to the post's timezone, then UTC. | |
| visibility | No | Optional audience for TikTok posts (default PUBLIC_TO_EVERYONE). Ignored on other platforms. | |
| scheduledAt | No | New ISO timestamp or local datetime, e.g. '2026-10-05T14:00:00'. Must be in the future. | |
| firstComment | No | Optional first comment posted on the post right after it publishes (e.g. links or hashtags). Supported on platforms with comment support such as X, Facebook, Instagram, LinkedIn, Threads, Bluesky, Mastodon, Telegram, Discord. | |
| threadComments | No | Optional thread: follow-up texts posted in order after publishing, each replying to the previous one. If firstComment is also set, these come after it. On X this makes a tweet thread. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| postId | Yes | Post ID. | |
| status | Yes | Post state after the update. | |
| message | No | Status message. | |
| success | Yes | Whether the post was updated. | |
| scheduledAt | No | Scheduled time in UTC. |