MCP: Posts and media
update_post
Change a scheduled post. Changes the content, media or time of a post not yet publishing. Its accounts stay the same.
TL;DR
| Question | Answer |
|---|---|
| What does it do? | Changes the content, media or time of a post not yet publishing. Its accounts stay the same. |
| Does it change anything? | Changes something; safe to repeat. |
| Which endpoint does it call? | PATCH /v1/posts/{id} |
| Which server? | https://mcp.flung.dev/mcp-oauth (sign in) or https://mcp.flung.dev/mcp (API key). |
Arguments
| Argument | Type | Required | Description |
|---|---|---|---|
postId | string | yes | A post id, such as post_... at least 1 character; at most 64 characters; pattern ^post_[a-z2-7]+$. |
content | string | no | at least 1 character; at most 10000 characters. |
publishAt | string | no | The new time, ISO 8601 with offset. pattern ^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d:[0-5]\d(?:\.\d+)?(?:Z|([+-](?:[01]\d|2[0-3]):[0-5]\d)))$. |
mediaIds | string[] | no | Replaces the post's files. |
Example call
json
{ "name": "update_post", "arguments": { "postId": "post_aaaaaaaaaaaaaaaaaaaaaaaa", "publishAt": "2026-11-03T09:00:00+10:00" }}Things a person might say
- "Move tomorrow's post to Friday at noon."
Annotations
| Hint | Value |
|---|---|
readOnlyHint | false |
destructiveHint | false |
idempotentHint | true |
openWorldHint | false |
See also
| Doc | Why |
|---|---|
| MCP tools | Every tool |
| Connect an AI agent | Install the server in your client |
PATCH /v1/posts/{id} | The same operation over HTTP |