Skip to content
Connect an agent

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

QuestionAnswer
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

ArgumentTypeRequiredDescription
postIdstringyesA post id, such as post_... at least 1 character; at most 64 characters; pattern ^post_[a-z2-7]+$.
contentstringnoat least 1 character; at most 10000 characters.
publishAtstringnoThe 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)))$.
mediaIdsstring[]noReplaces 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

HintValue
readOnlyHintfalse
destructiveHintfalse
idempotentHinttrue
openWorldHintfalse

See also

DocWhy
MCP toolsEvery tool
Connect an AI agentInstall the server in your client
PATCH /v1/posts/{id}The same operation over HTTP