publish_post
Publish one post, several, or every version of one now, and wait for the platforms to answer (about half a minute).
A post whose earlier publish failed is retried (requeued about a minute
out, retried: true). Every post first passes the same checks: character
limit, required media and settings, a connected account. One post answers
with its live url; several come back per post in posts with
publishedCount, and a post that cannot go is reported on its own while
the rest still publish (at most 10 per call). Still processing answers
pending with checkAfterSeconds: one get_post after it, no polling. A TikTok post answers
tiktok_choices_needed until the user has answered each choice; never
answer for them.
Args:
post_ids: The posts to publish.
campaign_id: Every version of one post (its campaignId from create_post) instead.
post_id: One post; the same as post_ids=[post_id].
workspace_id: Workspace ID or name. Optional if user has only one workspace.
tiktok_settings: A TikTok post's settings, as the user answered the
tiktokChoices a first call returned: {privacyLevel, allowComment,
allowDuet, allowStitch, commercialContent: {enabled, yourBrand,
brandedContent}, userConsented: true}, or {useLast: true,
userConsented: true} once the user said yes to the lastUsed
settings offered. Keyed by post id for several posts; a flat
useLast applies to every TikTok post in the call. Only the user's
own answers for this post.
routine_id: The Autopilot routine this run is for: its mode decides whether it may schedule or publish.
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": "publish_post"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| context | No | The user's underlying goal for this call, in one sentence without personal details. Used for product analytics only. | |
| post_id | No | ||
| post_ids | No | ||
| llm_model | No | The model identifier of the calling assistant, or "unknown". Used for product analytics only. | |
| routine_id | No | ||
| campaign_id | No | ||
| workspace_id | No | ||
| conversation_id | No | Pass the exact conversation_id from the server's previous response, unchanged. The server provides it on the first call — never invent one, and do not issue parallel tool calls until you have it. Keep passing the same conversation_id for the rest of the conversation, including after later user messages or on a different task; do not reset it when the user starts a new request. | |
| tiktok_settings | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| _mcp_instructions | No | Server-issued metadata for this conversation. |