FoodPerfect Docs

Tool reference

The server exposes 74 tools and no MCP resources or prompts. Your client discovers them with tools/list, which returns each tool's full JSON Schema. This page is the human-readable version.

Legend

  • Read: free, changes nothing, no extra headers.
  • Write: creates or changes something. From your own code, an Idempotency-Key header makes retries safe (how).
  • Approval: returns requires_approval first (how it works).
  • Cost is charged from the account's dollar balance at the plan's rate (prices). Failed generations are refunded.

Inputs are strict: unknown fields are rejected with invalid_input. Parameters marked optional can be left out.

#Account and brand

#ping

Read · free. Returns server health, version and environment. Call it first to check the connection. No inputs.

#get_account

Read · free. Returns the key owner's account: plan, planId, subscriptionStatus, totalBalanceUsd, and the balance split in micro-dollars (planBalanceMicros, packBalanceMicros, totalBalanceMicros; 1,000,000 = $1). No inputs.

#get_brand_dna

Read · free. Returns the Brand DNA built during onboarding: tone of voice, content pillars, goals, post types and reel types (with their contentSource, see Post formats and slides). No inputs.

#update_brand_dna

Write · free. Updates parts of the Brand DNA.

Parameter Type
updates object Required. At least one of goals (string), pillars (string), toneOfVoice (string), postTypes (array), reelTypes (array).
userComments string Optional. Notes on why it changed.

#Post formats and slides

Post and reel types can carry the Strategy composer in contentSource. A type without contentSource.post / contentSource.reel is generated the old way (from imageSource); with them, the new path is used.

contentSource.post (PostComposer): format is single (exactly 1 image slide), carousel (2 to 10 image slides) or mixed (2 to 10 slides of kind image, video or existing). Each slide has an id, a kind and a source:

Field Meaning
source.mode generate (new from prompt), library (My photos / My videos, content queue) or external (urls and/or public instagramAccounts)
source.usage as_is, reference, or animate (video slide, mode library: animate one of My photos). Ignored for generate
source.picks Chosen https URLs from the pool, max 20. [] rotates through all
source.urls / instagramAccounts External links (max 50) and handles without @ (max 5)
source.rightsConfirmed External + as_is only. Without it (or with no link or account) the items are only used as a reference
source.prompt What the slide shows, max 1500. Empty falls back to imagePrompt / videoPrompt
seconds Video slides, generated clips: 4 to 8 (default 5)
existingPostTypeIds existing slides: reuse a created post of these types at random; [] = any

Per-slide price (the caption is charged once as post_text): image generate or reference = image; image library/external as_is = free (uploaded brand photos are never posted as they are, they become a reference); video generate or reference = image + clip (4 to 8 s); video library animate = clip; video as_is = free; existing = free. A charge is refunded if its slide fails.

contentSource.reel (ReelComposer): up to 12 templates, each { presetId, source }. They take precedence over scriptwriter.reelPresetIds; unknown preset ids are dropped. format (default template) picks how reels are made: template (a reel from templates), video (one clip posted as the reel) or video_carousel (2 to 10 clips posted as one carousel on Instagram, Threads and Telegram; other platforms post the first clip). For video / video_carousel, clips are the clips as slides (each cleaned to kind video, same source, seconds and per-slide price as a mixed carousel's video slides); the bulk run makes them like a carousel post (caption post_text + each clip), with no reel unit and no video step. contentSource.scriptwriter.trendResearch turns trend research on or off (unset = on when there are queries or accounts).

update_brand_dna cleans these values like the app does (slides clamped, kinds limited by format, external as_is kept as chosen but generated as a reference until rightsConfirmed and a link or account are set). get_brand_dna returns them for postTypes and reelTypes. Full carousels are generated by the app's bulk run, not by MCP tools: generate_scheduled_post_content makes the single picture of slide 1 (generate = generate, library as is = library, external = links/Instagram with as_is = direct and reference = reference, the slide prompt is the image prompt).

Example: a 3-slide mixed carousel (generated image, the owner's video as is, an existing post of another type):

json
{
  "updates": {
    "postTypes": [
      {
        "id": "launch_carousel",
        "name": "Launch carousel",
        "textPrompt": "Announce the new dish in two sentences.",
        "contentSource": {
          "scriptwriter": {
            "trendResearch": false
          },
          "post": {
            "format": "mixed",
            "slides": [
              {
                "id": "s1",
                "kind": "image",
                "source": {
                  "mode": "generate",
                  "prompt": "Hero shot of the new dish, warm light"
                }
              },
              {
                "id": "s2",
                "kind": "video",
                "source": {
                  "mode": "library",
                  "usage": "as_is",
                  "picks": [
                    "https://storage.googleapis.com/bucket/clips/kitchen.mp4"
                  ]
                }
              },
              {
                "id": "s3",
                "kind": "existing",
                "existingPostTypeIds": [
                  "behind_the_scenes"
                ]
              }
            ]
          }
        }
      }
    ]
  }
}

Example: a reel type with two templates:

json
{
  "updates": {
    "reelTypes": [
      {
        "id": "dish_reels",
        "name": "Dish reels",
        "contentSource": {
          "reel": {
            "templates": [
              {
                "presetId": "food-new-dish",
                "source": {
                  "mode": "library",
                  "usage": "reference"
                }
              },
              {
                "presetId": "food-behind-the-scenes",
                "source": {
                  "mode": "generate",
                  "prompt": "Steam rising from the pan"
                }
              }
            ]
          }
        }
      }
    ]
  }
}

#run_brand_analysis

Write · free. Scrapes your Instagram account and website, then builds the Brand DNA (pillars, goals, tone of voice, post types, reel types, example captions) with Gemini. Free (no balance charge), limited to 5 runs per hour. Takes roughly 1 to 4 minutes: the call waits up to about 4 minutes; if it returns completed=false, poll get_brand_analysis_status until completed is true (status "draft", stage "done") or status is "error". Replaces the existing Brand DNA.

Parameter Type
instagramUsername string Required. The account to scrape.
siteUrls array Optional. Up to 3 website URLs.

#get_brand_analysis_status

Read · free. Progress of the latest run_brand_analysis: status (scraping, analyzing, draft, error), analysisStage (scraping_posts, analyzing_batches, synthesizing, done, failed), scraped post count and any scraping errors. completed=true means the Brand DNA is ready for get_brand_dna.

No inputs.

#regenerate_brand_dna

Write · free. Revises the existing Brand DNA with Gemini, applying the comments saved on the DNA (section comments and per-type userComments) and, when platform is given, extending the strategy to that platform (seeds a monthly plan if none exists). Requires an existing Brand DNA (run run_brand_analysis first). Free (no balance charge), limited to 10 per hour. Takes about 30 to 90 seconds.

Parameter Type
platform "instagram" | "tiktok" | "facebook" | "linkedin" Optional. Extends the strategy to a new platform.

#whoami

Read · free. Returns the principal making the call: key id, owner, brand(s), scopes and approval mode. No inputs.

#get_wallet

Read · free. Returns the billing balance, plan and agent key spend (if applicable). No inputs.

#get_pricing

Read · free. Returns the current pricing model and this account's custom rates. video_8s is a clip of 4–8 seconds priced per second: unitPriceMicros is the 8 s price, and minSecondsPriceMicros gives the 4 s price. No inputs.

#list_transactions

Read · free. Lists billing transactions, newest first.

Parameter Type
limit 1–100 Optional, default 25.
cursor string Optional, the nextCursor of the previous page.

#Photos, promos and menus

#photo_prompt

Read · free. Previews what generate_photo would send, without generating or charging: returns { prompt, styleImageUrl, styleName, width, height, model }.

Parameter Type
dishName string Required.
styleId 1–8 Required. See the styles below.
description string Optional. The dish in your words.
mode "similar" | "exactCopy" Optional, default "similar".
perspective 1–3 Optional. 1 top view, 2 angle, 3 side.
ratio "1:1" | "2:3" | "3:2" | "4:5" | "9:16" Optional, default "1:1".
globalInstructions string Optional extra direction.
hasUploadedImage boolean Optional.

Photo styles: 1 On the go · 2 Humans · 3 Color burst · 4 Crystal light · 5 Straight blue · 6 Bright casual · 7 Pop art · 8 Velvet core. See them on the homepage.

#generate_photo

Write · 1 image · returns the finished photo (usually under a minute). Makes one AI food photo in a FoodPerfect style with the same GPT Image pipeline as the app, saves it to your library and returns { generation } with its storageUrl. Several dishes are composed into one photo.

Parameter Type
dishes array Required, 1–6 of { name, image?, description? }. image is a URL of your own photo of the dish (strongly recommended); without one, description is what the dish is made from.
styleId 1–8 Required.
mode "similar" | "exactCopy" Optional, default "similar": a new shot from the style's photo session. "exactCopy" puts your dish into the style's exact shot.
ratio "1:1" | "2:3" | "3:2" | "4:5" | "9:16" Optional, default "1:1".
perspective 1–3 Optional. 1 top view, 2 angle, 3 side.
globalInstructions string Optional.

Images are downloaded before you're charged, so a bad image link costs nothing.

#generate_promo

Write · 1 design · returns the finished promo. Designs a promotional graphic.

Parameter Type
heading string Required. The headline.
subheading string Optional.
dishes array Optional. { name, description?, price? } each.
promoMaterials array Optional. { type: "image" | "text", content, description? }, e.g. a logo URL or a line of copy.
ratio "1:1" | "4:5" | "9:16" Optional, default "1:1".
styleReference object Optional. { imageReference?, textDescription? }.

#generate_menu

Write · 1 design · returns the finished menu. Designs a menu board.

Parameter Type
categories string Required, e.g. "Starters, Mains, Desserts".
dishesData string Required. Dishes with prices and descriptions, as text.
menuCustomization string Optional design notes.
ratio "1:1" | "9:16" Optional, default "1:1".
visualMaterials array Optional. { type: "image" | "text", content, description?, filename? }.
styleReference object Optional. { imageReference?, textDescription? }.

#Images

#edit_image

Write · 1 image · edits an existing image with a text instruction (GPT Image 2.5, medium quality) and saves the result as a NEW library item; the original is untouched. Source: generationId (a library item) or assetId or imageUrl. Optional referenceImages (URLs or asset ids, up to 15) are extra visuals, e.g. a dish to insert.

Parameter Type
prompt string Required. Text description of what to edit.
source object Required. One of generationId, assetId, or imageUrl.
referenceImages array Optional. URLs or asset ids, up to 15.

#remove_background

Write · 1 image · removes the background from an image (transparent PNG) and saves it as a NEW library item; the original is untouched. Source: generationId (a library item) or assetId or imageUrl.

Parameter Type
source object Required. One of generationId, assetId, or imageUrl.

#upscale_image

Write · free · upscales an image 2x (Real-ESRGAN) and saves it as a NEW library item; the original is untouched. Source: generationId (a library item) or assetId or imageUrl. No charge, but it needs an active plan or the trial (payment_required otherwise) and is limited to 100 upscales per account per UTC day (rate_limited after that; shared with the app).

Parameter Type
source object Required. One of generationId, assetId, or imageUrl.

#upload_asset

Write · free · downloads an image from a public URL (PNG, JPEG, WebP or GIF, size-capped) into the brand asset library, where the app and generation tools can use it as a reference.

Parameter Type
imageUrl string Required. Public URL of the image.
category "brand" | "inspiration" | "upload" Optional, default "upload".

#Video and reels

#list_reel_presets

Read · free. Lists the VideoBeast reel presets (the live reel studio): id, name, description and every field an agent fills (text, lists, pictures) with exact character/item limits and an example shape. Use with create_reel; the examples come from a sample restaurant, copy their shape and length, not their content.

No inputs.

#create_reel

Write · free. Creates a draft VideoBeast reel project from a preset (from list_reel_presets), the user's pictures and optional text, exactly as the reel editor saves it. Returns the projectId plus missing fields still needed before render_reel. Fill text with generate_reel_script, add clips with animate_reel_shot and music with generate_reel_music, then render_reel.

Parameter Type
presetId string Required. A preset id from list_reel_presets.
pictures array Required. Picture ids or URLs.
text object Optional. Text fields for the preset.

#generate_reel_script

Write · free · writes the on-screen copy, caption and hashtags of a VideoBeast reel project with the same scriptwriter as the reels autopilot (DeepSeek, brand voice, humanizer rules, template character limits) and saves them into the project. The script is part of the reel, which is charged on its first render (render_reel). Create the project first with create_reel; the pictures already in it are what the copy is written about.

Parameter Type
projectId string Required. An existing reel project from create_reel.

#prepare_reel_art

Write · images, plus 1 animated shot for splash and mascot flows · makes a promo poster's flexible art: the fields of kind "art" in list_reel_presets (falling fruit, a scene, a coloured liquid splash, the owner's mascot). Object flows draw the subject on white and cut it out; splash flows animate a splash in the given colour with a transparent background; mascot flows redraw the owner's character on white, animate it in a loop and cut it out. Mascot posters require their mascot before render_reel (it appears in missing). Returns { jobId, jobType: "reelArt", status: "queued" }; poll get_job_status with jobType: "reelArt" until status is completed (urls) or failed (refunded). With projectId the result is put into the reel project.

Parameter Type
presetId string Required. A promo poster preset with the field.
field string Required. The art field key, e.g. art_mascot.
input string Required. Mascot flows: the mascot image (asset id, upload id, generation id or https URL). Others: a few words (the subject or the colour).
projectId string Optional. A reel project from create_reel to put the result into.

#animate_reel_shot

Write · 1 animated shot · turns one photo slot of a VideoBeast reel project into a ~5 s animated shot (Kling 3.0 Standard, 720p class) and stores it asynchronously. Optional motion (how it moves). Shots are silent: sound and asmr are still accepted but not generated, and the rendered reel plays its music bed under the shot. Returns { jobId, status: "pending" }. Poll with get_job_status using jobType: "reelClip" and the returned jobId. When it completes the clip replaces the photo in the project; the project has awaitingClips=true until every pending shot settles, and render_reel must wait for that. Failed or timed-out shots are refunded and the photo stays.

Parameter Type
projectId string Required.
slotIndex integer Required. Which photo slot to animate (0-based).

#generate_reel_music

Write · free · generates an original instrumental brand track (ACE-Step) and, when projectId is given, bakes it into that VideoBeast reel project (replacing any music). Synchronous: no job to poll.

Parameter Type
projectId string Optional. A reel project from create_reel.

#render_reel

Write · 1 reel (charged once, on the reel's first render; re-renders free unless more than half of the pictures and clips are new, which is a new reel; refunded if that render fails) · async. Renders a reel project to video. Returns { jobId, status: "pending" }. Poll with jobType: "reel". Cannot start while awaitingClips is true (animated shots are still rendering).

Parameter Type
projectId string Required.

#generate_video_from_image

Write · 1 video clip (4–8 s, priced per second) · async. Animates a still into a short clip that keeps the image's proportions, with no music or sound. A food video (default) is a dish photo with one action (Kling VIDEO 3.0 Standard, 720p): a camera move ("zoom_out", "rotation_360", "top_motion") or a hand action with a still camera. "dish_in": a hand carries the dish in on its plate and sets it down, and the clip ends on your exact photo. "try": a hand reaches in with the utensil the dish is eaten with (fork, spoon, chopsticks, a torn piece of bread or bare fingers), takes one portion and leaves (a burger or sandwich is lifted out and comes back with one bite taken); only what is left stays in view and the eating is never shown. "spices": a hand seasons the dish with a pepper mill, a drizzle of olive oil or a pinch of salt, chilli flakes or powdered sugar. A promo card animation brings a finished promo card to life (steam, glistening food, bouncing badges, a light sweep) and starts and ends on the exact card, so its text and prices stay intact (MiniMax H3, first and last frame). Returns { taskUUID, status: "pending" }. Poll with get_job_status using jobType: "video" and the taskUUID as jobId.

Parameter Type
imageUrl string Required. A FoodPerfect image URL or another allowed host.
videoType "food" | "promo" Optional, default "food". The older "hand" is still accepted and means a food video with action "try".
action "zoom_out" | "rotation_360" | "top_motion" | "dish_in" | "try" | "spices" Required for food videos (unless motionDirection is given), ignored for promo cards.
motionDirection 1 | 2 | 3 Optional, the older form of the camera moves: 1 zoom out, 2 orbit around the dish, 3 camera rises to a top view. Used only when action is missing.
dishName string Optional, hand actions only. The dish (e.g. "Tonkotsu ramen"): named in the prompt, and it picks the utensil ("try") or the seasoning ("spices"). Without it, "try" looks at the image and "spices" uses a pinch.
utensil "auto" | "fork" | "spoon" | "chopsticks" | "hand" | "bread" Optional, action "try" only, default "auto": soups and ramen get a spoon; sushi, noodles and dumplings chopsticks; burgers, pizza, fries and tacos a bare hand (a burger, sandwich, wrap or burrito with no side of fries is picked up whole by one or two hands, leaving the wrapper); hummus, dips, stews and shakshuka a piece of bread; anything else a fork.
duration 4–8 Optional whole seconds, default 5. Priced per second: 4 s costs less than 8 s.
width, height integer Optional, default 1280×720.

Write · free (limit 10 per hour). Finds trending TikTok videos for a query and imports the top ones as reel assets to use as an opening hook.

Parameter Type
query string Required.
platform "tiktok" Optional, default "tiktok".
rank "top" | "fresh" Optional, default "top".
maxCandidates 1–10 Optional, default 6.
hookSeconds 1–15 Optional, default 4.

Warning

Imported clips belong to their creators. Check you have the rights before publishing anything built on them. See the Acceptable Use Policy.

#generate_reel_storyboard (legacy)

Write · free (limit 60 per day). Prefer list_reel_presets + create_reel. Writes a reel storyboard from a brief using your assets where they fit.

Parameter Type
prompt string Required, at least 5 characters.
availableAssets array Optional. { assetId, name, type: "image" | "video", durationSeconds? }.
restaurantName, cuisine string Optional.

#resolve_reel_generators (legacy)

Write · 1 video clip (4–8 s, priced per second) per AI clip block. Prefer create_reel + animate_reel_shot. Fills the empty generator blocks of one reel project. Trending-hook blocks resolve immediately; AI clip blocks start video jobs you poll with get_job_status (jobType: "video"). Refunds per block on failure.

Parameter Type
projectId string Required. An existing reel project from the old Reel Studio.

#list_reel_templates (legacy)

Read · free. Prefer list_reel_presets. Lists the reel templates available to everyone. No inputs.

#Posts

#generate_post_example

Read · with generateImage: 1 image · previews a strategy post type: generates an example caption (free) and optionally an example image (charged as one image). Mirrors the app Strategy example preview; nothing is saved to Brand DNA or any post.

Parameter Type
postType string Required. A post type from your Brand DNA.
generateImage boolean Optional, default false. When true, generates an example image (charged).

#generate_scheduled_post_content

Write · with generateImage: 1 post (post with a newly generated image, post_text with an existing one) · generates caption text for an existing scheduled post and optionally attaches an existing generation image. With generateImage=true it produces the full post like the app (caption + image, charged once; failures are refunded).

Parameter Type
postId string Required.
generateCaption boolean Optional, default true. Set false to only attach an image.
generateImage boolean Optional, default false. When true, generates a new image.
sourceImageId string Optional. A generation id to attach instead of generating.
contentInstructions, globalInstructions string Optional.

#list_posts

Read · free. Lists scheduled posts across all platforms, ordered by scheduled time.

Parameter Type
status planned | text_generated | image_generated | approved | held | publishing | posted | failed | unknown | drafted Optional filter.
platform one of the 12 platforms (see create_post) Optional filter.
from, to ISO 8601 datetime Optional, inclusive scheduled-time range.
limit 1–100 Optional, default 50.
cursor string Optional, the nextCursor of the previous page.

#get_post

Read · free. One scheduled post by id, with its content, assets and publish status.

Parameter Type
postId string Required.

#create_post

Write · free. Creates a new scheduled post for one platform, in a pre-approval status (planned, text_generated or image_generated, depending on its content). It never publishes, and a scheduledAt in the past is refused. To put the same post on more platforms, use cross_post_to_platforms.

Media rules: TikTok and YouTube publish videos only; X, Threads, Google Business Profile, Bluesky and Telegram can post text only; stories (one picture or one video, no caption) publish only to Instagram, Facebook and Snapchat; reels and videos publish to Instagram, Facebook, TikTok, LinkedIn, X, YouTube, Threads, Pinterest, Bluesky, Telegram and Snapchat (on Facebook a reel is a Facebook Reel, one vertical 9:16 video, Meta documents 3–90 s, and any other video a feed video post; LinkedIn has no Reels, so a reel is a video post there); Google Business Profile takes no video at all; a post carries pictures or one video, never both.

Parameter Type
platform "instagram" | "facebook" | "tiktok" | "linkedin" | "twitter" (X) | "youtube" | "threads" | "pinterest" | "googlebusiness" | "bluesky" | "telegram" | "snapchat" Required.
scheduledAt ISO 8601 datetime Required. Must not be in the past.
contentType "post" | "reel" | "story" Optional, default post. A reel is one vertical video (a Facebook Reel on Facebook, a video post on LinkedIn). A story is one image or video with no caption published.
text string Optional. The caption.
imageUrl, videoUrl, thumbnailUrl https URL Optional. A videoUrl is refused on Google Business Profile, which takes no video.
additionalImages URL[] Optional.
postTypeId, postTypeName string Optional.
tiktokSettings object Optional. TikTok-specific settings.
platformOptions object Optional. Only the keys the platform offers: YouTube title, visibility; Pinterest title, boardId, link; Google Business Profile ctaType, ctaUrl.
idempotencyKey string Optional. The same key with the same arguments returns the first result.

#update_post

Write · free. Edits a scheduled post's content; null clears a field. An approved post edited here goes back to review (unapproved: true). Refused for published, publishing or unknown posts. Pass expectedVersion to get a conflict if the post changed since you read it.

Parameter Type
postId string Required.
expectedVersion integer ≥ 0 Optional. Omit to skip the conflict check.
text string | null Optional. The caption.
imageUrl, videoUrl, thumbnailUrl https URL | null Optional.
additionalImages URL[] | null Optional.
platform one of the 12 platforms (see create_post) Optional. Another platform's platformOptions are dropped.
tiktokSettings object | null Optional.
platformOptions object | null Optional. Replaces the per-platform options (see create_post); null clears them.
idempotencyKey string Optional.

#delete_post

Write · Approval · free. Asks to delete a scheduled post. A post already live on a platform stays there. Refused for a post that is publishing or whose outcome is unknown. If the post is edited after the request, the approved request fails with conflict. Answers requires_approval with an approvalId; poll get_approval after a person approves.

Parameter Type
postId string Required.
idempotencyKey string Optional.

#reschedule_post

Write · free. Changes a post's publish time. A time from now on is kept. A time already passed today (brand timezone) moves to the next slot (now + 15 min, rounded up to 5 min, returned with adjusted: true). A day before today is refused, and so is a post that is publishing, posted or unknown.

Parameter Type
postId string Required.
scheduledAt ISO 8601 datetime Required.
idempotencyKey string Optional.

#approve_posts

Write · free. Approves 1–50 posts that have a caption and the media their platform needs (planned, text_generated, image_generated, or a retryable failed). Approved posts publish at their time, or are held when the brand saves drafts or scheduling is off. Refusals are per post: one bad post doesn't fail the call.

Parameter Type
postIds string[] Required, 1–50 ids.
idempotencyKey string Optional.

#unapprove_posts

Write · free. Moves approved or held posts back to their pre-approval status (planned, text_generated or image_generated). Refusals are per post.

Parameter Type
postIds string[] Required, 1–50 ids.
idempotencyKey string Optional.

#adapt_caption

Write · $0.10–$0.18 (one post_text charge per call, at the plan's rate: $0.18 Starter, $0.15 Growth, $0.10 Scale) · rewrites one caption for several platforms in a single model call and returns them. Nothing is saved: use create_post or update_post to keep one.

Every fact (dishes, prices, dates, offers, names, links) is kept; length, structure, tone, emojis and hashtags follow each platform (X 280 characters, Bluesky 300, Threads 500, Snapchat 160, no hashtags on Google Business Profile, Telegram and Snapchat; YouTube and Pinterest also get a title). The charge is the same whatever the number of platforms, and it is refunded when the model fails or nothing could be written. Needs an active paid plan (payment_required otherwise). Shares the app's limit of 60 adaptations per hour.

Parameter Type
caption string Required. The caption to adapt.
platforms 1–12 platforms (see create_post) Required.
sourcePlatform platform Optional. The platform the caption was written for.
idempotencyKey string Optional.

#adapt_post_captions

Write · $0.10–$0.18 (one post_text charge per call, same rates as adapt_caption) · rewrites a post's caption for each other platform of its cross-post group in one model call, and writes each one's own caption, so every platform keeps its own editable text. Posts that are publishing, posted, generating or stories are skipped. An approved post that gets a new caption goes back to review. The facts, length and refund rules are the same as adapt_caption, and the charge is taken once for all platforms.

Parameter Type
postId string Required. The post whose caption is adapted. Its caption must be written.
platforms 1–12 platforms (see create_post) Optional. Only these platforms of its group. Default: every other platform the post is cross-posted to.
idempotencyKey string Optional.

#cross_post_to_platforms

Write · free. One post, posted everywhere: copies a post to more platforms as new scheduled posts of its cross-post group, with the same caption (verbatim), pictures or video, type and time. Each copy is in a pre-approval status, so approve it like any post. No model call and no charge. Publishing is free too, except an X copy whose caption contains a link ($0.40, see publish_posts_now).

A platform the group is already on, one that isn't connected (see get_connect_link), or one that cannot take this kind of post is skipped with a reason. Media rules are the same as create_post. Then call adapt_post_captions to rewrite the caption for each platform (charged once).

Parameter Type
postId string Required. Any post of the cross-post group.
platforms platforms (see create_post) Required. The platforms to add.
idempotencyKey string Optional.

#Inbox

#list_inbox

Read · free. Lists inbox items (customer comments and DMs) newest activity first, with optional platform, status, type and needsHuman filters. Paginated: pass nextCursor back as cursor.

Parameter Type
platform "instagram" | "tiktok" | "facebook" | "linkedin" Optional filter.
status "needs_reply" | "draft_ready" | "done" Optional filter.
type "comment" | "dm" Optional filter.
needsHuman boolean Optional. Filter to items the autopilot couldn't handle.
cursor string Optional, from the previous page.
limit 1–50 Optional page size, default 20.

#get_inbox_item

Read · free. Returns one inbox item (classification, draft, autopilot decision, last reply) with its full message thread oldest first, plus which reply options are available right now (DM 24 h window, human-agent tag, private reply).

Parameter Type
itemId string Required.

#get_inbox_settings

Read · free. Returns inboxEnabled (the inbox on/off switch, default true; while off nothing new is collected, replies and sync are blocked, autopilot is off, and stored messages are deleted 30 days after it was switched off) and the inbox autopilot switch, which channels (comments, DMs) and topics autopilot may answer, and the "your rules" knowledge the AI may state as fact. aiDisclosure (default true) says whether autopilot replies end with a short "replied by our AI assistant" notice. Autopilot never auto-sends on LinkedIn: LinkedIn items are draft-only.

No inputs.

#draft_reply

Write · free · drafts (or regenerates) an AI reply for an inbox item in the brand voice, using the "your rules" knowledge. Saves it as the item draft and returns it with the classification. Drafting is free and nothing is sent, but once a draft exists the send_reply for it is charged (edited or not). Rate limited (30/min).

Parameter Type
itemId string Required.

#send_reply

Write · 1 reply (if AI draft) · Approval-gated (if AI draft) · sends a reply to a customer comment or DM from the connected social account. Charged at the reply price when an AI draft was generated for this reply (from draft_reply or the draft the inbox prepared), whether or not you edited it; a reply you write entirely yourself, with no AI draft for it, is free (chargedMicros 0). Refunded if the platform rejects it. Enforces the 24 h DM window (human-agent tag between 24 h and 7 days), the 7-day private-reply window and no double replies. If an AI draft exists, approval is required: the first call returns requires_approval with an approvalToken; repeat the same call with that token to send.

Parameter Type
itemId string Required.
content string Required. The reply text.
isPrivate boolean Optional. For DMs only; posts are always public.
approvalToken string Send on the second call to confirm (if AI draft).

#set_inbox_status

Write · free. Marks an inbox item done (dismissed without a reply) or back to needs_reply.

Parameter Type
itemId string Required.
status "done" | "needs_reply" Required.

#sync_inbox

Write · free · pulls recent DMs and comments for every connected account (Instagram, Facebook, TikTok, LinkedIn) into the inbox. Rate limited to one run per minute. Returns accounts synced, items imported and per-platform warnings.

No inputs.

#update_inbox_settings

Write · free (inbox off) / Approval-gated (autopilot on) · updates inbox settings; only the fields you pass change. inboxEnabled (default true; setting false stops collecting messages, blocks sync, drafts and replies, forces autopilot off, and stored messages are deleted 30 days later, so it requires approval; turning it back on is immediate), autopilotEnabled, aiDisclosure (default true: autopilot replies end with a short "replied by our AI assistant" notice), channels {comments, dms}, autoSendTopics (hours, location, menu_pricing, reservations, delivery_catering, compliment, general) and knowledge (hours, location, reservations, menu, allergens, delivery, rules, signOff; max 2000 chars each). Turning autopilot ON requires approval: the first call returns requires_approval with an approvalToken; repeat the same call with that token to confirm. Turning autopilot OFF applies immediately. Autopilot never auto-sends on LinkedIn (LinkedIn items always stay drafts for you to approve).

Parameter Type
inboxEnabled boolean Optional. Requires approval to set false.
autopilotEnabled boolean Optional. Requires approval to set true.
aiDisclosure boolean Optional.
channels object Optional. { comments, dms } booleans.
autoSendTopics object Optional. Topic keys as booleans.
knowledge object Optional. Knowledge keys as strings.

#prefill_inbox_knowledge

Write · free · suggests the inbox knowledge (hours, location, reservations, menu, allergens, delivery, rules, signOff) from the brand's scraped website and profile, like the app's "Fill from my website" button. Only fields the sources actually state are returned. Saves nothing: review the suggestions, then save them with update_inbox_settings. Rate limited to 5 per minute.

No inputs.

#moderate_comment

Write · free (hide/unhide) / Approval-gated (delete) · hides, unhides or deletes a customer comment on the platform. Hide/unhide: Instagram, Facebook, TikTok; delete: all platforms. Delete is permanent and approval-gated: the first call returns requires_approval with an approvalToken; repeat the same call with that token to confirm. Hide and unhide run immediately.

Parameter Type
itemId string Required. The inbox item id.
action "hide" | "unhide" | "delete" Required.
approvalToken string Send on the second call to confirm (if delete).

#list_reviews

Read · free. Lists the brand's Google Business Profile and Facebook reviews, newest first, synced through Zernio, with the Brand DNA review insights (what guests praise and complain about, most-mentioned dishes). To answer a review, use draft_reply and send_reply with its inboxItemId. Reviews from the last 30 days and every new Google review are also in the inbox.

Parameter Type
platform "facebook" | "googlebusiness" Optional.
minRating, maxRating 1–5 Optional. Stars.
hasReply boolean Optional. true = only reviews the brand has answered; false = only unanswered ones.
limit 1–100 Optional, default 25.
cursor string Optional, the nextCursor of the previous page.

#Planning and publishing

#generate_publish_schedule

Write · free. Creates planned posts exactly like the app: for each platform switched on in your publishing settings with a working connection (Instagram, TikTok, Facebook, LinkedIn), weighted by the post-type mix in your Brand DNA, in your timezone, from tomorrow on. Weeks that already have posts are skipped, so running it again doesn't duplicate anything.

Parameter Type
weeksAhead 1–4 Optional, default 4.

#list_scheduled_posts

Read · free. Lists scheduled posts.

Parameter Type
from, to ISO 8601 datetime Optional date range.
platform "instagram" | "tiktok" | "facebook" | "linkedin" Optional.
status planned | text_generated | image_generated | approved | posted | failed Optional.

#publish_posts_now

Write · Approval · free, except an X post with a link ($0.40 each). Asks to publish 1–20 approved posts right away, each on the platform it's scheduled for. A person approves the request; then the server publishes each post once, and get_approval shows the per-post results. publish_post_now is a deprecated alias of this tool. Following the app's rules:

  • The account's posting method must be Direct (Settings → Posting method). In Draft mode the call is refused up front.
  • Only approved posts go out (see approve_posts). Posts in other statuses are reported per post and left unchanged.
  • Each post needs its caption and its image or video. Posts already publishing or posted are skipped with a reason.
  • Publishing to X is free, except a post whose caption contains a link: that costs $0.40, charged at publish time and refunded if X rejects the post (X charges for links).
  • A post being published is locked, so it can't go out twice. A saved Zernio draft is published instead of creating a new post.
Parameter Type
postIds string[] Required, 1–20 approved posts.
idempotencyKey string Optional.

#publish_post_now

Write · Approval · free, except an X post with a link ($0.40). Deprecated alias of publish_posts_now, with the same approval, rules and inputs.

#save_posts_to_draft

Write · Approval · free. Asks to save 1–20 approved or held posts as drafts on their platforms, via Zernio. Facebook and TikTok get a native draft that the account owner finishes in the app. Every other platform gets a Zernio-side draft that publish_posts_now later promotes. Answers requires_approval; after approval each post is saved once and ends in status drafted. Poll get_approval for per-post results.

Parameter Type
postIds string[] Required, 1–20 approved or held posts.
idempotencyKey string Optional.

#schedule_reel_post

Write · Approval · free. Schedules a rendered reel for Instagram.

Parameter Type
projectId string Required.
caption string Required.
scheduledAt ISO 8601 datetime Required.
approvalToken string Send on the second call to confirm.

Read · free. Returns { authUrl, nextStep }, a secure link to connect a social account. A person has to open it and log in; the agent can't do that part. When they say they're done, call finalize_connection.

Parameter Type
platform "instagram" | "tiktok" | "facebook" | "linkedin" Required.
loginMethod "facebook_login" Optional, Instagram only: connect through a Facebook Page.

#finalize_connection

Write · free. Finishes connecting an account after the person has logged in through get_connect_link, and returns the connected username. If they haven't finished yet it returns not_found; ask them to complete the login and try again. Safe to call twice.

Parameter Type
platform "instagram" | "tiktok" | "facebook" | "linkedin" Required.

#get_publish_settings

Read · free. The brand's publishing preferences: platforms, schedule, posting method, approval mode (read-only here, set in Settings) and connection status. No inputs.

#update_publish_settings

Write · free. Updates the brand's publishing preferences. Changes are merged per platform, and only the fields you pass change. The server-owned fields (connections) and approvalMode cannot be changed here.

Parameter Type
settings object Required. The settings to update.
idempotencyKey string Optional.

#Library

#list_generations

Read · free. Your generated images and videos, newest first.

Parameter Type
type photo | promo | menu | video Optional filter.
limit 1–50 Optional page size.
cursor string Optional, from the previous page.

#get_generation

Read · free. One generation by id.

Parameter Type
generationId string Required.

#list_assets

Read · free. Your Brand Assets library plus uploaded assets and fonts, newest first. Each item has a source (brandAssets, userAssets or userFonts).

Parameter Type
type image | video | audio | font Optional filter.

#delete_generation

Write · Approval · free. Deletes a generated image or video and its files.

Parameter Type
generationId string Required.
approvalToken string Send on the second call to confirm.

#delete_asset

Write · Approval · free. Deletes an uploaded asset or font and its files.

Parameter Type
assetId string Required.
approvalToken string Send on the second call to confirm.

#Jobs and approvals

#get_job_status

Read · free. The current state of an async job. Returns { job: { status, … } }. See Async jobs.

Parameter Type
jobId string Required. taskUUID from video jobs, jobId from reel renders.
jobType "video" | "reel" Required.

#confirm_action

Write. Confirms a pending approval with its token, without resending the original arguments.

Parameter Type
approvalToken string Required.

#get_approval

Read · free. One approval request made by this key: its status (pending, approved, executing, executed, failed, rejected or expired), the stored arguments, the decision, and once executed the result or the error. Errors include conflict (a post changed after the request), forbidden (the key lost its scope) and unknown_outcome (the server stopped mid-run). Poll it after a tool answered requires_approval.

Parameter Type
approvalId string Required. The approvalId from a requires_approval answer (details.approvalId).

#list_approvals

Read · free. Lists the approval requests this key made, newest first, optionally filtered by status.

Parameter Type
status pending | approved | rejected | expired | executing | executed | failed Optional.
limit 1–100 Optional, default 25.
cursor string Optional, the nextCursor of the previous page.