> ## Documentation Index
> Fetch the complete documentation index at: https://docs.solaraai.com/llms.txt
> Use this file to discover all available pages before exploring further.

# prepare_publish

> Solara AI MCP tool: Ask the person to approve a post (nothing is posted)

Use this to post or schedule a video: it asks the person, who watches the file and approves or cancels in Solara, signed in. Call it directly: it checks the export and the accounts itself and says what is missing (not\_exported: export\_video first; a platform not connected). A video from create\_post\_from\_upload needs no export. Always pass caption: the person's own as they wrote it, else one you write from the video's words (get\_preview); "" only when they asked for none. It returns approval\_link: give it to the person with the caption, in one message. You cannot post or approve yourself. Then call get\_publish\_status: it waits for the person's answer. Set instagram\_trial for an Instagram trial reel, comments for a first comment under it. A video can be posted several times, each post with its own time, platforms and caption: one request per post. To post it on different days per platform (TikTok today, LinkedIn next week), prepare one request for each. A new request adds a post: it never moves or changes one already scheduled, and the answer lists those (summary.other\_posts): say in the message with the link that this one comes beside them. It replaces a request still waiting for the person that shares a platform with it, whatever its time (asked again at another time or with another caption: prepare it again, nothing to withdraw first); requests with no platform in common wait side by side, at most 5 for a video. Each request waits for the person; it lasts until its expires\_at (24 hours, or its publish\_at when sooner) and lapses if the video is edited or exported again. A post with no video is prepare\_text\_post. For a week of posts (several videos), prepare each, then give the person review\_link once: one page to approve them all. YouTube posts a Short: pass youtube (title, privacy, made\_for\_kids). Pinterest saves a Pin: pass pinterest with a board\_id from list\_pinterest\_boards. google\_business adds the video to the Business Profile as its video (up to 30 seconds and 75 MB, 720p or more), not a post. With x the caption is at most 280 characters (a link counts 23), with bluesky 300, with threads or pinterest 500. X, Threads and Bluesky post every comment, in order, as a thread. linkedin posts as the person's own LinkedIn profile, linkedin\_page as their company's LinkedIn Page (the Page they chose in Solara): when they only say LinkedIn, ask which. A platform not on for the workspace is refused: tell the person. A platform can have its own caption and comments (captions\_by\_platform, comments\_by\_platform): the answer says what each customised platform posts (summary.platform\_overrides). X takes 280 characters (a link counts 23, an emoji 2): with x beside other platforms and a caption you wrote longer than that, give X a short one of its own (captions\_by\_platform.x); for X alone, write a short caption. A caption the person gave that is too long for X: ask them whether to shorten it or to give X a shorter one; never shorten theirs without asking, and never send X the long one (it is refused, naming captions\_by\_platform.x). If the person turned on auto-approval in Solara, it is approved as you prepare it: the answer says auto\_approved and its status (approved, or scheduled for publish\_at). Then tell them it is going out, and when, and send no approval link. Past 10 such posts a day it waits instead, with a note: give them the link.

> [!NOTE]
>
> Coming soon: auto-approval, where the person lets AI agents post without asking, opens at launch.

| | |
| - | - |
| Permission | Ask to post (`mcp:publish`) |
| Read-only | No |
| Safe to repeat | No |
| Overwrites, spends or posts | Yes |
| Reaches outside Solara | Yes |

## Inputs

| Name | Type | Required | Description |
| - | - | - | - |
| `video_id` | UUID | Yes | The video's id, from create\_video. |
| `platforms` | string\[] | Yes | Where to post it. Each one of `facebook`, `instagram`, `tiktok`, `linkedin`, `youtube`, `x`, `threads`, `pinterest`, `linkedin_page`, `bluesky`, `google_business`. 1 to 11 items. |
| `formats` | map of string\[] | No | |
| `publish_at` | date-time | No | Absent: now. Set: schedule for this time (UTC, future). ISO 8601, in UTC. |
| `caption` | string | Yes | Required: the text that posts with it on every platform, plain text (no HTML), at most 2,200 characters; the person approves it as it is. They gave you one: pass it exactly as they wrote it. They asked for no caption: "". Otherwise write a short one yourself, in their language, from what the video says (get\_preview's transcript\_words; a video from create\_post\_from\_upload: its title and what the person told you about it): a first line that makes people stop (Instagram shows about 125 characters), a line or two more, then 1 to 3 hashtags that fit. Tell them the caption with the approval link. |
| `instagram_trial` | string | No | Post to Instagram as a trial reel: shown to people who do not follow the account first. manual: the person shares it to their followers later, in Instagram. auto: Instagram shares it to followers if it performs well. Needs instagram in platforms. Absent: an ordinary post. One of `manual`, `auto`. |
| `comments` | object\[] | No | A first comment under the post once it is live, if the person asked for one (a link, a question, a call to action): Instagram, Facebook, LinkedIn and YouTube post it under the post (YouTube once the Short is processed, from a channel that allowed comments, never on a private Short or one made for kids; on Instagram and YouTube a link shows as plain text, so suggest a question there), X, Threads and Bluesky as a reply; TikTok and stories none (refused when no platform takes it). More than one only where a platform posts them as a thread. At most 1,250 characters with LinkedIn, 2,200 with Instagram. Absent: none, except that a video's request keeps the video's own; the answer's summary.comments is what will go out. 1 to 10 items. |
| `comments[].text` | string | Yes | The comment, plain text (no HTML); may be empty with a link. At most 2200 characters. |
| `comments[].link` | string | No | A link posted after the text: an https link. At most 2048 characters. |
| `tiktok` | object | No | With tiktok: what TikTok does, if the person said. drafts sends it to their TikTok inbox to finish (and add a sound); direct posts it, with who can watch. Absent: the video's own choice. |
| `tiktok.mode` | string | Yes | drafts: TikTok sends it to the person's TikTok inbox, where they finish the post and can add a trending sound. direct: it posts on its own, with who can watch. One of `drafts`, `direct`. |
| `tiktok.privacy_level` | string | No | direct only, required there: who can watch (everyone, friends, followers, only them). Ask the person; never choose for them. A level the account doesn't offer is refused, naming the ones it does. One of `PUBLIC_TO_EVERYONE`, `MUTUAL_FOLLOW_FRIENDS`, `FOLLOWER_OF_CREATOR`, `SELF_ONLY`. |
| `tiktok.allow_comment` | boolean | No | direct only: people may comment. |
| `tiktok.allow_duet` | boolean | No | direct video only: people may Duet it. |
| `tiktok.allow_stitch` | boolean | No | direct video only: people may Stitch it. |
| `tiktok.brand_organic` | boolean | No | direct only: it promotes the person's own business (TikTok labels it Promotional content). |
| `tiktok.branded_content` | boolean | No | direct only: a paid partnership with another brand (TikTok labels it Paid partnership); never SELF\_ONLY. |
| `youtube` | object | No | Required with youtube, which posts the video as a Short (vertical or square, at most 3 minutes): its title, who can watch and whether it is made for kids. The caption is its description. |
| `youtube.title` | string | Yes | The Short's title on YouTube, 1 to 100 characters, no \< or >: the person's, else one you write from what the video says. At most 100 characters. |
| `youtube.privacy` | string | Yes | Who can watch: public, unlisted (anyone with the link) or private. public unless the person said. One of `public`, `unlisted`, `private`. |
| `youtube.made_for_kids` | boolean | Yes | Whether the video is made for kids: YouTube requires every upload to say. Ask the person when they have not said; never assume either answer. |
| `threads` | object | No | With threads, when the person named a topic. Absent: none. |
| `threads.topic_tag` | string | Yes | The post's topic on Threads, without #: 1 to 50 characters, no period or ampersand. At most 50 characters. |
| `pinterest` | object | No | Required with pinterest: the board the person named, and the Pin. The caption is its description. |
| `pinterest.board_id` | string | Yes | The board the Pin is saved to: its board\_id from list\_pinterest\_boards. Never guess one. |
| `pinterest.title` | string | No | The Pin's title, at most 100 characters. At most 100 characters. |
| `pinterest.link` | string | No | Where the Pin leads, if the person gave one: an https link. The person sees it in full. At most 2048 characters. |
| `pinterest.alt_text` | string | No | What the image shows, for people who cannot see it, at most 500 characters. At most 500 characters. |
| `captions_by_platform` | map of string | No | A platform's own caption, keyed by platform (one of platforms), when one caption does not fit every platform or the person wants it different there: a short X caption beside a long LinkedIn one, hashtags only on Instagram and TikTok. A platform named here posts its own caption instead of caption, and its own comments (comments\_by\_platform, else a copy of comments); caption stays the one every other platform posts. X takes 280 characters, Instagram and TikTok 2,200, LinkedIn 3,000. Absent: every platform posts caption. |
| `comments_by_platform` | map of object\[] | No | A platform's own comments, keyed by platform (one of platforms): an X thread of its own, a LinkedIn first comment of its own, \[] for none there. More than one only where it posts a thread (X, Threads and Bluesky). That platform's caption is its own too (captions\_by\_platform, else a copy of caption). Absent: every platform posts comments. |

A refusal is a result with `isError: true` and `structuredContent.error` = `{code, message, next}`: see [Limits and errors](https://docs.solaraai.com/guides/limits-and-errors.md).


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.