Update post
update_postEdit the caption and/or media of a DRAFT (created in the Flomixy app or through the API) or of a post created through the API that is not yet published, and/or set or change the first comment (and its delay) and, on THREADS targets, the topicTag (null removes it) of individual existing targets via targets. Scheduled or published posts created in the app are refused (403), published posts cannot be edited (409) and a published first comment is locked. Needs the POSTS_WRITE scope and a member allowed to edit posts (posts:edit). On a WORDPRESS target the article fields (title, contentHtml/contentMarkdown, excerpt, slug, categories, tags, wpStatus, featuredImage, featuredImageAlt) can be edited the same way, only the ones you send change; once the article is published, any such edit is refused (409). Approval and the set of targets cannot be changed. Optional recyclingEnabled (+ recyclingIntervalDays/MaxRepeats/ExpiresAt) toggles Evergreen recycling and, unlike caption/media, works on an already-published post; requires the POSTS_RECYCLE scope.
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. | |
| caption | No | New caption. The limit depends on the targeted networks. | |
| targets | No | Existing targets whose first comment to set/update (per-target firstComment / firstCommentDelayMinutes), or whose WORDPRESS article fields (title, contentMarkdown, featuredImage, ...) to edit. | |
| mediaUrls | No | New media URLs (http/https only). | |
| mediaTypes | No | New media types. | |
| recyclingEnabled | No | Evergreen: toggle re-drafting this post every recyclingIntervalDays once (or after) it is PUBLISHED. Unlike caption/media, this can be set on an already-published post. Requires an API key with the POSTS_RECYCLE scope (403 otherwise). | |
| recyclingExpiresAt | No | Stop recycling after this instant (ISO 8601 with time zone); must be in the future. Omit for never. | |
| recyclingMaxRepeats | No | Stop recycling after this many re-drafts. Omit for unlimited. | |
| recyclingIntervalDays | No | Days between recycles. Required when enabling and the post has no interval stored yet. |