Create a submission
create_postCreate ONE submission going to as many channels as you list. Calling this once per channel is the most common way to get this wrong: it produces that many unrelated submissions, each with its own id and its own schedule, and the user sees a duplicate for every account.
There is no shared "text" field. Each channel carries its own blocks, so sending the same words to four channels means writing them four times — and tailoring one to LinkedIn costs nothing extra.
If the platform lists postTypes, decide which kind of thing this is BEFORE writing anything and send it as channels[].postType. Composing against the platform’s default and adding the type afterwards is how a submission gets refused for four reasons at once — the caption, the second attachment, the thread and the option all belong to a different kind of post.
blocks is a chain: one entry is an ordinary post, more than one is a thread, and only on platforms whose maxBlocks allows it AND channels whose continuationStatus is available. Check list_platforms and list_channels first — for those, for the character count, and for whether the platform demands media at all.
Describe every image you attach. mediaAltText on a block maps a media id to what the picture shows, for a reader who cannot see it, and it is accepted whatever the channel — list_platforms says which platforms actually publish it. Say what is in the frame, not that it is a picture. Skip it only for a file the library already describes (altText on list_media), which is the description that publishes when you send none.
mediaUserTags tags PEOPLE on an attachment, and is the one field beside it that is refused rather than ignored on the wrong channel: a handle is an account on one platform and the same characters are somebody else on the next. Send it only where list_platforms gives that channel a userTags rule, and read the rule before writing one — it says how many one attachment takes, which kinds of file take any, and whether each tag needs x/y (fractions of the picture from its left and top edges, both or neither). Never invent a handle or a position: tag someone only when the user named them, and place them only where the user said, because a handle that resolves to nobody publishes as a post that tags nobody and says so nowhere.
intent is draft (store it, publish nothing), schedule (needs scheduledAt, ISO 8601, in the future) or now. now is asynchronous: this returns publishing, and get_post is where you learn whether it went out. Do not report a post as published on the strength of this result.
tagIds files the submission under the workspace’s own labels. Call list_tags for the ids and use only what is there — an id that does not exist is refused, and this server cannot create a tag. A tag is not a hashtag and never reaches a platform; a hashtag is characters in a block’s content.
Validation is all-or-nothing: if anything is refused, nothing was created, and the error names the exact field. Pass an idempotencyKey and reuse it verbatim if you retry — without one, a retry after a timeout schedules the post a second time.
Read the channels in the result before reporting success. Scheduling is per channel, so a submission can come back with most channels fine and one reading failed with a reason — that is a result, not an error, and calling this again would duplicate the channels that worked. Send the submission back through update_post instead.
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": {
"post": "<post>"
},
"name": "create_post"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| post | Yes | ||
| idempotencyKey | No | A key of your choosing that makes this call safe to retry: retrying with the SAME key replays the first outcome instead of doing the work twice. Reuse it verbatim on a retry, and never reuse it for a different request. |