> ## 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_photo_post

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

Use this to post or schedule images the person gave you: one photo, an Instagram, Facebook, LinkedIn, X, Threads, Pinterest or Bluesky carousel, or a TikTok photo post (a slideshow of 2 or more); Google Business Profile takes one photo a post. Upload each image first (start\_image\_upload, finish\_image\_upload). It asks the person, who sees the images, caption, accounts and time and approves or cancels in Solara, signed in; it checks the images and accounts itself and says what a platform refuses (Instagram takes 10 images in a carousel, Facebook and LinkedIn 20, TikTok 35). Always pass caption: the person's own as they wrote it, else one you write; "" 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. With tiktok, say what TikTok does: ask the person (drafts, or posted directly and who can watch). At most 10 photo posts wait for the person at a time. A video is prepare\_publish; text alone prepare\_text\_post. X and Bluesky take at most 4 images, Threads 20, Pinterest 5 (pass pinterest with a board\_id from list\_pinterest\_boards), google\_business one. With x the caption is at most 280 characters, with bluesky 300, with threads or pinterest 500, with google\_business 1,500. google\_business posts for the business the person chose in Solara: pass google\_business for an event, an offer or a button, as they said. 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 |
| - | - | - | - |
| `upload_ids` | UUID\[] | Yes | The images, in the order the post shows them. 1 to 35 items. |
| `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 person told you about the images and what they show: 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. |
| `platforms` | string\[] | Yes | Where to post them. Each one of `facebook`, `instagram`, `tiktok`, `linkedin`, `x`, `threads`, `pinterest`, `linkedin_page`, `bluesky`, `google_business`. 1 to 10 items. |
| `formats` | map of string | No | Per platform: carousel (several images), feed (one image) or story (one image, Instagram and Facebook). Absent: carousel for several images, feed for one. |
| `publish_at` | date-time | No | Absent: post as soon as the person approves. Set: schedule for this time (future). ISO 8601, in UTC. |
| `tiktok` | object | No | Required with tiktok. Ask the person: drafts (they finish it in TikTok), or direct and who can watch. |
| `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. |
| `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. |
| `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. |
| `google_business` | object | No | With google\_business: what the post is, as the person said (an update unless they named an event or an offer), and its button. It posts for the location the person chose in Solara. An event or an offer must not be over when the post goes out. Absent: an update without a button. |
| `google_business.topic_type` | string | No | update (absent is one): news, a photo, a button. event: a title and dates. offer: a title, dates and a code. One of `update`, `event`, `offer`. |
| `google_business.action_type` | string | No | An update's or an event's button, if the person wants one: book, order (online), shop, learn\_more, sign\_up, or call (calls the number on the Business Profile). An offer takes none: Google adds View offer. One of `book`, `order`, `shop`, `learn_more`, `sign_up`, `call`. |
| `google_business.action_url` | string | No | Where the button leads: an https link, required with every button but call. The person sees it in full. At most 2048 characters. |
| `google_business.title` | string | No | An event's or an offer's title, at most 58 characters. Required with both. At most 58 characters. |
| `google_business.start_date` | string | No | An event's or an offer's first day, YYYY-MM-DD. Required with both. |
| `google_business.end_date` | string | No | Its last day, YYYY-MM-DD, not before start\_date. Required with both. |
| `google_business.start_time` | string | No | When it starts on its first day, HH:MM. With end\_time, or neither for all day. |
| `google_business.end_time` | string | No | When it ends on its last day, HH:MM. |
| `google_business.coupon_code` | string | No | An offer's code, used in store or online, at most 58 characters. At most 58 characters. |
| `google_business.redeem_url` | string | No | An offer's link to redeem it online: an https link. At most 2048 characters. |
| `google_business.terms` | string | No | An offer's terms and conditions, at most 1,500 characters. At most 1500 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.