| get_guidelines | content:read | Start here. Returns the freeform post format, the rules for a good carousel and the operating loop (create → render → fix warnings → schedule). Static: read it once per session. |
| get_skill | content:read | Returns the brand guide as Markdown files (SKILL.md, brand.md, style.md, playbook.md, skills.md, brand-memories.md, memory.md, api.md) that teach you to post for this brand, plus a version. It already came with the connection's instructions; call it again to refresh during a long session, comparing 'version' to know whether it changed. |
| list_skills | content:read | Returns the brand's skills. A skill is a structure for one kind of post (carousel, post_unity, infographic or any): 'writing' says how it is written, 'design' how it is drawn. Read them before creating a post and follow the default of the kind you are making. |
| save_skill | content:write | Creates a skill, or updates one when 'id' is sent (only the fields sent change). Do this when a structure worked and should be repeated, or to improve the skill you just used. Write 'writing' and 'design' as instructions another agent could follow: slide by slide, with the rules that matter. 'postTypes' lists the kinds of post it serves (a carousel structure does not fit a Reels script: write one skill per family of kinds). 'isDefault' makes it the skill used for all its kinds when none is named; another skill that was the default of one of those kinds stops being it for that kind only. |
| delete_skill | content:write | Deletes a skill a bot wrote. A skill written by the brand owner is refused (OWNER_AUTHORED): the owner deletes it in the app. To improve one, use save_skill instead. |
| list_memories | content:read | Returns the workspace notebook: what bots and the user learned about making this brand's posts (what performed, mistakes to never repeat, preferences). Read it before creating a post. The platform reads the same notebook when it writes one. |
| list_brand_memories | content:read | Returns what the brand's owner recorded about the brand in the app: projects, milestones, awards, stories, offers, each with its category and date. Read it before writing, to speak of the brand with real facts. Read-only: these are the owner's words; write what you learned with save_memory instead. |
| save_memory | content:write | Writes a memory, or updates one when 'id' is sent. Use it freely: after a post, after reading its numbers, after a correction from the user, after an error. One fact per memory, specific. kind: performance (what the numbers showed), mistake (never repeat), preference (how the brand likes it), learning, note. 'pinned' memories are always used when the platform writes a post. Update a memory that changed instead of adding a contradicting one. |
| delete_memory | content:write | Deletes a memory a bot wrote that stopped being true. A memory written by the brand owner is refused (OWNER_AUTHORED): correct it with save_memory, or the owner deletes it in the app. |
| get_brand | content:read | Returns who the brand is: niche, language, voice (phrases to use and avoid), content pillars and the visual brief. Read it before writing any copy. |
| get_quota | content:read | Returns what you can still spend: the account's credit balance (shared with the app and every brand of the account), your own monthly credit ceiling when the owner set one, and what each action costs in credits. Creating a post, searching news and reading a reference spend credits. Check before creating several. |
| list_style_kits | content:read | Lists the brand's style kits (unique visual styles designed from its Instagram) with preview images, and which one is active. Use get_style_kit to read one in full. |
| get_style_kit | content:read | Returns one style kit in full: theme variables, shared CSS and every slide template with its HTML, CSS, slot names and elements (their el ids). Build a freeform post by copying templates and replacing the text inside their slots, or change the templates themselves with edit_style_kit. |
| edit_style_kit | content:write | Edits the templates of a style kit, so every post made from now on is drawn with the change (posts already made keep their own copy). Takes the same operations as edit_post; each template is a slide whose slideId is its key (cover_a, cover_b, cover_c, cover_d, content_text, content_list, content_stat, content_quote, content_photo, cta, single_post) and el is an id listed by get_style_kit. Typical edits: remove_element to take something off, add_element or add_composite to put something on every post, set_style to move, resize or recolour, set_theme_var and set_fonts for the kit's colours and fonts. An element with data-slot is filled with the post's words (its text here is only a sample); an element without one is drawn as it is on every post. Not allowed: adding, removing, moving or duplicating slides, leaving a template with no text slot, or taking the image slot off cover_d. All or nothing. |
| activate_style_kit | content:write | Chooses the style kit that posts created from a brief are drawn with. Pass kitId null to go back to the classic design family. |
| list_photos | content:read | Lists the brand's photos. Only these URLs are accepted in image slots; any other image host is removed from a post. |
| add_photo | content:write | Adds a picture to the brand library from a public HTTPS address (PNG, JPEG or WebP, at most 8MB, answered without a redirect) and returns its library url — the one to use in a post (set_image, set_slide_background). Use it only for pictures the brand may use. |
| create_post | content:write | Asks the platform to write and design a post from a brief, in the brand's voice and active style, following the skill and the memories of the workspace. Returns a postId with status 'queued'; poll get_post until status is 'draft' (usually 1-3 minutes). Costs the credits of its format. |
| create_freeform_post | content:write | Stores a post you designed yourself as a freeform document (see get_guidelines for the format, get_style_kit for templates to reuse). The document is sanitized; 'removed' lists what was dropped. Costs half a post credit (0.5): you wrote and designed it, the platform only checks, stores and draws it. A post the platform writes for you (create_post, from news, from a reference) costs a whole one. Next: render_post. |
| create_reel_script | content:write | Stores a Reel script you wrote yourself: a hook (up to 3 seconds), 3 to 7 beats (2 to 8 seconds each; role 'value', 'proof' or 'twist') and a closing call to action (2 to 6 seconds, 1 or 2 spoken sentences, on one channel). The whole script lasts 15 to 90 seconds. Only the closing may ask for an action (follow, comment, save, link in bio). Beats are numbered and the total duration added up for you; a script that breaks a rule comes back as INVALID_INPUT with the issues. Costs half a script credit (0.5): you wrote it. Next: get_post. |
| get_post | content:read | Returns a post: status ('queued' while being generated, 'draft' when ready), caption, hashtags, format ('freeform' or 'legacy') and, for a freeform post, its document and 'elements': for each slide, the elements an edit can name (el, tag, parent, text, slot, src, and role for the slide background, a list, an icon list or a chart). A legacy post has no document until convert_post. |
| convert_post | content:write | Turns a post with format 'legacy' (drawn by a built-in design family) into a freeform post that looks the same, so you can edit its HTML and CSS with edit_post. Runs in the background (about a minute): call get_post until format is 'freeform'. If conversion becomes 'not_faithful' the copy was refused and the post is unchanged. |
| edit_post | content:write | Edits a freeform post with partial operations instead of resending it. All or nothing. Operations: set_slot, set_text, set_element_html, set_style, set_image, add_element, remove_element, duplicate_element, set_slide_html, add_slide, remove_slide, move_slide, duplicate_slide, set_theme_var, set_fonts, set_shared_css, apply_style, set_cover, set_swipe, set_handle, set_counter, set_logo, set_avatar, set_slide_background, set_slide_colors, set_background_style, add_composite, update_composite, reorder_layers. An element is named by slideId and el (its data-el id, listed by get_post): set_text and set_element_html change what it says, set_style its inline CSS (null removes a property; "translate" moves it, "width"/"height" resize it, "rotate" turns it, e.g. "-8deg"), set_image its picture. add_element puts one new element on a slide, remove_element and duplicate_element do what they say. set_slot still sets a template slot by name. What the editor does in one click is one operation too: set_slide_background (none, color, gradient or a library image behind the slide), set_slide_colors (the four theme colours for one slide), set_background_style (the decorative shapes of the editor), add_composite / update_composite (lists, steps, stats, quotes, questions, highlight boxes, comparisons, big numbers, icon lists and grids, charts — from data; get_guidelines lists their data and the icon keys) reorder_layers (which element is in front) and apply_style (redraws the whole post in a style, keeping its words, photos and blocks: "plain" = no style, or a design family — "checklist", "cinema_viral", "case_study", "hype", "noticia_decodificada", "twitter_v2", "futuristic", "twitter", "editorial", "minimalist", "agency", "jornal", "playful" — which also brings its background colours and fonts), set_cover (lays the cover out: "classic", "photo", "split" or "centered"), set_swipe (the cover's swipe button: its label, or null to take it off), set_handle (the brand's @ on every slide, or null to take it off), set_counter (the page count "2/7" on every slide, on or off), set_logo / set_avatar (the brand's logo on the cover and the last slide, or the profile avatar drawn by the Twitter styles, from a picture in our storage, or null). Use it to fix the warnings reported by get_renders, then render_post again. |
| set_caption | content:write | Sets the caption and/or hashtags of a post. |
| render_post | content:write | Starts rendering a post into PNG images. Returns immediately; call get_renders until 'complete' is true (usually under a minute). Slides that did not change are not rendered again. |
| get_renders | content:read | Returns the rendered images of a post: one URL per slide plus layout warnings (overflow, out_of_bounds, text_too_small, low_contrast, image_failed, image_empty) naming the slot at fault. 'stale' means the slide changed since that image. Fix every warning with edit_post before scheduling. |
| schedule_post | content:publish | Schedules a post to the workspace's connected Instagram account at a future time (ISO 8601, UTC). Needs the content:publish scope. Do this last, after the renders have no warnings. |
| list_references | content:read | Lists the reference profiles the workspace follows (id, username, followers, status, last analysis). |
| add_reference | content:write | Follows a reference profile of the brand's niche (an Instagram link or @username). It is read in the background in about a minute: poll get_reference until status is 'ready'. Paid plans; the number of profiles is limited per plan. |
| get_reference | content:read | Returns a reference profile with its best posts: shortCode, format (carousel, image, reel), likes, comments, caption and the pictures (media, our copies; a carousel's slides in order, a reel's cover). Pick a post and call adapt_reference_post. |
| delete_reference | content:write | Stops following a reference profile. |
| adapt_reference_post | content:write | Reads one post of a reference profile for the brand: whyItWorked, structure and yourVersion (title, hook, angle, type) — the same mechanism with the brand's own content. Then call create_post_from_reference with it. |
| read_post_link | content:write | Reads any public Instagram post from its link (/p/…, /reel/… or /tv/…), in the background (about a minute): it then appears in list_reference_posts with whyItWorked, structure and yourVersion. At most 10 a day; each reading costs credits. |
| list_reference_posts | content:read | Lists the posts read from their link, newest first, each with its pictures, whyItWorked, structure and yourVersion, and how many readings are left today. |
| create_post_from_reference | content:write | Writes the brand's own post from a reading (adapt_reference_post or list_reference_posts): pass yourVersion.title as title, yourVersion.angle as angle, yourVersion.hook as hook, and structure and whyItWorked. The reference's mechanism, the brand's facts — never its text. Pass shortCode for a post read from its link. Spends one post of the quota; poll get_post until 'draft'. |
| list_news | content:read | Lists the news of the brand's niche the last searches found: title, summary, source, the take for the brand's audience (nicheTake), a hook, the suggested kind of post and whether a post was already made from it. |
| search_news | content:write | Searches for new news of the niche in the background (one to two minutes), within the plan's number of searches; then call list_news. |
| create_post_from_news | content:write | Writes a post from one news item of list_news, named by its exact title: the news decoded for the brand's audience, with its source. Spends one post of the quota; poll get_post until 'draft'. |
| list_webhooks | webhooks:manage | Lists the brand's webhooks: where its events are sent, which events each one gets and whether it is paused. Never the signing secrets. Needs the webhooks:manage scope. |
| create_webhook | webhooks:manage | Registers a public https address to be told about the brand's posts instead of polling get_post. Events: post.ready, post.failed, post.rendered, post.published, post.publish_failed. The answer carries the signing secret once: store it and use it to check the X-ContentsPilot-Signature header of every delivery. Needs the webhooks:manage scope. Only register an address the account owner asked for or that is your own. |
| update_webhook | webhooks:manage | Changes which events a webhook gets, or pauses and resumes it (isActive). Its address and its secret do not change. Needs the webhooks:manage scope. |
| delete_webhook | webhooks:manage | Removes a webhook and its delivery history. Needs the webhooks:manage scope. |