List platform rules
list_platformsWhat each supported platform accepts: how many characters a post may carry, how many attachments a block may have, how long a thread may be, whether media is mandatory, and which per-platform options exist.
Some platforms publish more than one KIND of thing, and postTypes is where they say so — an Instagram Story is not a post with a flag on it, it is a different publication with its own limits: one attachment against ten, no caption at all, a video capped at a minute rather than fifteen, and none of the options a post there has. Each entry carries its own complete limits, so compose against THOSE rather than against the ones at the top, and send the entry’s key as channels[].postType. An empty postTypes is the ordinary case and means there is nothing to choose.
Some rules differ by what the FILE is, and limits.media.perKind is where they are — a picture, a clip and a PDF can each have their own size ceiling and their own count, and a kind marked alone may not share a post with any other kind. Reading maxMedia alone will have you attach a video beside four photos on a platform that publishes one or the other.
READ THIS BEFORE COMPOSING, and read it again rather than remembering it. These numbers are served live from the same declarations create_post validates against, and they change without notice. A draft written against a remembered limit is refused at the last moment, when the user is watching.
PASS platforms with the ones you actually need — the platforms of the channels list_channels gave you. Every platform at once is a large document, and asking for all twelve to compose for two is how you run out of room for the post itself. Omit it only when you genuinely need the whole set, such as answering what a platform allows before anyone has connected it.
Describes the platforms, not what this workspace has connected — that is list_channels.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "list_platforms"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| platforms | No | Describe only these platforms, by the `platform` a channel reports. Omitted, every platform is described. |