Skip to main content

Tools Reference

All tools operate on the live Studio editor open in your browser. Changes appear on the canvas instantly. Through the Tagada MCP (https://api.tagada.io/api/mcp), five of these actions have their own tool: studio_view_tree, studio_update_nodes_batch, studio_add_page_from_template, studio_screenshot and studio_save (for save_page). Every other action below runs through studio_run:
studio_run with tool: "help" lists the actions, and with args: { "tool": "<name>" } gives one action’s arguments. With several Studio tabs open, pass the tabId from studio_tabs. studio_run with tool: "guide" returns the Studio guide, the rules an agent reads before it builds: component kinds, tokens, responsive rules and design patterns, page by page (args: { "page": 2 }). It needs no open tab. The server exposes 71 tools in 13 groups. Node kinds available: 73 (see list_node_kinds).
No pageId parameter is needed for most tools — they operate on the currently active page in Studio. Multi-page tools like list_pages and read_page let you inspect other pages.

Template Tools

Read the template structure and browse pages.

read_template

Read the currently loaded template from the live Studio editor. Returns the template name, category, and a summary of all pages. No parameters.

list_pages

List all pages in the currently loaded template. No parameters.

read_page

Read a specific page’s full document tree including root node, tokens, and assets. Shipped templates carry 1000+ copy tokens: pass includeTokens=false to get the tree alone (tokenCount is still reported) and use list_tokens for the ones you need. A page too large for one answer comes in pieces of whole sections (then tokens), each valid JSON with the page fingerprint and piece.nextCursor: pass it back as cursor until it is null. A section too large for a piece is an { oversized: true } stub: read it with get_subtree. To restore the page, write the sections back in order with apply_block under the root (never a stub).

Node Tools

Read, create, update, move, and delete nodes on the live canvas. Every mutation is undo-able in Studio (Ctrl+Z).

find_nodes

Search for nodes in the current page by kind, prop name/value, or text content. Text search covers raw props and the resolved values of bound copy tokens (xxxToken props), so tokenized headings and labels are found; matches carry a resolved map of that text.

read_node

Read a single node’s full props, slots, and parent info from the live editor.

update_node

Update one or more props on a node. The change is applied live on the Studio canvas. Pass breakpoint=<tier key> (“mobile” or “tablet” by default; a page with its own breakpoints lists its keys in read_page) to write a per-viewport override instead of the base (desktop) value: the props are deep-merged into props.responsive[breakpoint], keeping the other tiers’ overrides; a borderSides there is merged side by side into that tier’s sides (or the base’s), so { top } on the phone keeps the desktop left rule and a side set to null drops it (Studio V3). Only layout/typography props the renderer applies per breakpoint are accepted there (describe_node_kind marks them “responsive”). A prop set to null is removed: from the base props, or from the override of that tier with a breakpoint (Studio V3). A base prop the kind does not have is refused with the list of the valid ones, and nothing is written (Studio V3).

update_nodes_batch

Update the same props on multiple nodes at once in a single undo step. Efficient for bulk styling: e.g. set the same border/radius on all cards. With breakpoint=<tier key> (“mobile” or “tablet” by default) the props become per-viewport overrides on every node (see update_node). A prop set to null is removed (Studio V3). A base prop one of the nodes’ kinds does not have is refused, and nothing is written (Studio V3).

add_node

Add a new node as a child of a parent node’s slot. The canvas updates live. The answer says where it landed: parent, slot and position.

apply_block

Insert a full tree of nodes at once (multiple nodes with nested children). All nodes are added in a single undo step. Use this to insert complex layouts like a card with heading + text + button, or an entire section with multiple children. Each node: { kind, props?, children? } (children nest the same way), or { id?, kind, props, slots? } with slots { [slotName]: { items: [childNodes] } }. An id you give is kept while no node of the page has it; the others are created. The answer lists the ids, and any prop the tree carries that draws nothing (not in its kind’s schema, or not applied at that breakpoint): fix each one.

remove_node

Remove a node and all its children from the page.

remove_nodes

Remove multiple nodes at once in a single undo step.

move_node

Move a node to a different parent slot or position.

move_nodes

Move several nodes into the same parent slot in one undo step, keeping their order. Use it to regroup siblings (e.g. pull three cards into a new grid) instead of moving them one by one.

view_tree

View the node tree structure of the current page. Shows kind, id, slot info, and key props inline (text content, labels, colors) for efficient scanning. Text bound through xxxToken props is shown resolved, with the token name in parentheses, in the locale currently active in the editor.

get_subtree

Get the full JSON of a node and all its descendants. Returns the complete node tree with props and slots — useful for understanding complex structures, duplicating sections, or feeding to another tool. A node too large for one answer comes in pieces of whole children, each valid JSON with the page fingerprint and piece.nextCursor: pass it back as cursor until it is null. A child too large for a piece is an { oversized: true } stub: read it with get_subtree on its id. To restore, write the children back in order with apply_block (never a stub).

duplicate_node

Deep-clone a node and insert the copy right after the original.

wrap_nodes

Wrap one or more sibling nodes in a new layout container.

swap_kind

Swap a node’s component kind. Keeps the children, the shared styling props and every prop the new kind declares with a value its schema accepts; mergeProps then override. E.g. swap a Stack for a Grid, or a retired kind for its successor.

set_variant

Apply a named variant/recipe to a node. Recipes are predefined prop presets for components (e.g., Heading has “hero”, “section”, “minimal” variants; Button has “primary”, “secondary”, “outline”, “ghost”). Use describe_node_kind to see available recipes.

Token Tools

Read and write the design/copy tokens of the active page.

list_tokens

List all design/content tokens in the current page. Tokens control colors, text, and localized values.

update_token

Update the value of an existing token. Applied live in the editor. The token is edited under the scope it already lives in (templates keep their tokens global); a name that does not exist yet is created as a global token.

add_token

Add a new token to the current page document. Defaults to global scope, which is what templates and the token resolver expect.

remove_token

Remove a token from the current page.

remove_locale

Unregister a locale from the current page and delete every token variant written for it. The default-locale values are untouched. Use list_pages to see registered locales.

Theme Tools

Palettes, typography presets, and history.

apply_palette

Apply a named color palette to the current page. Changes all color tokens at once. Call list_palettes first: it returns every palette with its description and primary color (the set grows with Studio; nothing is hardcoded here).

apply_custom_palette

Generate a full, contrast-checked color palette from one brand color and apply it to the current page — the same generator the Studio palette picker uses. Use this when no named palette matches (e.g. colors extracted from a merchant site); prefer exact values over the closest named palette. Returns the generated colors.

apply_typography

Apply a named typography preset to the current page. Changes fonts, sizes, and weights. Available presets: modern, bold, elegant, friendly, compact, bloom, technical, minimal, expressive. Use list_typography_presets to see all options.

list_palettes

List all available color palettes with their descriptions and primary colors. No parameters.

list_fonts

The account’s fonts and Google’s catalogue (e-commerce favourites first, then by popularity), each with the fontFamily value to write. Weights are worked out when the page is published: never list them.

add_font

Put a font in the account’s library, so pages ship it from our files: a Google family by name, or font file addresses (a page being reproduced: its @font-face urls). Never write @font-face in a CustomHtml block: add the files here, then write the family in fontFamily.

list_typography_presets

List all available typography presets with their font families and descriptions. No parameters.

undo

Undo the last change on the canvas. Each update_node, add_node, remove_node, batch or other write call is one undo step, so N writes take N undos. The answer names what the step reverted (command, node, breakpoint, props): check it is your own edit before undoing again (Studio V3). No parameters.

redo

Redo the previously undone change. The answer names what the step re-applied (Studio V3). No parameters.

Schema Tools

Discover node kinds and their props. They answer from the definitions of the connected Studio, and from the bundled snapshot before one connects (REW-153).

get_studio_status

Which Studio this MCP is talking to and where its component knowledge comes from: connected or not, Studio flavor (v2 = studio-app, v3 = the corridor), the capabilities it announced, and whether describe_node_kind / list_node_kinds answer from the connected Studio’s live schema or from the snapshot bundled with this package, and which studio-mcp process answers (connection). Call it when a prop you expect is missing, when a tool says no Studio is connected, or before editing with two Studios open. No parameters.

list_node_kinds

List all available node kinds (component types) in Tagada Studio. Optionally filter by category. Use this to discover what components you can add to a template.

describe_node_kind

Describe a node kind the way the Studio inspector presents it: one line per prop with its editor type (color, spacing, select, boolean, media, action…), label, accepted values with their labels, default, token twin and responsive eligibility, grouped by inspector section. Also lists slots, recipes for set_variant, runtime data requirements, the data contract, and visibility rules. Pass full=true for the raw JSON Schema instead.

Visual Tools

See what the agent built.

take_screenshot

Capture a screenshot of the current page as rendered in Studio. Returns a JPEG image at the requested viewport size. Use this after making changes to visually verify the result. The capture stops at 2000px tall: fullPage goes to 12000px, nodeId captures one section (or card) wherever it sits on the page — never move sections around to see them. A heavy page takes tens of seconds and Studio captures one at a time: do not fire a second capture before the first returns. A tab with no editor open answers with an error at once.

Page Tools

Navigate, create, delete and save funnel pages. Node IDs are per page — call view_tree after switching.

hello

Say hello to the open Studio tab: the merchant sees “<from> is connected to this page” and the tab shows the agent as connected. Changes nothing. Call it first in a new session, before any edit, and whenever the merchant asks whether you are connected. Answers the page the tab has open.

list_funnel_pages

Every page of the funnel as the server has it now, page-test versions included: step id, name, kind, address, design, and which one the tab is open on. A page added after the tab opened (clone_page, a canvas page) is listed here, not in list_pages, which only knows the design the tab holds. No parameters.

switch_page

Switch the editor to another page of the funnel and load its document on the canvas. Every other tool then targets that page. Node IDs are per page: call view_tree again after switching. Another step is refused while the tab has unsaved edits: save_page first, or open_page with reload: true to set them aside (they can be brought back). Undoing every edit since the last save also clears them.

open_page

Move the open tab to any page of the funnel. pageId opens a page of the open design in place; stepId (from list_funnel_pages, a page-test version included) reopens the tab on that step through the CRM, same tab id, and its saves then go to that step. reload: true first loads the server copy of the open step, unsaved edits set aside (they can be brought back), which also lets the tab leave a step with unsaved edits. Without it, a step with unsaved edits is never left: save_page first. Undoing every edit since the last save also clears them.

create_page

Create a new empty page in the funnel and make it active. Returns rootNodeId — use it as parentId for build_section. Content nodes must live inside Section > Layout.Container, never at the root.

delete_page

Delete a page of the funnel, or several at once with pageIds. NOT undoable. The last page is never deleted; deleting the open page first opens the nearest kept page (the canvas is stored into its own page). An unknown id deletes nothing. A standalone design of 40+ pages outgrows the browser storage: drop the pages already saved elsewhere. In a host-backed Studio, save_page afterwards.

save_page

Persist the open funnel through the Studio’s own save path, the same as the Save button. Until you call it, edits live only in the tab: closing or reloading it loses them. In Studio opened from the CRM, a save rebuilds the page on the funnel’s test address at once; that address is public and takes payments. The merchant’s own domain keeps its previous version until the funnel is published from the CRM. Returns what the save updated and the saved ids. No parameters.

Building Tools

Whole structures in one undo step. These run the same executor as the in-app Studio assistant.

build_section

Build a complete Section > Layout.Container > children structure in ONE undo step — the fastest way to add a full page section. Children may carry their own children at any depth (Grid > Card > Stack > content). Slots are created automatically. Returns sectionId, containerId, childIds and nodeCount (every node created, Section and Container included: compare it with what you sent). Include responsive.mobile padding on the section and paddingXMobile on the container (see read_guide).

add_nodes_batch

Add several flat sibling nodes under one parent slot in a single undo step. Slots are created for container kinds. Returns the new node IDs in order.

update_tokens_batch

Update many global tokens in one call — design tokens after apply_palette / apply_typography, or a full set of translations for one locale. With locale, every token is written as that locale’s variant and the result lists the copy.* tokens still missing a translation (repeat until complete: true).

Library Tools

The shipped section blocks, the blocks saved on the account and the template library — the same insert paths as the Studio sidebar and Add-Page picker. The page archetypes in guide://studio map each page type to block ids. Blocks carry the copy of the template they came from: insert with placeholders: true, then fill from list_text_slots.

list_blocks

List the ready-made section blocks: the shipped library (hero, nav, offer, social-proof, trust, features, story, product, data, checkout, cta, thankyou) plus the blocks saved on the account. Returns id, category, description and top-level kinds. Insert one with insert_block — faster and more polished than composing sections from primitives. The page archetypes in the guide (read_guide) map each page type to block ids.

insert_block

Insert a block from list_blocks into the page in ONE undo step, with fresh node ids. Section-rooted blocks go under the page root (the default parent); card blocks need a parentId inside a section. IMPORTANT: the blocks were lifted from real template pages, so each one arrives selling that page’s product (olive oil, work boots…). Pass placeholders: true to strip that copy, or rewrite every slot with list_text_slots + update_nodes_batch. A page composed of blocks you did not rewrite advertises several unrelated products at once.

list_text_slots

List every piece of copy under a node — the text a merchant would rewrite, without the layout, style or data props. Returns props (rewrite them all in ONE update_nodes_batch) and arrays (FAQ items, review rows: write the whole items array back on its node). Use it after insert_block or add_page_from_template instead of hunting through view_tree.

list_templates

Search the template library (sales pages, advertorials, listicles, VSLs, checkouts, thank-you pages, landings). Returns id, name, category, description and keywords. Start from one with add_page_from_template instead of building a page from scratch.

add_page_from_template

Add a new page to the funnel from a library template — a full copy with fresh node ids and the store branding applied — and make it active. Returns rootNodeId and rootChildCount. Checkout and thank-you templates force their page type; pass type “offer” for upsell/downsell templates. Then view_tree and rewrite the copy for the product. On an offer or landing page, set up what it sells next: list_offers, list_products, set_offer, link_offer, bind_offer_price.

Localization Tools

Token-based i18n: register locales, tokenize copy, write translations.

list_locales

List the locales registered on the page and the one the editor currently previews. No parameters.

add_locale

Register a locale on the page before writing its translations. Does not switch the preview.

set_active_locale

Switch the canvas preview to a locale so the user sees translated values. Empty string = default locale. View-only, nothing is written.

prepare_translation_pack

Canonical entry point for translating a page. Walks each node’s schema, auto-tokenizes every translatable text prop with a stable copy.{nodeId}.{prop} name and returns the complete list of {tokenName, defaultValue} pairs to translate. Skips design tokens, brand names, currency codes and format placeholders. Then write the translations with update_tokens_batch(locale).

tokenize_text

Lift one raw text prop into a global copy token and bind the node’s {propName}Token to it, so the text becomes localizable. For whole-page work prefer prepare_translation_pack.

tokenize_texts_batch

Tokenize many raw text props in one call (one UPDATE_PROPS per node). Fails before any write if a node ID is stale.

Skill Tools

Step-by-step build guides, one per job, read on demand. Each is also an MCP prompt and a skill://<id> resource (TAG-2994).

list_skills

List the skills: step-by-step build guides for one job each (create a page from a library design, checkout page, brand kit, translation…). Pass an id to read that skill in full. Read the matching skill BEFORE starting the job it covers; the guide (read_guide) stays the general reference.

read_guide

Read the Studio guide (the rules for building pages: tokens, structure, spacing, responsive, the page archetypes): the same text as the guide://studio resource, for clients that do not let you open resources. Read page 1 before building; it lists the sections and the page each starts on. skill reads one build guide in full instead (the guide lists them). No Studio tab needed.

Offer Tools

What a page sells: the store catalogue, the page offers and choices, and the elements that sell them (#TAG-3139).

list_products

Search the store catalogue: products, their variants and price rows (ids, price, cadence), each product and variant with its status (active or inactive, and out of stock when the store says so). Inactive ones are hidden unless includeInactive is true; the answer says how many were hidden. The only source of productId / variantId / priceId for set_offer: never invent one, never ask the user for an id.

list_offers

What the open page sells: its offers and choices, the elements pointing at each, every selling element, and the problems Studio counts as “missing” (unlinked or dangling elements, empty offers, an Order Bump’s offer of several products, a template’s sample offers, a compare-at to check) and what the whole page misses (a checkout with no payment form, nothing that sells) with their fix, and typedPrices to bind. A line marked sample: true is a template’s sample product: it shows on the canvas and sells nothing until set_offer replaces it with catalogue lines (keep its quantity). Done = no problem and no typed price. No parameters.

set_offer

Create an offer on the open landing, offer (upsell/downsell) or checkout page, or refill one by id (templates ship an empty one, often “main-offer”): the catalogue lines it sells. variantId / priceId default to the first active variant and its default price; quantity to 1. You pick a product and a price row, never an amount. An inactive product or variant is accepted: the answer warns that the checkout leaves that line out until it is activated, and what checkout does with an out-of-stock variant. compareAt and unitName are what an Offer Selector card or an Order Bump shows for it (struck price, savings, unit price). discount ({ percent }) is an upsell/downsell discount the server charges. For source-faithful templates, sampleLines authors IO-free previews without catalogue IDs; production excludes every sample. An Order Bump’s offer holds ONE line (any quantity).

set_choice

Create or change a choice: two offers or more the customer picks between (1 / 3 / 6 jars, subscribe or one-time). Pack pickers and the subscribe toggle point at a choice; a price text bound to it follows the pick.

remove_offer

Delete an offer or a choice. Elements pointing at it show “No offer” until linked again. Point selling elements at an offer or a choice: accept / buy Buttons, UpsellOffer cards, OfferPriceBanner, QuantityStepper, VariantSwatches, SubscriptionToggle, an OfferSelector at a choice (landing or checkout page: one card per offer), and an OrderBump at the ONE offer it adds (offerId, one product line; several add-ons = several OrderBumps). A plain Button becomes “Accept the offer” on an offer page, “Go to checkout” on a landing page. On a checkout page only the OfferSelector and the OrderBumps link. A decline (“No thanks”) button keeps action offerDecline: never link it.

bind_offer_price

Make a Text or Heading show a live price of an offer or a choice in place of typed placeholder prices. The typed text stays as the fallback while the price loads.

Content Tools

Source content through the Studio session: page extraction, image import, image generation.

fetch_url

Extract an external page with a headless browser (runs through the Studio session): structure, text, images uploaded to blob storage, colors, fonts, studioTokens ready for update_tokens_batch, a build_section-compatible nestedStructure per section, screenshots and a quality report. Takes up to 90s, so raise your MCP client call timeout above 120s before using it. If it times out anyway, retry with captureScreenshot: false and viewports: [“desktop”] — a text-only extraction still returns the structure, studioTokens and nestedStructure. Follow the URL reproduction workflow of the guide (read_guide).

fetch_section_detail

Full detail for one section of the last fetch_url extraction (content, layout tree, images, section screenshot URL, nestedStructure). Cached on the Studio side — no new browser launch.

import_images

Upload external image URLs to blob storage and get stable URLs for Media.Image src props. data:image/… URIs (an inline SVG wordmark, base64 or URL-encoded) are uploaded too: never leave a data: URI in a src. Results come back in input order.

generate_images

Generate images with AI (FAL.ai, via the Studio session) and get blob URLs for Media.Image src. Hero banners, feature illustrations, product mockups, backgrounds — not icons or logos. Max 6 per call, 5-15s each, run in parallel. Write detailed prompts: style, mood, subject, composition, palette colors.

MCP Resources

The server also exposes these resources agents can read:

Skills

A skill is a step-by-step build guide for one job, read on demand. The guide lists them, and the agent reads the one matching your request before it starts: studio_run with { "tool": "guide", "args": { "skill": "checkout-page" } }. You can also name a skill in your request (“follow the checkout-page skill”).