plexo-mcp

v1.1.7
@charisol/plexo-mcp Checked 3 days ago Published 4 days ago

Model Context Protocol (MCP) Server for Plexo - Landing page generation, email templates, publishing, and analytics.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

publish_existing_landing_page

Links a subdomain or custom domain to an already-existing landing page template — for a template created via create_landing_page, or the home page of a multi-page site (see create_landing_page_subpage) once its sub-pages are ready. Unlike publish_landing_page, this does NOT create a new template — it publishes the one you already have. Every sub-page nested under templateId automatically becomes reachable at this domain too (e.g. domain.com/about) — no separate publish call is needed per sub-page.

ParameterTypeDescription
domain *stringSubdomain slug (e.g. 'kicks') or custom domain ('kicks.com').
templateId *stringID of an existing landing page template to publish — must be a home page (no parent), not a sub-page.
typestringDomain routing type. Inferred from the domain string if omitted.

get_landing_page_pages

Returns every page belonging to the same multi-page site as the given template — its home page plus all nested sub-pages, each with its name, URL segment (slug), parent, and full resolved path (e.g. '/blog/post-1'). Pass the home page's ID or any sub-page's ID — either way you get the whole tree back. Use this before create_landing_page_subpage/update_landing_page_page when you need to know what pages already exist or what a page's current slug/parent is.

ParameterTypeDescription
templateId *stringID of the site's home page, or any sub-page within it.

delete_landing_page_page

Deletes a page. If it has sub-pages nested under it, they're deleted too (cascade) — the response reports how many. Deleting a site's home page deletes the whole site, including every page nested under it and its published domain link — this can't be undone, confirm with the user first.

ParameterTypeDescription
templateId *stringID of the page to delete.

list_landing_pages

Lists all saved landing page templates and published domain URLs in the user's Plexo account.

list_email_templates

Lists all saved email templates in the user's Plexo account.

get_blog_layout

[DEPRECATED — use page_create_from_template / page_edit / page_publish for landing pages and sites] Fetches a blog site's current custom layout (its designJson) for either the single-post page or the listing/index page — or reports that none has been designed yet (the site falls back to the default built-in blog theme until one is). Call this BEFORE design_blog_layout if you want to edit an existing layout rather than start blank, since design_blog_layout replaces the ENTIRE designJson.

ParameterTypeDescription
kind *stringWhich layout to fetch: 'post' for the single blog post page, 'listing' for the blog index/archive page.
templateId *stringThe blog site's home page template id (a root/parentless landing page — see list_landing_pages). BlogSite rows are always scoped to this id, never a sub-page.

reset_blog_layout

Detaches a blog site's custom post or listing layout, reverting it to the default built-in blog theme. The layout Template itself is NOT deleted — it stays editable and can be reattached later by calling design_blog_layout again (which reuses it rather than creating a new one).

ParameterTypeDescription
kind *stringWhich layout to detach.
templateId *stringThe blog site's home page template id.

get_blog_settings

Fetches a blog site's settings: whether the blog is enabled/live, its title/description, posts-per-page, whether it replaces the site's homepage, and its appearance (accent color, font preset, logo, header image, comments toggle).

ParameterTypeDescription
templateId *stringThe blog site's home page template id.

update_blog_settings

Updates a blog site's settings. The blog is NOT publicly visible at /blog until 'enabled' is set to true — call this with enabled: true before publishing posts if the user wants the blog live. Only the fields provided are changed; omit any field to leave it as-is.

ParameterTypeDescription
templateId *stringThe blog site's home page template id.
accentColorstringHex accent color for the default theme (e.g. '#6d28d9'). Ignored if a custom design_blog_layout has been designed.
commentsEnabledbooleanSitewide comments master switch (a post's own commentsEnabled must also be true for its comments to show).
descriptionstringBlog description/tagline.
enabledbooleanWhether the blog is publicly visible at /blog.
fontPresetstringFont preset for the default theme.
headerImageUrlstringHeader/banner image URL for the default theme.
logoUrlstringLogo image URL for the default theme.
postsPerPagenumberPosts per listing page, 1-50.
showOnHomepagebooleanIf true, the blog listing replaces the site's own root page ('/') instead of living at '/blog'.
titlestringBlog title (shown in headers/SEO).

list_blog_posts

Lists a blog site's posts (up to 200, most recently updated first), with optional status/search/category filters.

ParameterTypeDescription
templateId *stringThe blog site's home page template id.
categorySlugstringOptional category slug filter (see list_blog_categories).
searchstringOptional case-insensitive title search.
statusstringOptional status filter.

get_blog_post

Fetches one blog post's full details (content, SEO fields, categories, tags, author) by id or slug.

ParameterTypeDescription
templateId *stringThe blog site's home page template id.
postIdstringThe post's id. Provide this or slug.
slugstringThe post's URL slug. Provide this or postId.

create_blog_post

Creates and saves a new blog post. Content is written as plain semantic HTML (contentHtml) — <p>, <h2>-<h4>, <ul>/<ol>/<li>, <a href>, <img src alt>, <strong>, <em>, <blockquote> — NOT raw ProseMirror/Tiptap JSON; the server converts it automatically. A DRAFT post is saved but not publicly visible until its status is PUBLISHED (or the blog itself isn't enabled yet — see update_blog_settings) — set status to "PUBLISHED" to publish immediately, or omit it to save as a draft. categoryNames/tagNames/authorName are plain names, not ids — matching ones are reused, unmatched ones are creat…

ParameterTypeDescription
templateId *stringThe blog site's home page template id.
title *stringPost title.
authorNamestringOptional byline name — reused if an author with this name exists, created otherwise.
categoryNamesarrayOptional category names — reused/created as needed.
contentHtmlstringPost body as semantic HTML (see this tool's description for supported tags).
excerptstringOptional short summary shown on the listing page. Auto-generated from content if omitted.
featuredImageAltstringOptional alt text for the featured image.
featuredImageUrlstringOptional featured/hero image URL.
metaDescriptionstringOptional SEO meta description. Falls back to the excerpt.
metaTitlestringOptional SEO meta title. Falls back to the post title.
noindexbooleanIf true, adds a noindex meta tag (hides the post from search engines).
ogImageUrlstringOptional Open Graph share image URL. Falls back to the featured image.
scheduledAtstringISO datetime to auto-publish at — only used when status is SCHEDULED.
slugstringOptional URL slug. Auto-generated from the title if omitted; auto-suffixed on collision.
statusstringDefaults to DRAFT if omitted.
tagNamesarrayOptional tag names — reused/created as needed.

update_blog_post

Edits an existing blog post in place. Only the fields provided are changed — omit any field to leave it as-is. Same contentHtml/categoryNames/tagNames/authorName conventions as create_blog_post (plain HTML in, names not ids).

ParameterTypeDescription
postId *stringThe post to update.
templateId *stringThe blog site's home page template id.
authorNamestringByline name — reused/created as needed.
categoryNamesarrayFULL replacement category list — reused/created as needed.
contentHtmlstringPost body as semantic HTML — replaces the entire body if provided.
excerptstring
featuredImageAltstring
featuredImageUrlstring
metaDescriptionstring
metaTitlestring
noindexboolean
ogImageUrlstring
scheduledAtstringISO datetime — only used when status is SCHEDULED.
slugstring
statusstring
tagNamesarrayFULL replacement tag list — reused/created as needed.
titlestring

delete_blog_post

Permanently deletes a blog post. Cannot be undone — confirm with the user first.

ParameterTypeDescription
postId *stringThe post to delete.
templateId *stringThe blog site's home page template id.

list_blog_categories

Lists a blog site's categories.

ParameterTypeDescription
templateId *stringThe blog site's home page template id.

create_blog_category

Creates a blog category. Categories/tags/authors are usually better created implicitly via create_blog_post/update_blog_post's categoryNames — use this directly only when you need to set up a category (e.g. with a parent) before any post references it.

ParameterTypeDescription
name *stringCategory name.
templateId *stringThe blog site's home page template id.
descriptionstringOptional category description.
parentNamestringOptional parent category name, to nest this under it.

delete_blog_category

Deletes a blog category. Posts keep their other categories/tags — only this category's assignment goes away.

ParameterTypeDescription
templateId *stringThe blog site's home page template id.
categoryIdstringThe category's id. Provide this or name.
namestringThe category's name (case-insensitive). Provide this or categoryId.

list_blog_tags

Lists a blog site's tags.

ParameterTypeDescription
templateId *stringThe blog site's home page template id.

create_blog_tag

Creates a blog tag. Usually better created implicitly via create_blog_post/update_blog_post's tagNames — use this directly only when you need the tag to exist before any post references it.

ParameterTypeDescription
name *stringTag name.
templateId *stringThe blog site's home page template id.

delete_blog_tag

Deletes a blog tag. Posts keep their other tags — only this tag's assignment goes away.

ParameterTypeDescription
templateId *stringThe blog site's home page template id.
namestringThe tag's name (case-insensitive). Provide this or tagId.
tagIdstringThe tag's id. Provide this or name.

list_blog_authors

Lists a blog site's authors/bylines.

ParameterTypeDescription
templateId *stringThe blog site's home page template id.

create_blog_author

Creates a blog author/byline (a guest byline, not a login-capable account — WordPress-style). Usually better created implicitly via create_blog_post/update_blog_post's authorName — use this directly only when you need to set a bio/avatar before any post references it.

ParameterTypeDescription
name *stringAuthor display name.
templateId *stringThe blog site's home page template id.
avatarUrlstringOptional avatar image URL.
biostringOptional author bio.

delete_blog_author

Deletes a blog author. Their posts are kept — they just lose the byline (same as removing a category/tag).

ParameterTypeDescription
templateId *stringThe blog site's home page template id.
authorIdstringThe author's id. Provide this or name.
namestringThe author's name (case-insensitive). Provide this or authorId.

list_blog_comments

Lists a blog site's comments (up to 200, most recent first), across all posts. Every comment starts PENDING and is invisible to visitors until moderated APPROVED.

ParameterTypeDescription
templateId *stringThe blog site's home page template id.
statusstringOptional status filter.

moderate_blog_comment

Approves, rejects, or marks a comment as spam (or resets it to pending).

ParameterTypeDescription
commentId *stringThe comment to moderate.
status *stringNew moderation status.
templateId *stringThe blog site's home page template id.

delete_blog_comment

Permanently deletes a comment (and any replies nested under it, cascading).

ParameterTypeDescription
commentId *stringThe comment to delete.
templateId *stringThe blog site's home page template id.

list_commerce_products

Lists a site's Commerce products (physical, service, or digital), most recently created first.

ParameterTypeDescription
templateId *stringThe site's home page template id.
activeOnlybooleanIf true, only returns products that aren't soft-deleted/deactivated.
kindstringOptional kind filter.

list_commerce_orders

Lists a site's Commerce orders (25 per page, most recent first), with optional status/search filters.

ParameterTypeDescription
templateId *stringThe site's home page template id.
pagenumber1-indexed page number.
qstringOptional search across order number, customer email, and customer name.
statusstringOptional status filter.

update_commerce_order

Updates an order's fulfillment status (UNFULFILLED/PROCESSING/READY_FOR_PICKUP/SHIPPED/COMPLETED). Payment status is never settable here — it only changes via the payment webhook or refund_commerce_order.

ParameterTypeDescription
fulfillmentStatus *string
orderId *string
templateId *stringThe site's home page template id.

get_commerce_wallet

Fetches a site's (or its org's pooled) Commerce wallet balance and recent ledger — the withdrawable balance from Platform Paystack/Platform Stripe sales.

ParameterTypeDescription
templateId *stringThe site's home page template id.

list_commerce_withdrawals

Lists the Commerce wallet's withdrawal requests and their status (PENDING/PROCESSED/REJECTED — processed manually by the Plexo team).

ParameterTypeDescription
templateId *stringThe site's home page template id.

request_commerce_withdrawal

Requests a manual bank-transfer payout of the Commerce wallet balance. Reserves the amount immediately; processed manually by the Plexo team.

ParameterTypeDescription
accountHolderName *string
accountNumber *string
amountCents *numberAmount to withdraw, in the smallest currency unit.
bankName *string
templateId *stringThe site's home page template id.

get_commerce_stripe_access_status

Reports the organization's current standing to use Platform Stripe for Commerce checkout (NONE/PENDING/APPROVED/REJECTED). Org-scoped, not per-site.

request_commerce_stripe_access

Requests staff approval to route Commerce checkout through Plexo's own Stripe account for international payments. Org-scoped — approval covers every site in the organization once granted.

ParameterTypeDescription
expectedVolumestringOptional — expected monthly volume.
reasonstringOptional — why Stripe is needed.

list_commerce_delivery_methods

Lists a site's configured delivery/fulfillment methods (pickup and/or courier options with fees and country/state restrictions), sorted by their display order.

ParameterTypeDescription
templateId *stringThe site's home page template id.

create_commerce_delivery_method

Creates a delivery/fulfillment method a customer can choose at checkout.

ParameterTypeDescription
name *stringShown to the customer at checkout, e.g. "Store Pickup" or "Lagos Courier".
templateId *stringThe site's home page template id.
type *string
countriesarrayISO-3166-1 alpha-2 codes this method is restricted to. Omit/empty for worldwide.
descriptionstring
estimatedTimeLabelstringe.g. "2-3 business days".
feeMinornumberFee in the smallest currency unit. Defaults to 0.
sortOrdernumber
statesarrayState/region names this method is restricted to. Omit/empty for unrestricted.

update_commerce_delivery_method

Updates a delivery method. Only the fields provided are changed.

ParameterTypeDescription
deliveryMethodId *string
templateId *stringThe site's home page template id.
countriesarrayEmpty array clears the restriction (worldwide).
descriptionstringEmpty string clears it.
estimatedTimeLabelstring
feeMinornumber
namestring
sortOrdernumber
statesarrayEmpty array clears the restriction.
statusstring
typestring

delete_commerce_delivery_method

Permanently deletes a delivery method.

ParameterTypeDescription
deliveryMethodId *string
templateId *stringThe site's home page template id.

resolve_bank_transfer_order

Confirms or rejects a bank-transfer order that's waiting for payment (status PENDING, paymentMethod BANK_TRANSFER). action "confirm" marks it PAID and runs the normal paid flow (customer confirmation email, digital delivery, booking confirmed) — only use it once the site owner says the money has actually arrived in their account. action "reject" cancels it, releases its stock/booking slot, and emails the customer (optional reason is included).

ParameterTypeDescription
action *string
orderId *string
templateId *stringThe site's home page template id.
reasonstringOptional note to the customer when rejecting.

list_commerce_discounts

Lists a site's discount codes, most recently created first.

ParameterTypeDescription
templateId *stringThe site's home page template id.

create_commerce_discount

Creates a discount code customers can redeem at checkout.

ParameterTypeDescription
code *stringCase-insensitive; stored uppercased. Must be unique on this site.
templateId *stringThe site's home page template id.
type *string
value *numberA positive integer. For PERCENT, out of 100 (and can't exceed 100). For FIXED, the smallest currency unit.
expiresAtstringOptional ISO 8601 date/time after which the code stops working.
usageLimitnumberOptional max number of redemptions.

update_commerce_discount

Updates a discount code's active state, expiry, or usage limit. code/type/value can't be changed once created — delete and recreate instead.

ParameterTypeDescription
discountId *string
templateId *stringThe site's home page template id.
activeboolean
expiresAtstringEmpty string clears the expiry.
usageLimitnumber0 or omitted-as-empty clears the limit.

delete_commerce_discount

Permanently deletes a discount code.

ParameterTypeDescription
discountId *string
templateId *stringThe site's home page template id.

list_commerce_customers

Lists everyone who's completed a paid order with this site, aggregated from its own orders (works for Stripe or Paystack, however the customer paid).

ParameterTypeDescription
templateId *stringThe site's home page template id.
pagenumber1-indexed page number.

create_funnel

Attaches Funnel/LMS capability to an existing root landing page (see create_landing_page / list_landing_pages for how to get one), seeding a single Welcome page. Gated by the organization's funnel slot allowance (get_funnel_addon_slots shows current usage) — fails with the slot summary if none is available.

ParameterTypeDescription
templateId *stringAn existing root landing page's template id to turn into a funnel.

get_funnel

Fetches a funnel's settings: enabled state, signup mode (FREE/PAID), signup product, and welcome-page options.

ParameterTypeDescription
templateId *stringThe funnel's home page template id.

update_funnel

Updates a funnel's settings. Only the fields provided are changed. Switching signupMode to PAID requires signupProductId (a DIGITAL Commerce product) to already be set or provided here.

ParameterTypeDescription
templateId *stringThe funnel's home page template id.
collectPhoneboolean
enabledboolean
requireNameboolean
signupModestring
signupProductIdstringA DIGITAL Commerce product id (see create_commerce_product). Pass an empty string to clear it.
welcomeRedirectPathstringPass an empty string to clear it.

delete_funnel

Soft-deletes a funnel (enabled:false — hidden from visitors). Pages, enrollments, and progress are kept, so re-enabling later restores everything as-is.

ParameterTypeDescription
templateId *stringThe funnel's home page template id.

list_funnel_pages

Lists a funnel's pages in their display order.

ParameterTypeDescription
templateId *stringThe funnel's home page template id.

delete_funnel_page

Deletes a funnel page and closes the resulting order gap in the remaining pages.

ParameterTypeDescription
pageId *string
templateId *stringThe funnel's home page template id.

reorder_funnel_pages

Reorders a funnel's pages. orderedPageIds must contain exactly this funnel's current page ids, in the new order.

ParameterTypeDescription
orderedPageIds *array
templateId *stringThe funnel's home page template id.

list_funnel_enrollments

Lists a funnel's learner enrollments, most recently enrolled first.

ParameterTypeDescription
templateId *stringThe funnel's home page template id.

get_funnel_enrollment

Fetches one learner's enrollment plus their per-page progress.

ParameterTypeDescription
email *string
templateId *stringThe funnel's home page template id.

approve_funnel_enrollment_page

Marks one page as manually approved for one learner — the way a MANUAL_APPROVAL unlock condition gets satisfied (see update_funnel_page's unlockRules description). Reversible: calling it again just re-stamps the approval.

ParameterTypeDescription
email *string
pageId *string
templateId *stringThe funnel's home page template id.

set_funnel_enrollment_status

Revokes or reactivates a learner's enrollment. Revoked takes effect immediately on their next page load (no session to separately invalidate).

ParameterTypeDescription
email *string
status *string
templateId *stringThe funnel's home page template id.

get_funnel_addon_slots

Reports the organization's funnel slot usage (plan-included + purchased addon slots vs. funnels currently using one) and any active addon-slot subscriptions. Org-scoped, not per-site.

list_donations

Shows a site's donations: totals (raised, donors, monthly donors), every donation form (campaign) with its amounts and progress, monthly donors, and recent gifts. Also says whether payments are connected yet (paymentsReady) — if not, tell the owner to connect Stripe/Paystack or add bank details in Commerce → Settings → Payments.

ParameterTypeDescription
templateId *stringThe site's home page id (see list_landing_pages).

create_donation_campaign

Creates a donation form (campaign) for a site — one-time and optional monthly giving — and switches on everything donations need (no shop is created). Returns the campaign id and the embed snippet `<div data-plexo-donation="<id>"></div>`: add that HTML to any page (e.g. via update_landing_page_page or a raw HTML page) to show a working donate form styled to the site.

ParameterTypeDescription
name *stringWhat donors are giving to, e.g. 'Support our mission'.
presetAmounts *arraySuggested amounts in the smallest currency unit, optionally named — e.g. [{"amountMinor":2500,"label":"Bronze"},{"amountMinor":5000}].
templateId *stringThe site's home page id.
allowCustomAmountbooleanLet donors type their own amount (default true).
allowMonthlybooleanOffer monthly giving (default true; needs Stripe or Paystack connected).
buttonLabelstringDonate button text (default 'Donate').
defaultFrequencystringWhich frequency is pre-selected.
defaultPresetIndexnumberWhich suggested amount is pre-selected (0-based).
descriptionstringOptional one-line description shown on the form.
goalAmountMinornumber | nullOptional fundraising goal — shows a progress bar.
minAmountMinornumberSmallest custom amount, smallest currency unit (default 100).
thankYouMessagestringShown after donating and in the receipt email.

update_donation_campaign

Edits a donation campaign. Only the fields you pass change. Pass active:false to turn a form off (gifts history is kept).

ParameterTypeDescription
campaignId *string
templateId *string
activeboolean
allowCustomAmountbooleanLet donors type their own amount (default true).
allowMonthlybooleanOffer monthly giving (default true; needs Stripe or Paystack connected).
buttonLabelstringDonate button text (default 'Donate').
defaultFrequencystringWhich frequency is pre-selected.
defaultPresetIndexnumberWhich suggested amount is pre-selected (0-based).
descriptionstringOptional one-line description shown on the form.
goalAmountMinornumber | nullOptional fundraising goal — shows a progress bar.
minAmountMinornumberSmallest custom amount, smallest currency unit (default 100).
namestringWhat donors are giving to, e.g. 'Support our mission'.
presetAmountsarraySuggested amounts in the smallest currency unit, optionally named — e.g. [{"amountMinor":2500,"label":"Bronze"},{"amountMinor":5000}].
thankYouMessagestringShown after donating and in the receipt email.

cancel_monthly_donation

Stops one donor's monthly gift (at Stripe/Paystack too) — they won't be charged again. Only do this when the owner asks; confirm the donor first using list_donations.

ParameterTypeDescription
subscriptionId *stringFrom list_donations' monthlyDonors[].id.
templateId *string

adopt_monthly_donors

Brings monthly donors over from a previous website: finds active monthly gifts on the site's connected Stripe/Paystack account that Plexo doesn't know yet and records them under a campaign, so every future charge is receipted and counted. Donors don't have to do anything. Requires the SAME payment account the old site used to be connected.

ParameterTypeDescription
campaignId *string
templateId *string

check_site_health

Runs a speed and findability check on a site's live address (Google PageSpeed on a phone and a computer: how fast it opens, Core Web Vitals, search, accessibility, plus Plexo's AI-visibility score) and lists the problems found in plain words, biggest first, each with a gain estimate, the steps to fix it by hand, exact page elements when known, and, where Plexo can do it, an autoFix id for apply_site_health_fix. Reuses the last result if it is under 5 minutes old. The site must be published. Read the assistantNote in the result: it says what to tell the owner and offers the fix.

ParameterTypeDescription
templateId *stringThe site's home page id (see list_landing_pages).
useLastbooleanTrue returns the last saved result without running a new check.

apply_site_health_fix

Previews, applies or undoes Plexo's one-click site health fixes. Fixes apply when pages are served and never rewrite the owner's pages, so undoing one puts everything back. fix is one of: meta_description (writes a search summary from the page), page_title (names pages that have no title: written once with AI from the page, shown in the preview to edit, uses a few AI credits), social_tags (link previews for WhatsApp, Facebook, LinkedIn), llms_txt (a guide file for AI assistants), ai_robots (tells AI crawlers they are welcome), organization_schema (business details for search engines: name, log…

ParameterTypeDescription
fix *string
templateId *stringThe site's home page id.
altsobjectFor alt_text: { "<picture address>": "A chocolate cake on a stand" }, the descriptions from the preview, possibly edited.
businessobjectFor organization_schema: the business details the owner confirmed. Fields: kind (local: customers visit a place, or online), name, phone, email, address {street, city, region, postalCode, country}, ho…
enabledbooleanDefault true. False undoes the fix.
previewbooleanTrue shows what the fix would change, in plain words, without changing anything.
regeneratebooleanWith preview: true on page_title or alt_text, writes the texts again (uses AI credits again).
textstringFor meta_description: the summary to use (40 to 200 characters), usually the one shown in the preview, possibly edited by the owner.
titlesobjectFor page_title: { "/about": "About us | Mama Tee Bakery" }, the titles from the preview, possibly edited.

set_site_health_email

Turns the weekly "Your site health" email on or off for a site. The email goes to the site's owner once a week: how the site is doing, what changed since last week, the 3 things to fix first and a button to open Site health. It is on by default; every email also has an unsubscribe link. check_site_health shows the current setting as settings.emailDigest.

ParameterTypeDescription
enabled *booleanTrue turns the weekly email on, false turns it off.
templateId *stringThe site's home page id.

preview_wordpress_migration

Checks a WordPress website and previews what moving it to Plexo would involve — WITHOUT changing anything. Finds WordPress even when it's installed in a subfolder or behind a splash/landing page, and returns page/post/media counts, the theme, and what will happen to each plugin (replaced by a Plexo feature, carried over as-is, needs attention, or not needed). Call this first and show the owner the plugin outcomes — especially anything marked NEEDS_ATTENTION (e.g. payment/donation plugins) — before calling start_wordpress_migration.

ParameterTypeDescription
url *stringThe site's public address, e.g. 'example.org' or 'https://example.org/blog'. Any page on the site works.

start_wordpress_migration

Starts moving a WordPress site to a NEW Plexo site (never overwrites an existing one). Copies every page exactly as it looks (theme, Elementor and other page-builder designs, fonts, animations), every blog post into Plexo Blog, the whole media library, and every SEO tag — keeping every web address identical so search rankings and links survive. Forms (Forminator, Contact Form 7, WPForms, Elementor) are reconnected to Plexo Forms. The WordPress site itself is not changed. Requires the owner's explicit confirmation that they own the site (ownershipConfirmed: true) — ask them, never assume.…

ParameterTypeDescription
ownershipConfirmed *booleantrue only if the owner confirmed they own the site or have permission to move it.
url *stringThe site's public address (same as preview_wordpress_migration).
acceptAcceptableUsePolicybooleantrue only if the owner agreed to Plexo's Acceptable Use Policy (needed once per account).

get_wordpress_migration

Returns a WordPress migration's progress and estimated time left (it runs on its own; each call also nudges it along). Check back occasionally rather than polling in a tight loop — the owner is emailed when it finishes. If phase is PAUSED_ERROR, calling again retries from where it stopped. When COMPLETED, returns the report: what was copied, SEO comparison, what happened to each plugin, and a cutover checklist. Items with status "blocked" (e.g. connecting payments for a donation form) must be done before the owner points their domain at Plexo; tell the owner about them plainly. Omit jobId to…

ParameterTypeDescription
jobIdstringThe migration id returned by start_wordpress_migration.
templateIdstringThe Plexo site id returned by start_wordpress_migration.

connect_wordpress_migrator_plugin

Starts copying what WordPress keeps private (past form entries and applications, donation history, drafts, redirect rules, the team list) for a finished migration. Returns a download link for the read-only "Plexo Migrator" WordPress plugin and a connection code. Tell the owner: install and activate the plugin (Plugins → Add New → Upload Plugin), then paste the code in WordPress under Tools → Plexo Migrator. Then call import_wordpress_private_data.

ParameterTypeDescription
jobId *string
templateId *string

import_wordpress_private_data

Checks the Plexo Migrator plugin connection and copies the next batch of private data. Call repeatedly until stage is "done". If it returns an error message, relay it to the owner (it says exactly what to do, e.g. "paste the code in Tools → Plexo Migrator"). When done, the result lists the team found on WordPress — offer to invite them.

ParameterTypeDescription
jobId *string
templateId *string

get_domain_switch_plan

For a finished migration: reads the old domain's live DNS and returns exactly how to point it at Plexo — who hosts the DNS (and whether cancelling the WordPress hosting would delete it), the email provider, records to KEEP unchanged (email, verification), records to ADD for Plexo, step-by-step instructions and a zone file. Connect the domain first with publish_existing_landing_page (CUSTOM, both apex and www) so the certificate records are included. Always relay the warnings to the owner.

ParameterTypeDescription
jobId *string
templateId *string

verify_domain_switch

Checks on the real domain that Plexo now serves every migrated URL, email records are intact, DNS no longer depends on the old host, and nothing in the migration is blocking. Only tell the owner it's safe to cancel WordPress hosting when safeToCancelWordPress is true. Call get_domain_switch_plan first.

ParameterTypeDescription
jobId *string
templateId *string

list_section_types

Lists the reusable sections a site has (Testimonials and FAQ are set up for every site, plus anything the owner or you made): each one's id, the fields to fill in (a 'list' field repeats — one row per testimonial/question/team member) and its HTML design. Use the ids with add_custom_section.

ParameterTypeDescription
templateId *stringAny page id of the site (see list_landing_pages).

create_section_type

Creates a reusable section the owner can add to ANY page of the site (it appears under 'Yours' in the editor's Add section panel). Give it a name (what's being created, e.g. 'Team members'), the fields people fill in, and its HTML design. Field types: text, longtext, richtext (bold/italic/links/lists — value is simple HTML like <p>Hi <strong>you</strong></p>, shown with {{field}} inside a <div>; give it a key no other field uses), image, link (one address), button (label + link), icon, toggle, color (a #hex value), select (needs options), and list — a repeating group with its own item fiel…

ParameterTypeDescription
fields *array[{label, type, hint? (help shown under the box), placeholder? (example in the empty box), options?, item?: [{label, type}], itemName?, min?, limit?}]. The key is made from the label.
html *stringThe section's design, with {{placeholders}}.
name *stringWhat are you creating? e.g. 'Testimonials'.
templateId *stringAny page id of the site.
defaultsobjectOptional starting content.
descriptionstring

update_section_type

Changes a reusable section's name, fields, design or starting content. The design is shared: every page already using it is redrawn with the new design (each page keeps its own content) and rebuilt — the reply says how many pages changed. Pass only what changes; fields/html are validated together.

ParameterTypeDescription
sectionTypeId *stringFrom list_section_types.
templateId *stringAny page id of the site.
defaultsobject
descriptionstring
fieldsarray
htmlstring
namestring

add_custom_section

Puts a reusable section on a page (saved as a draft, like page_edit; publish with page_publish). Pass content with a value for each field to fill it in — for a repeating group pass an array with one object per row (e.g. items: [{quote, name}, …]). Leave content out to start from the sample content, then change it with page_edit's updateSection. Use afterSectionId to place it below an existing section; otherwise it goes at the end.

ParameterTypeDescription
sectionTypeId *stringFrom list_section_types.
templateId *stringThe page to add it to.
afterSectionIdstringA section id from page_describe.
contentobject{fieldKey: value, listKey: [{...}, {...}]}

list_section_entries

Lists every place a reusable section is used across the site's pages: page, the section's id on that page (sectionId), the words that identify it (keyText), how many repeated rows it has, and when it last changed. Optionally filter to one section type and/or search the words. Use the pageId + sectionId with get_section_entry / update_section_entry.

ParameterTypeDescription
templateId *stringAny page id of the site.
searchstringOnly entries whose words, page or section name contain this.
sectionTypeIdstringOnly this section type (from list_section_types).

get_section_entry

Reads one use of a reusable section: its fields and the content in them right now (the page's working copy when it has one), including each repeated row by position.

ParameterTypeDescription
pageId *stringThe page the section is on (from list_section_entries).
sectionId *stringFrom list_section_entries.
templateId *stringAny page id of the site.

update_section_entry

Changes the words in one use of a reusable section, without touching the rest of the page. It goes live right away (the page's own unpublished changes stay waiting). Pass `content` to set fields ({heading: 'New'} or one cell of a row: {'items.1.name': 'Ada'}), and/or row operations for a repeating group: addRows {field, rows:[{…}], at?}, removeRows {field, indexes:[…]}, moveRow {field, from, to}, duplicateRow {field, index}. Rows are counted from 0. Formatted-text fields take simple HTML (<p>, <strong>, <em>, <a href>, <ul>/<ol>/<li>); anything else is removed.

ParameterTypeDescription
pageId *string
sectionId *string
templateId *stringAny page id of the site.
addRowsobject
contentobject{fieldKey: value} or {'list.0.field': value}
duplicateRowobject
moveRowobject
removeRowsobject

remove_section_entries

Takes reusable sections off their pages (live and working copy). Pass the pageId + sectionId pairs from list_section_entries. The section's design stays available to add again.

ParameterTypeDescription
items *array
templateId *stringAny page id of the site.

site_layout_describe

Shows a visual site's shared header and footer (its "site core"): whether they're switched on, and the sections of each (the header's menu links, the footer's columns). Every page of the site shows them unless that page hides them (page_chrome_set). Look here BEFORE adding a menu or footer to a page — pages must not carry their own, they would be duplicated. An older site starts with a BLANK header/footer (blank:true: nothing shows, its pages keep their own menu) — then adding a menu to a page is fine, or adopt the shared one with site_layout_edit {kind, reset:true}. Hand-written (HTML) si…

ParameterTypeDescription
siteId *stringThe site's home page id (list_landing_pages shows it).

site_layout_edit

Changes the site's shared header or footer, once, for every page — the menu links, logo/brand name, button, footer columns, social links, copyright. Uses the same section commands as page_edit (updateSection with content such as {links:[{label,href}]} for the header; call site_layout_describe for the section ids and fields). Live immediately. On an older site whose header/footer is still blank, kind + reset:true (or any commands) adds one built from the site's own existing menu; pass removeOldChrome:true afterwards to take each page's old inline header/footer off so it doesn't show twice (th…

ParameterTypeDescription
siteId *stringThe site's home page id (list_landing_pages shows it).
commandsarraypage_edit-style commands applied to the header or footer.
enabledbooleanSwitch the site's shared header and footer on or off.
kindstringWhich part to change. Not needed with enabled alone.
removeOldChromebooleanAfter the shared header/footer is in place, remove each page's own copy so it isn't shown twice.
resetbooleanBlank header/footer: add one built from the site's menu. Already designed: replace with a fresh default (ask the owner first).

page_chrome_set

Shows or hides the site's shared header and/or footer on ONE page (both are shown by default) — the "Show header" / "Show footer" switches in the editor's Page settings. Use showHeader:false for a landing page or checkout that should have no menu. Live immediately. With no showHeader/showFooter it just reports the current state.

ParameterTypeDescription
templateId *stringThe page's id.
showFooterboolean
showHeaderboolean

site_code_get

Shows the code the owner pasted for every page's header (inside <head>) and footer (end of <body>) — site verification tags, analytics and ad pixels — and whether they can add code right now. `blocked` says in plain words what's missing (the Starter plan or above, or a connected custom domain); `domain` is where it runs; `onCheckout` says whether it also runs on cart/checkout pages; `headSnippets`/`footerSnippets` name what is saved (e.g. 'Google Search Console site verification').

ParameterTypeDescription
siteId *stringThe site's home page id (list_landing_pages shows it).

site_code_set

Saves the owner's own code for every page's header and/or footer, e.g. a Google verification <meta>, a Google Analytics or Meta pixel <script>. Pass the snippet exactly as the service gave it; send only what changes and "" to clear one. Rules, checked on the server exactly as in the dashboard: only <script>, <meta>, <link>, <noscript> and <style> tags (plus <img>/<iframe> inside <noscript>), at most 20,000 characters, script src must be a full https:// address. Anything else is rejected with a plain reason — fix the snippet and retry. It only runs on the live site at the owner's OWN domain,…

ParameterTypeDescription
siteId *stringThe site's home page id (list_landing_pages shows it).
footerstringCode for the footer (end of every page). "" clears it.
headstringCode for the header (top of every page). "" clears it.
onCheckoutbooleanAlso run on cart, checkout and order pages (off by default; only if the owner asks, since those pages take payment details).

get_site_visits

Detailed visitor numbers for a site from its Google Analytics (visitors, pages looked at, top pages, where people came from, countries, devices) with plain-language takeaways. Needs a paid plan and the numbers switched on (turn_on_visitor_numbers). Data usually appears a few hours after switching on. For simple counts on any plan use get_analytics.

ParameterTypeDescription
templateId *stringThe site's home page id (see list_landing_pages).
daysnumberDefault 28.

turn_on_visitor_numbers

Switches on detailed visitor numbers for a published site in one step. Plexo sets up and owns the Google Analytics property, so the owner does NOT need a Google account. Adds the counting to the site; visitors in Europe, the UK, Switzerland and Brazil see a small cookie notice first (see set_cookie_notice). Needs a paid plan.

ParameterTypeDescription
templateId *stringThe site's home page id (see list_landing_pages).

turn_off_visitor_numbers

Stops detailed visitor counting on a site and removes the counting from its pages. Simple visit counts (get_analytics) keep working.

ParameterTypeDescription
templateId *stringThe site's home page id (see list_landing_pages).

share_visitor_numbers_with_google

Optional: gives the owner's own Google account access to the site's Plexo-managed Google Analytics property, so they can see it at analytics.google.com. Plexo keeps counting too. Needs the numbers switched on first.

ParameterTypeDescription
email *stringThe Google account email to share with.
templateId *stringThe site's home page id (see list_landing_pages).

convert_page_to_code

Turns ONE block-built page into a page of editable HTML code, so the owner gets the Design, Code and Text views for it. The page looks exactly the same; if Plexo can't be sure of that it refuses and changes nothing. Emails, shared layouts (header, footer, blog, shop) and apps can't be converted. Always call it with preview true first and tell the owner, in plain words, what comes along (notes.copied) and what to know (notes.heads): the site's header and footer are COPIED into the page, so later edits to the site header or footer do not reach this page; code pages have no separate draft, so sav…

ParameterTypeDescription
templateId *stringThe page's id (see list_landing_pages / get_landing_page_pages / find_page).
previewbooleanTrue changes nothing: returns what would come along and what to tell the owner first.
sourcestringWhich version becomes the code when the page has unpublished changes and is live. Default working.

restore_page_blocks

Goes back to blocks for a page that was turned into code with convert_page_to_code: restores the block design saved at that moment (including any unpublished changes it had) and makes it a block page again. Any changes made to the code since are NOT kept: tell the owner and confirm before calling. The page is rebuilt with the site's current header and footer.

ParameterTypeDescription
templateId *stringThe page's id (see list_landing_pages / get_landing_page_pages / find_page).

list_apps

Lists this account's React apps with their preview links and whether they're published.

app_status

An app at a glance: preview and live links, domains, latest build, whether it's published, and its databases.

ParameterTypeDescription
appId *stringThe app's id (from create_app or list_apps).

app_list_files

Lists the app's files (paths and sizes). Optionally only those under a folder prefix like "src/pages".

ParameterTypeDescription
appId *stringThe app's id (from create_app or list_apps).
prefixstring

app_read_files

Reads up to 30 files' contents. Always read a file before editing it.

ParameterTypeDescription
appId *stringThe app's id (from create_app or list_apps).
paths *array

app_delete_files

Deletes files (a folder path deletes everything under it). Undoable via app_restore_version.

ParameterTypeDescription
appId *stringThe app's id (from create_app or list_apps).
paths *array

app_rename_file

Renames or moves a file. Update its imports with app_edit_file afterwards.

ParameterTypeDescription
appId *stringThe app's id (from create_app or list_apps).
from *string
to *string

app_runtime_errors

Errors the app's preview reported recently while people (or the owner) used it — crashes, failed backend calls. Check this when the owner says something is broken.

ParameterTypeDescription
appId *stringThe app's id (from create_app or list_apps).
minutesnumberHow far back (default 60).

app_db_schema

The app's database: tables, columns, relations, row-level-security policies, applied migrations, and security findings with fixes.

ParameterTypeDescription
appId *stringThe app's id (from create_app or list_apps).
envstringWhich database: "dev" (the preview, default) or "live" (the published app).

app_sql

Runs SQL on the app's PREVIEW database as its owner (sees every row; new tables get row-level security on). For exploring data or quick fixes while developing. Lasting schema changes belong in a new db/migrations/NNNN_name.sql file instead, so they reach the live database on publish.

ParameterTypeDescription
appId *stringThe app's id (from create_app or list_apps).
sql *string

app_design_describe

Reads the app's visually designed pages (the Design tab, src/plexo-canvas): for each page its slug, name, address and its sections in order (id, kind, layout, a few words of what it says), plus the brand (colours, fonts, corners) and the catalog of every section kind with its layouts and the fields you can fill in, and the ready-made page templates. Call this before app_design_edit, and again after you change a page if you need fresh section ids. Pages marked codeEdited were changed in code — edit those with app_edit_file, not app_design_edit.

ParameterTypeDescription
appId *stringThe app's id (from create_app or list_apps).

app_publish

Publishes the app: a clean release build, then the live database gets new migrations, server functions are deployed, and the live site switches over. The first publish gives it an address (subdomain picked from the app's name unless given). Only after the preview builds cleanly and the owner wants it live.

ParameterTypeDescription
appId *stringThe app's id (from create_app or list_apps).
subdomainstringOptional, e.g. "acme-crm" → acme-crm.<pages domain>.

app_versions

The app's version history (every build and save), newest first.

ParameterTypeDescription
appId *stringThe app's id (from create_app or list_apps).

app_restore_version

Puts the app's files back to an earlier version (recorded as a new version, so it's undoable) and rebuilds the preview. The live app changes only on the next publish.

ParameterTypeDescription
appId *stringThe app's id (from create_app or list_apps).
versionId *string

app_request_secret

Asks the owner to add a secret (an API key a server function needs, e.g. STRIPE_SECRET_KEY). Never ask for a secret's value in chat — this shows them where to paste it safely. Returns which secrets already exist.

ParameterTypeDescription
appId *stringThe app's id (from create_app or list_apps).
name *stringUPPER_SNAKE_CASE, e.g. OPENAI_API_KEY.
why *stringOne line: what it's for and where to get it.

app_function_logs

Recent logs (console output and errors) of one of the app's server functions.

ParameterTypeDescription
appId *stringThe app's id (from create_app or list_apps).
name *string
envstringWhich database: "dev" (the preview, default) or "live" (the published app).
minutesnumber

app_update_auth_settings

Turns the app's sign-in methods on or off (password, magic link, Google), requires email confirmation, or closes sign-ups (invite-only). Google sign-in works without any setup.

ParameterTypeDescription
appId *stringThe app's id (from create_app or list_apps).
allowSignupsboolean
googleboolean
magicLinkboolean
passwordboolean
requireEmailConfirmationboolean

page_describe

START HERE for any landing page or site. Shows a site's pages (name, slug, address, whether each uses the new visual editor) and, for a visual (V2) page, its sections in order (id, kind, layout, a few words of what each says), the brand (colours, fonts, corners) and the catalog of everything you can add — every section kind with its layouts and fillable fields, the ready-made page templates (blank, home, landing, about, services, contact, pricing), and the blog, shop and funnel sections. Pass templateId (or siteId — the home page's id) and optionally slug to look at one of the site's other…

ParameterTypeDescription
includeCatalogbooleanDefault true. Pass false once you already know the catalog.
siteIdstringThe site's home page id (same as templateId; use whichever you have).
slugstringOptional: a page of the site by its address segment, e.g. "about", when templateId/siteId is the site's home page.
templateIdstringA page's id — or the site's home page id to see the whole site.

page_publish

Puts a visual page's latest changes live (and keeps the previous version in its history). For a site's home page, also pass domain to give it an address: a short subdomain like "careconnect" (becomes careconnect.<pages domain>) or the owner's own domain. Other pages of the site go live at that same address automatically (e.g. /about) once the home page has a domain — publish them too so their latest edits are live. If the home page has no address yet and none is given, the reply lists suggestedDomains to offer the owner. Free plans publish only the home page on a Plexo address and one live s…

ParameterTypeDescription
templateId *stringThe page's templateId (from page_create_from_template, list_landing_pages or get_landing_page_pages). For a site's home page this is also the siteId.
domainstringHome page only. Subdomain slug (e.g. 'kicks') or custom domain ('kicks.com').
typestringInferred from the domain string if omitted.

blog_layout_describe

Shows a blog's custom post page or listing (index) page layout built with the visual editor: its sections, the brand and the catalog (the blogArticle section is the post body, blogList the list of posts). If the blog has no custom layout yet it says so and what blog_layout_edit will start from. Use before blog_layout_edit.

ParameterTypeDescription
kind *stringpost = a single article's page; listing = the blog index.
templateId *stringThe blog site's home page id.
includeCatalogbooleanDefault true. Pass false once you know the catalog.

publish_landing_page

[DEPRECATED — use page_create_from_template / page_edit / page_publish for landing pages and sites] Creates, compiles, and publishes a landing page template to a subdomain or custom domain in 1 step. DESIGN QUALITY — read this before writing designJson. Followed correctly it is what separates a premium, bespoke-looking result from a generic AI template; the worked example below demonstrates every rule. - Palette: choose one small, deliberate system before writing any row — a near-black/navy/charcoal "ink" plus an off-white/cream "paper" (never pure #000000/#ffffff), one brand accent col…

ParameterTypeDescription
designJson *objectPlexo layout schema object generated by the AI containing body style and rows array with columns and elements.
name *stringTitle or brand name of the landing page (e.g. 'Kicks Store', 'Bulum SaaS')
compiledHtmlstringIgnored. HTML is always compiled server-side from the validated designJson (and sanitized) so the published page can never drift from what's editable in the Plexo dashboard.
domainstringSubdomain slug (e.g. 'kicks', 'bulum') or custom domain ('kicks.com')
typestringDomain routing type (SUBDOMAIN or CUSTOM)

create_email_template

Creates and saves a responsive HTML email template for newsletters or promotional campaigns. Uses the SAME fully-hydrated layout schema as publish_landing_page — designJson MUST be { "body": { "style": {...}, "rows": [{ "id", "style", "columns": [{ "id", "width", "elements": [{ "id", "type", "style", "attributes" }] }] }] } }. There is no shorthand row format; rows without a 'columns' array are rejected. Text content for heading/paragraph/text/button elements MUST be under attributes.text (NOT attributes.content) — a "content" key is silently ignored by the editor and renders as empty/pla…

ParameterTypeDescription
designJson *objectPlexo layout schema object (same shape as publish_landing_page's designJson) containing body style and a fully hydrated rows array with columns and elements.
name *stringSubject line or template title (e.g. 'Weekly Newsletter #42')
compiledHtmlstringIgnored. HTML is always compiled server-side from the validated designJson (and sanitized).

get_strata_tokens

Fetches the raw design tokens (colors, typography, spacing, etc) of a PUBLIC Strata project by id. For a site's brand prefer get_site_brand (it already resolves the linked Strata project, the site's saved brand and the account's, with roles and the logo); pass siteId here to get that same resolved brand alongside the raw tokens. Checks whether the account has a Strata design-system project connected and, if so, fetches its design tokens (colors, typography, spacing, etc). Call this BEFORE publish_landing_page or create_email_template whenever the user wants their brand/Strata colors and styl…

ParameterTypeDescription
projectIdstringOptional. The user's Strata project id to connect (or switch to). Omit to check/use the previously connected project, if any.
siteIdstringOptional. A site id: the result then also carries siteBrand, the brand that site really uses (linked Strata project > the site's saved brand > the account's).

update_template

[DEPRECATED — use page_create_from_template / page_edit / page_publish for landing pages and sites] Edits an existing landing page or email template in place, under the same template ID. Recompiles and re-saves the HTML from the new designJson — the editable URL stays the same, and for a published landing page the live URL and domain are unchanged too (this does not publish/unpublish or change the domain; call publish_landing_page again with a domain for that). This is for drag-and-drop BUILDER pages only — it REJECTS a page created via create_raw_landing_page/publish_raw_landing_page/c…

ParameterTypeDescription
designJson *objectThe FULL replacement Plexo layout schema (same shape as publish_landing_page's designJson) — not a partial patch.
templateId *stringID of the template to update — the templateId returned by publish_landing_page, create_email_template, list_landing_pages, or list_email_templates.
compiledHtmlstringIgnored. HTML is always compiled server-side from the validated designJson (and sanitized).
namestringOptional new title for the template. Omit to keep the existing name.

update_raw_landing_page

[DEPRECATED — use page_create_from_template / page_edit / page_publish for landing pages and sites] ADVANCED, NOT VISUAL — a raw-HTML page is not editable in Plexo's visual editor, so the owner can never tweak it themselves. Only use this when the owner explicitly asked for hand-written HTML; for any normal page or site use page_create_from_template instead. Replaces an existing RAW_UPLOAD page's HTML in place, under the same template ID — the editable URL, live URL, and domain (if published) are all unchanged. This is for pages created via create_raw_landing_page/publish_raw_landing_pag…

ParameterTypeDescription
htmlContent *stringThe FULL replacement raw HTML document (up to 1MB) — not a partial patch.
templateId *stringID of the raw-upload page to update — the templateId returned by create_raw_landing_page, publish_raw_landing_page, list_landing_pages, or get_landing_page_pages.
namestringOptional new title for the page. Omit to keep the existing name.

create_landing_page

[DEPRECATED — use page_create_from_template / page_edit / page_publish for landing pages and sites] Creates and saves a landing page template WITHOUT publishing it to a domain — use this when the user wants to build a page (or start a multi-page site) first and go live later. Call publish_existing_landing_page afterward with the returned templateId to link a subdomain or custom domain whenever they're ready. To create a page AND publish it in one step, use publish_landing_page instead. Uses the SAME fully-hydrated layout schema as publish_landing_page — designJson MUST be { "body": { "s…

ParameterTypeDescription
designJson *objectPlexo layout schema object — same shape as publish_landing_page's designJson.
name *stringTitle of the landing page (e.g. 'Kicks Store').

create_raw_landing_page

[DEPRECATED — use page_create_from_template / page_edit / page_publish for landing pages and sites] ADVANCED, NOT VISUAL — a raw-HTML page is not editable in Plexo's visual editor, so the owner can never tweak it themselves. Only use this when the owner explicitly asked for hand-written HTML; for any normal page or site use page_create_from_template instead. Creates a landing page from a RAW HTML document you supply directly, WITHOUT publishing it to a domain — for when the user wants a page built from hand-written or externally-sourced HTML/CSS/JS instead of Plexo's drag-and-drop builde…

ParameterTypeDescription
htmlContent *stringThe full, self-contained raw HTML document to serve as-is (up to 1MB). Inline or CDN-linked CSS/JS only — no separate local asset files.
name *stringTitle of the landing page (e.g. 'Kicks Store').
acceptAupbooleanPass true ONLY after explicitly telling the user this publishes unsanitized HTML/CSS/JS as-is and getting their confirmation of the Acceptable Use Policy (/legal/acceptable-use). Not needed once the a…

publish_raw_landing_page

[DEPRECATED — use page_create_from_template / page_edit / page_publish for landing pages and sites] ADVANCED, NOT VISUAL — a raw-HTML page is not editable in Plexo's visual editor, so the owner can never tweak it themselves. Only use this when the owner explicitly asked for hand-written HTML; for any normal page or site use page_create_from_template instead. Creates, and publishes to a domain, a landing page from a RAW HTML document you supply directly — the combined create+publish equivalent of create_raw_landing_page. See create_raw_landing_page's description for the unsanitized-conten…

ParameterTypeDescription
domain *stringSubdomain slug (e.g. 'kicks') or custom domain ('kicks.com').
htmlContent *stringThe full, self-contained raw HTML document to serve as-is (up to 1MB). Inline or CDN-linked CSS/JS only — no separate local asset files.
name *stringTitle of the landing page (e.g. 'Kicks Store').
acceptAupbooleanPass true ONLY after explicitly telling the user this publishes unsanitized HTML/CSS/JS as-is and getting their confirmation of the Acceptable Use Policy (/legal/acceptable-use). Not needed once the a…
typestringDomain routing type. Inferred from the domain string if omitted.

create_landing_page_subpage

[DEPRECATED — use page_create_from_template / page_edit / page_publish for landing pages and sites] Adds a new page nested under an existing landing page, reachable at <site domain>/<slug> — or nested deeper (e.g. /blog/post-1) if parentTemplateId is itself a sub-page rather than the home page. This is how a single landing page becomes a multi-page site (BUILDER and RAW_UPLOAD pages can be freely mixed within the same site — each page's own sourceType is independent of its siblings). No separate publish step is needed for sub-pages: they automatically become reachable once the site's hom…

ParameterTypeDescription
name *stringFriendly name of the page (e.g. 'About Us').
parentTemplateId *stringID of the page this new page should be nested under — the site's home page for a top-level page (e.g. /about), or another sub-page's ID to nest deeper (e.g. a 'Blog' page's ID to create /blog/post-1…
acceptAupbooleanOnly relevant when htmlContent is given. Pass true ONLY after explicitly telling the user this publishes unsanitized HTML/CSS/JS as-is and getting their confirmation of the Acceptable Use Policy (/leg…
designJsonobjectOptional. Plexo layout schema object — same shape as publish_landing_page's designJson. Creates a drag-and-drop BUILDER sub-page. Omit (along with htmlContent) to create a blank BUILDER page. Mutual…
htmlContentstringOptional. A full, self-contained raw HTML document (up to 1MB) to serve as-is. Creates a RAW_UPLOAD sub-page instead of a BUILDER one. Mutually exclusive with designJson.
slugstringOptional URL segment (e.g. 'about-us'). Auto-generated from name if omitted; auto-suffixed (about-us-2, ...) if it collides with a sibling page under the same parent.

update_landing_page_page

Renames a page, changes its URL segment (slug), moves it under a different parent page, or reorders it among its siblings. The home page of a site (no parent) can be renamed but has no slug of its own and can't be re-parented — use publish_existing_landing_page to manage its domain instead. To edit a page's CONTENT (designJson), use update_template with the same templateId instead — this tool only manages the page's place in the site's structure, not what's on it. BRAND: a site may have a brand (a linked Strata project, or the colours and logo saved on the site). Read it with get_site_bra…

ParameterTypeDescription
templateId *stringID of the page to update.
namestringOptional new name.
ordernumberOptional sort position among sibling pages under the same parent (lower = earlier).
parentTemplateIdstringOptional new parent page ID, to move this page elsewhere in the site's tree. Rejected if it would create a cycle (e.g. moving a page underneath its own sub-page).
slugstringOptional new URL segment. Not allowed for the home page.

delete_template

Permanently deletes any landing page or email template by templateId or template name (e.g. 'buzm'). Cleans up attached sub-pages, files and custom domain routing. Deleting a whole site (its home page) also deletes everything it owns — blog posts, shop products and settings, form submissions, imports — except orders, which stay as financial records; a site with active monthly donors can't be deleted until their gifts are cancelled. Confirm with user before calling as this action cannot be undone.

ParameterTypeDescription
namestringOptional template name or search phrase if templateId is unknown (e.g. 'buzm').
templateIdstringID of the template or page to delete (UUID, or exact/partial template name like 'buzm').

duplicate_landing_page_page

Clones a sub-page's content into a new sibling page under the same parent — handy for building several similar pages (e.g. multiple product pages) without starting blank. Not available for a site's home page. Requires a Pro subscription plan or above.

ParameterTypeDescription
templateId *stringID of the sub-page to duplicate — must not be a home page.

get_analytics

Fetches visitor analytics, total page views, unique visitor counts, and daily timeline metrics.

ParameterTypeDescription
templateIdstringOptional template ID to filter analytics

get_user_profile

Retrieves user details, subscription plan (FREE, STARTER, PRO, ENTERPRISE), AI credit balance, and domain usage limits.

delete_published_domain

Deletes or unlinks a published domain routing from a landing page.

ParameterTypeDescription
domainstringDomain name to delete (e.g. 'acme.plexobuilder.com')
domainIdstringID of the published domain record

design_blog_layout

[DEPRECATED — use page_create_from_template / page_edit / page_publish for landing pages and sites] Designs (creates if none exists yet, or fully replaces if one does) the custom builder layout for a blog site's single-post page or listing/index page. This is how the AI can give a blog its own branded look instead of the default built-in theme. Uses the SAME fully-hydrated layout schema as publish_landing_page (rows/columns/elements) — designJson MUST be { "body": { "style": {...}, "rows": [...] } }, no shorthand. In addition to the ordinary element types, this layout may (and for the req…

ParameterTypeDescription
designJson *objectThe FULL Plexo layout schema — see this tool's description for the required marker element and a worked example per kind.
kind *stringWhich layout to design: 'post' for the single blog post page, 'listing' for the blog index/archive page.
templateId *stringThe blog site's home page template id (see list_landing_pages).
namestringOptional name for the underlying layout template (shown in the dashboard). Defaults to 'Blog Post Layout'/'Blog Listing Layout'.

get_commerce_product

Fetches one Commerce product's full details by id.

ParameterTypeDescription
productId *stringThe product's id.
templateId *stringThe site's home page template id.

create_commerce_product

Creates a Commerce product — physical (shipped goods, optional stock tracking), service (bookable, has a duration), or digital (a Selar-style download/link/access-list sale, delivered automatically by email once paid). For a DIGITAL product, digitalDeliveryMethod is required (FILE_DOWNLOAD, EXTERNAL_LINK, or ACCESS_LIST), plus the matching field: digitalFileUrl (FILE_DOWNLOAD — a URL already uploaded via the dashboard's file upload; this tool cannot itself accept raw file bytes), digitalExternalUrl (EXTERNAL_LINK), or digitalAccessInstructions (ACCESS_LIST, optionally with digitalAccessPas…

ParameterTypeDescription
kind *stringProduct kind.
name *stringProduct name.
priceMinor *numberPrice in the smallest currency unit (kobo for NGN).
templateId *stringThe site's home page template id.
categorystringOptional category name — reused if it exists, created otherwise.
compareAtPriceMinornumberOptional sale "was" price (smallest currency unit), shown crossed out next to the price. Must be higher than the price; omit or null for no sale.
descriptionstringOptional description.
digitalAccessInstructionsstringDIGITAL/ACCESS_LIST — instructions emailed to the buyer.
digitalAccessPasswordstringDIGITAL/ACCESS_LIST — optional static password to include in the delivery email.
digitalDeliveryMethodstringDIGITAL only — see this tool's description.
digitalExternalUrlstringDIGITAL/EXTERNAL_LINK — the Drive/Dropbox/etc. link to deliver.
digitalFileNamestringDIGITAL/FILE_DOWNLOAD — display name for the file.
digitalFileUrlstringDIGITAL/FILE_DOWNLOAD — the uploaded file's URL (upload via the dashboard first).
digitalLinkExpiryDaysnumberDIGITAL/FILE_DOWNLOAD — days until the link expires. Omit for no expiry.
digitalMaxDownloadsnumberDIGITAL/FILE_DOWNLOAD — max downloads before the link stops working. Omit for unlimited.
durationMinutesnumberSERVICE only — booking duration in minutes.
imageUrlstringOptional cover/main image URL.
optionsarrayPHYSICAL/DIGITAL — options the product comes in, e.g. [{name:"Size",values:["S","M","L"]},{name:"Colour",values:["Red","Blue"]}]. Up to 3. Requires variants. Send [] (with variants: []) to remove op…
skustringOptional SKU / stock code.
stockQuantitynumberPHYSICAL only — starting stock. Omit for untracked stock.
variantsarrayOne entry per purchasable combination of the options, each with its own price. stockQuantity omitted = unlimited. Pass back an existing variant's id when updating so carts/orders pointing at it stay l…

update_commerce_product

Edits an existing Commerce product. Only the fields provided are changed. kind cannot be changed after creation — delete and recreate instead.

ParameterTypeDescription
productId *stringThe product to update.
templateId *stringThe site's home page template id.
activeboolean
categorystringCategory name — reused/created as needed. Empty string clears it.
compareAtPriceMinornumberOptional sale "was" price (smallest currency unit), shown crossed out next to the price. Must be higher than the price; omit or null for no sale.
descriptionstring
digitalAccessInstructionsstring
digitalAccessPasswordstringLeave unset to keep the current password unchanged.
digitalDeliveryMethodstringDIGITAL only — switches the delivery method, clearing the other methods' fields.
digitalExternalUrlstring
digitalFileNamestring
digitalFileUrlstring
digitalLinkExpiryDaysnumber
digitalMaxDownloadsnumber
durationMinutesnumberSERVICE only.
imageUrlstring
namestring
optionsarrayPHYSICAL/DIGITAL — options the product comes in, e.g. [{name:"Size",values:["S","M","L"]},{name:"Colour",values:["Red","Blue"]}]. Up to 3. Requires variants. Send [] (with variants: []) to remove op…
priceMinornumber
skustringOptional SKU / stock code.
stockQuantitynumberPHYSICAL only.
variantsarrayOne entry per purchasable combination of the options, each with its own price. stockQuantity omitted = unlimited. Pass back an existing variant's id when updating so carts/orders pointing at it stay l…

delete_commerce_product

Deactivates a Commerce product (soft delete — order history is preserved, the product just stops being sold).

ParameterTypeDescription
productId *stringThe product to deactivate.
templateId *stringThe site's home page template id.

get_commerce_settings

Fetches a site's Commerce settings: enabled state, storefront slug/URL, store currency, payment provider, Paystack/Stripe mode/keys (masked), bank transfer details, extra checkout questions, delivery/store-pickup switches and pickup location, MailDrip config, and notification email.

ParameterTypeDescription
templateId *stringThe site's home page template id.

update_commerce_settings

Updates a site's Commerce settings. Only the fields provided are changed. paymentProvider: BYO_PAYSTACK (default — the site's own Paystack keys below), PLATFORM_PAYSTACK (Plexo's own Paystack account, no keys needed, proceeds credit the Commerce wallet), BYO_STRIPE (the site's own Stripe keys below), or PLATFORM_STRIPE (Plexo's own Stripe account — requires prior approval, see request_commerce_stripe_access/get_commerce_stripe_access_status). currency can't be changed once the site has any orders. Bank transfer: set bankTransferEnabled:true together with bankTransferBankName/AccountName/Ac…

ParameterTypeDescription
templateId *stringThe site's home page template id.
bankTransferAccountNamestringName on the account. Shown to customers at checkout.
bankTransferAccountNumberstringShown to customers at checkout.
bankTransferBankNamestringe.g. "GTBank". Shown to customers at checkout.
bankTransferEnabledbooleanOffer direct bank transfer at checkout. Requires the three bank fields below (already saved or sent in this call).
bankTransferInstructionsstringOptional extra note shown with the bank details (e.g. "Send a screenshot to 080…"). Empty string clears it.
checkoutFieldsarrayREPLACES the site's whole list of extra checkout questions (send [] to remove all). Keep an existing question's id to preserve it; omit id for a new one.
currencystringSite-wide store currency (ISO 4217, e.g. NGN/USD/GBP/EUR/GHS/KES/ZAR). Set this before taking orders — it can't be changed afterward.
deliveryEnabledbooleanfalse hides every shipping (COURIER) method at checkout. Default true.
enabledbooleanMaster on/off switch for Commerce on this site.
maildripApiKeystring
maildripNewsletterGroupIdstring
maildripPaidGroupIdstring
newsletterPopupEnabledbooleanShows a site-wide newsletter signup popup (5s delay/exit-intent, 30-day dismissal). Only takes effect once maildripNewsletterGroupId is also set. Independent of Commerce enabled.
notificationEmailstring
notifyCustomerOnCompletedbooleanEmail the customer when fulfillment status changes to COMPLETED. Default true.
notifyCustomerOnPaidbooleanEmail the customer an order confirmation once paid. Default true.
notifyCustomerOnProcessingbooleanEmail the customer when fulfillment status changes to PROCESSING. Default true.
notifyCustomerOnReadyForPickupbooleanEmail the customer when fulfillment status changes to READY_FOR_PICKUP. Default true.
notifyCustomerOnRefundedbooleanEmail the customer when their order is refunded. Default true.
notifyCustomerOnShippedbooleanEmail the customer when fulfillment status changes to SHIPPED. Default true.
paymentProviderstring
paystackLivePublicKeystring
paystackLiveSecretKeystring
paystackModestringWhich BYO Paystack key pair is active.
paystackTestPublicKeystring
paystackTestSecretKeystring
pickupEnabledbooleanThe built-in free "Store pickup" option at checkout. Default true.
pickupInstructionsstringOptional pickup hours/notes. Empty string clears it.
pickupLocationstringThe store's pickup address, shown to customers at checkout and on their order. Empty string clears it.
storefrontSlugstringRenames the auto-provisioned storefront page's URL segment (default "store", i.e. /store). Commerce must already be enabled. The order-confirmation and track-order pages are never renameable.
stripeLivePublishableKeystring
stripeLiveSecretKeystring
stripeLiveWebhookSecretstringSame as stripeTestWebhookSecret, for the Live mode webhook endpoint.
stripeModestringWhich BYO Stripe key pair is active.
stripeTestPublishableKeystring
stripeTestSecretKeystring
stripeTestWebhookSecretstringFrom the site owner's own Stripe Dashboard webhook endpoint (Test mode), signing secret starting with whsec_.
termsTextstringThe shop's terms of sale and refund policy, in plain words (up to 10,000 characters). Customers get a link to it at checkout and in order emails. Empty string clears it.
termsUrlstringOptional link (https://) to the owner's own terms page. If set, customers are sent there instead of to the hosted copy of termsText. Empty string clears it.

get_commerce_order

Fetches one Commerce order's full details, including line items, booking (if a service), and digital deliveries (if any digital items).

ParameterTypeDescription
orderId *stringThe order's id.
templateId *stringThe site's home page template id.

resend_digital_delivery

Re-sends a digital product's delivery email for an already-paid order, using its existing access link (never generates a new one). Use get_commerce_order first to find the deliveryId.

ParameterTypeDescription
deliveryId *stringThe CommerceDigitalDelivery id (from get_commerce_order's digitalDeliveries).
orderId *stringThe order.
templateId *stringThe site's home page template id.

refund_commerce_order

Refunds a PAID order. IRREVERSIBLE — only call this when the site owner has explicitly asked to refund THIS specific order in the current conversation; never as a guess or a follow-up suggestion. First show them the order (get_commerce_order) and get their reason. Gateway orders refund through the Paystack account they were paid with (Paystack-only today — a Stripe-paid order will error). A bank-transfer order is recorded as refunded only — the owner must send the money back themselves; say so. Does not restock inventory or free a booking slot.

ParameterTypeDescription
confirmOrderNumber *stringThe order's human-facing number (e.g. ORD-4F2A9C1B), exactly as the owner confirmed it. Must match the order or the refund is refused.
orderId *string
reason *stringThe owner's stated reason (min 5 characters) — stored on the order as an audit trail.
templateId *stringThe site's home page template id.

delete_commerce_order

PERMANENTLY deletes an order and its items, booking slot and download links. IRREVERSIBLE and unrecoverable — only call this when the site owner has explicitly asked to delete THIS specific order in the current conversation (typically a test order); never as a guess or a clean-up suggestion. First show them the order (get_commerce_order) and tell them it can't be recovered. Refused for orders still waiting on a card payment and for sales processed through Plexo's own payment processing (those must stay on record — refund instead; the error explains). A bank-transfer order still awaiting pa…

ParameterTypeDescription
confirmOrderNumber *stringThe order's human-facing number (e.g. ORD-4F2A9C1B), exactly as the owner confirmed it. Must match the order or the delete is refused.
orderId *string
templateId *stringThe site's home page template id.

create_funnel_page

Appends a new page to a funnel. Defaults to kind VIDEO and unlocks after the current last page (defaultUnlockRules) — use update_funnel_page to customize unlockRules afterward. BRAND: a site may have a brand (a linked Strata project, or the colours and logo saved on the site). Read it with get_site_brand BEFORE you start and use it by default, without the owner having to mention it: never ask them for colours, fonts or a logo while one exists, and don't override it unless they ask for something different. If the brand has ready-made components (list_brand_components), use them before buildin…

ParameterTypeDescription
templateId *stringThe funnel's home page template id.
kindstringDefaults to VIDEO.
titlestringDefaults to "Page N".

update_funnel_page

Updates a funnel page's content and/or unlock rules. Only the fields provided are changed. unlockRules shape: { mode: "ALL", conditions: [...] } where each condition is one of PREREQUISITE_PAGES ({type,pageIds}), TIME_DRIP_RELATIVE ({type,days}), TIME_DRIP_FIXED_DATE ({type,date}), MANUAL_APPROVAL ({type}) — satisfied via approve_funnel_enrollment_page. BRAND: a site may have a brand (a linked Strata project, or the colours and logo saved on the site). Read it with get_site_brand BEFORE you start and use it by default, without the owner having to mention it: never ask them for colours, fonts…

ParameterTypeDescription
pageId *string
templateId *stringThe funnel's home page template id.
assetFileNamestring
assetMimeTypestring
assetSizeBytesnumber
assetUrlstringAlready-uploaded file URL (this tool can't accept raw bytes). Empty string clears it.
bodyHtmlstringSanitized server-side. For a WELCOME page this renders as plain text, not markup.
contentModestringSIMPLE/RAW_HTML both write to bodyHtml; ADVANCED is a full-builder page and isn't settable from here.
kindstring
titlestring
unlockRulesobjectSee this tool's description for the shape.
visibleboolean
youtubeVideoIdstringEmpty string clears it.

get_form_settings

Lists every form on a site and where its submissions go besides the Form Submissions inbox and the owner's email: a MailDrip list and/or a webhook (Zapier, Make, a CRM), plus a thank-you page and anything a migrated WordPress form did that Plexo doesn't repeat (note). Also says whether MailDrip is connected and lists the account's MailDrip lists (ids to use with set_form_destinations).

ParameterTypeDescription
templateId *stringThe site's home page id (see list_landing_pages).

set_form_destinations

Sets where one form sends each submission: maildripGroupId adds the person (email and name, taken from the submission) to that MailDrip list in the site's own MailDrip account — MailDrip must be connected first; webhookUrl POSTs every submission (https only). Pass null to stop one. Form names come from get_form_settings.

ParameterTypeDescription
formName *stringExactly as get_form_settings lists it.
templateId *stringThe site's home page id.
maildripGroupIdstring | nullA list id from get_form_settings' maildrip.groups, or null to stop adding to a list.
webhookUrlstring | nullhttps address to send each submission to, or null to stop.

setup_content

Adds a ready-made kind of content to a site in one step — 'videos' (a gallery: title, description, video link, thumbnail), 'stories' (title, summary, full text, picture, video, who shared it) or 'events' (called Happenings: title, description, start date and time, location, picture, link). Safe to call again (it reuses what's there). Returns the exact snippet that shows it on a page — works in the visual builder (Content list block or an HTML block), raw HTML pages and React projects. The owner or their content team then adds items with add_content_entry or in the dashboard under Content T…

ParameterTypeDescription
preset *string
templateId *stringThe site's home page id (see list_landing_pages).

list_content

Lists the kinds of content a site has (with how many items each has). Pass type (its slug, e.g. 'videos') to also list that type's items with their ids, status and values.

ParameterTypeDescription
templateId *stringThe site's home page id.
typestringA content type's slug, e.g. 'videos', 'stories', 'happenings'.

add_content_entry

Posts one item (a video, story, event…) under a content type. `data` is keyed by the type's field keys: videos → title, description, video (YouTube/Vimeo/direct link), image; stories → title, description (summary), body, image, video, author; events → title, description, date ('YYYY-MM-DDTHH:mm'), location, image, link. Published by default so it shows on the site straight away; pass publish:false to save a draft.

ParameterTypeDescription
data *objectField values keyed by field key.
templateId *stringThe site's home page id.
type *stringThe content type's slug.
publishbooleanDefault true.

get_content_embed_code

The snippet that shows a content type on a page. Layouts: gallery (video cards that play in a pop-up), stories (cards that open the full story), events (upcoming events, past ones hide themselves), featured (one big item), list, posts (the latest blog posts as linked cards — use type 'blog'; they update themselves). Paste it into an HTML block in the visual builder, into a raw HTML page, or into a React project's markup; the visual builder (new editor) also has a Content list block that prints the same thing.

ParameterTypeDescription
type *stringThe content type's slug.
columnsnumber1–4, for gallery and stories.
layoutstring
limitnumber

create_app

Creates a new full-stack React app (Vite + React + TypeScript + Tailwind + shadcn/ui-style components + React Router, with a Postgres database, sign-in, file storage and server functions built in). Use this whenever someone wants an app, tool, dashboard, portal, SaaS, marketplace, booking system, CRM, game or anything interactive — not for a simple marketing page. Returns the app id and its preview link. Next: read PLEXO.md (app_read_files) for the conventions, then write the app with app_write_files / app_edit_file, then app_build. BRAND: a site may have a brand (a linked Strata project, or…

ParameterTypeDescription
name *stringShort, human name for the app (renameable later).

app_write_files

Creates or completely replaces files (up to 50 per call). Use for new files or full rewrites; for changing part of an existing file use app_edit_file instead (cheaper, and can't accidentally drop code). Before fully rewriting a file that already exists, read it with app_read_files in this same turn so nothing in it is lost. Pass files as a list of { path, content } objects. Paths are from the project root, e.g. src/pages/Dashboard.tsx, db/migrations/0002_tasks.sql, functions/send-invoice.ts. Changes aren't visible until app_build. BRAND: a site may have a brand (a linked Strata project, or the…

ParameterTypeDescription
appId *stringThe app's id (from create_app or list_apps).
files *array

app_edit_file

Changes part of one file with find/replace edits. Read the file with app_read_files earlier in this same turn and copy each `find` from what you read — never from memory or an earlier turn (the file may have changed). Each `find` must match exactly once — include a few surrounding lines to make it unique, or set all: true to replace every occurrence. Small indentation/spacing differences are tolerated; if a find still isn't there, the error shows the current lines to copy from — fix it from that rather than re-reading. BRAND: a site may have a brand (a linked Strata project, or the colou…

ParameterTypeDescription
appId *stringThe app's id (from create_app or list_apps).
edits *array
path *string

app_build

Saves the current files as a version and builds the preview: compiles the app, type-checks it, applies new db/migrations to the preview database, and deploys server functions. Returns every problem with file:line and a hint. Fix ALL errors (and type problems) and build again until it's clean, then check it with app_screenshot. It waits for the whole build (including database changes and server functions) before answering — don't call app_build_status after it unless it says it's still pending.

ParameterTypeDescription
appId *stringThe app's id (from create_app or list_apps).
messagestringOne line describing the change, for the version history.

app_build_status

Only when app_build/app_publish returned pending (still running after waiting several minutes): waits again for that build and returns its result. Never call it right after a build that already returned a result.

ParameterTypeDescription
appId *stringThe app's id (from create_app or list_apps).
buildId *string

app_screenshot

Opens the app's preview in a real browser and returns a screenshot plus every error the page hit (console errors, crashes, failed requests). Use after every successful build to check the result actually looks and works right — on mobile too (viewport: mobile).

ParameterTypeDescription
appId *stringThe app's id (from create_app or list_apps).
fullPagebooleanCapture the whole scrolling page instead of the first screen.
pathstringPage to open, e.g. /dashboard (default /).
viewportstringdesktop (default), tablet, mobile or phone.

app_find_photos

Finds real, high-quality stock photos for the app (Unsplash, Pexels, Pixabay) — on topic for the business, never random placeholders. Search with a specific, visual description ("barista pouring latte art", "modern dental clinic reception"), not a generic word. Returns image URLs to use directly in <img src> or CSS backgrounds, plus a credit for each — show credits unobtrusively (a small caption or the footer).

ParameterTypeDescription
query *stringWhat the photo should show, specific and visual.
countnumberHow many (1–12, default 6).
orientationstringlandscape for heroes and banners, portrait for tall cards; default any.

app_design_edit

Changes designed pages section by section — the right way to edit a page built in the Design tab, instead of editing its generated .tsx. Pass commands, each one of: {op:"addSection", pageId, kind, variant?, content?, style?, afterSectionId? | index?} · {op:"updateSection", sectionId, content?, variant?, style?} · {op:"removeSection", sectionId} · {op:"moveSection", sectionId, index? | afterSectionId?} · {op:"duplicateSection", sectionId} · {op:"setBrand", tokens:{primaryColor?, secondaryColor?, headingFont?, bodyFont?, neutrals? (cool|warm|dark), roundness? (sharp|soft|round)}} · {op:"…

ParameterTypeDescription
appId *stringThe app's id (from create_app or list_apps).
commands *array
overwritebooleanReplace hand edits made to the page's code. Only when the owner asked for it.
slugstringThe designed page being edited (from app_design_describe).

page_edit

Changes a visual page section by section — the way to edit any page made with page_create_from_template (and any page the owner designed in the visual editor). Saves it as the page's working copy in the editor (exactly what the editor's own autosave does); nothing goes live until page_publish. Each command is one of: {op:"addSection", kind, variant?, content?, style?, afterSectionId? | index?} · {op:"updateSection", sectionId, content?, variant?, style?} · {op:"updateElement", nodeId, text?, href?, src?, alt?, name?, hidden?, style?:{any style setting}, responsive?:{tablet?,mobile?}} · {o…

ParameterTypeDescription
commands *array
templateId *stringThe page's templateId (from page_create_from_template, list_landing_pages or get_landing_page_pages). For a site's home page this is also the siteId.
slugstringOptional: edit the site's page with this address segment instead of templateId's own page.

page_create_from_template

Creates a visual page that is already complete: sections filled in with starting wording. A NEW site also gets its shared site-wide header and footer ("site core", editable once for every page with site_layout_edit), so the page itself carries no header or footer; a page added with siteId shows the site's shared ones. Without siteId it starts a NEW single-page SITE (for a whole multi-page site use site_create instead); with siteId it adds a page to that site — it takes the site's brand and menu, and joins the site's shared menu (any plan can build and preview a multi-page site; Free publishe…

ParameterTypeDescription
name *stringPage name, e.g. "Home", "Pricing" or the business's name for a new site.
contentarrayOptional page_edit commands applied right after creating the page. Section ids don't exist yet, so use addSection / setBrand, or call page_describe first to get ids for updateSection.
siteIdstringAdd the page to this existing visual site (its home page id). Omit to start a new site.
templateIdstringWhich ready-made page to start from: blank, home, landing, about, services, contact, pricing, store, blog, product, faq, gallery, team or menu — or a layout id from list_site_templates (e.g. home-ed…

blog_layout_edit

Designs a blog's post page or listing page with the visual editor, using the same section commands as page_edit. Creates the layout the first time (an empty page you fill with commands). A post layout needs a blogArticle section and a listing layout needs a blogList section — until it has one the blog falls back to the default theme, and the reply warns about it. Typical post layout: header, blogArticle, cta, footer. Takes effect immediately (blog layouts have no separate publish step). Each command is one of: {op:"addSection", kind, variant?, content?, style?, afterSectionId? | index?} · {…

ParameterTypeDescription
commands *array
kind *string
templateId *stringThe blog site's home page id.
startFreshbooleanOnly if the blog's current layout was built in the classic editor and has content: true replaces it. Ask the owner first.

sell_product_on_page

Makes a page SELL one product, end to end — the one call to use whenever someone wants to sell a course, ebook, download or product from a page (never a hand-made payment link). Every purchase is recorded as an order in Commerce. It does whatever is still missing: (1) no product yet → creates it from name + price (a digital product; pass deliveryUrl — where buyers get the course/files after paying — if you know it, otherwise buyers are told the owner will email access and the reply warns the owner to add the link); (2) Commerce off or no way to be paid → turns it on with Plexo's own…

ParameterTypeDescription
siteId *stringThe site's home page id (list_landing_pages shows it).
addCardbooleanAlso add a buy card. Default: only when the page had no payment link to switch.
buttonLabelstringText on the buy card's button. Default "Buy now".
convertLinksbooleanSwitch the page's existing hosted payment links to the new checkout. Default true.
deliveryInstructionsstringCreates the product: instructions emailed to buyers instead of a link.
deliveryUrlstringCreates the product: the link buyers are sent after paying (the course, a drive folder, a members' area).
descriptionstringCreates the product: a short description shown on the buy card.
fileUrlstringCreates the product: a file already uploaded to Plexo that buyers can download.
headingstringVisual pages: the heading above the buy card. Default: the product's name.
imageUrlstringCreates the product: a picture for the buy card.
namestringCreates the product: its name, e.g. "AI Video Creation Course".
pageIdstringOptional: put it on this page of the site instead of the home page.
paymentLinkstringWhen the page has several different payment links: part of the URL of the one that is this product's (e.g. "aivideocreationcourse").
pricenumberCreates the product: price in whole currency units, e.g. 5000 for ₦5,000 (the site's currency).
productIdstringAn existing product to sell (list_commerce_products). Services are booked, not bought — they can't be used here. Leave out to create one with name + price.
publishbooleanVisual pages: publish too. Default true — skipped automatically if the page has other unpublished edits.
textstringVisual pages: one line of text under the heading.

site_create

Builds a complete, connected website in ONE call — the way to make any multi-page site, store or blog. From a brief it chooses a brand that fits the business (colours, fonts, corner style — the owner's own colours/fonts/logo win when given) and a fitting layout for each page (different layouts for different industries and styles), writes the business's details into every page, and gives the whole site one shared menu and footer that link its real pages. A store page turns selling on with Plexo's own payments (no keys needed) and sets up the shop, checkout, order confirmation, order trackin…

ParameterTypeDescription
brief *objectWho the site is for. name is required; the more you fill in, the more tailored the result.
blogobjectThe blog's title and first posts (also implies a blog page). Without posts it gets one short welcome post.
goalstringUsed only when pages is omitted.
navCtaobjectThe button in the menu (default: Shop now for a store, Get in touch otherwise).
pagesarrayThe pages, home first. type is one of: home, landing, about, services, pricing, contact, store, product, blog, faq, gallery, team, menu, testimonials. Omit pages to get a sensible set for the goal.
storeobjectProducts for the shop (also implies a store page).
strataProjectIdstringOptional. One of the owner's Strata projects (list_strata_projects). The new site is linked to it, using its colours, fonts and logo, and stays in sync.

list_site_templates

Lists ready-made starting points that fit a brief, best first, each tagged with the industry and style it suits: premiumTemplates (complete designer-made sites from the marketplace — free, owned, or with a price; use create_site_from_template) and pageLayouts (the built-in layouts per page type — pass one as a page's layout in site_create, or as templateId in page_create_from_template). Use it when the owner wants a particular look or to see options; offer the best two or three with ask_user_question.

ParameterTypeDescription
industrystringWhat the business is, e.g. restaurant, salon, software, boutique.
limitnumberHow many premium templates (default 8, at most 20).
pageTypestringOnly layouts for this page type.
querystringOptional words to match (e.g. "wedding", "portfolio").
stylestringThe feel, e.g. elegant, bold, playful, minimal, warm.

create_site_from_template

Copies a premium/marketplace site template (from list_site_templates) into the owner's account as a new site, ready to personalise: then use page_describe and page_edit to put in the business's words, colours (setBrand) and pictures, and page_publish to put it live. Only free templates or ones the owner already bought can be used — for a paid one, give them its previewUrl to buy it first. BRAND: a site may have a brand (a linked Strata project, or the colours and logo saved on the site). Read it with get_site_brand BEFORE you start and use it by default, without the owner having to mention i…

ParameterTypeDescription
templateId *stringThe premium template's templateId from list_site_templates.
namestringThe new site's name (usually the business's name).

find_page

Finds the page the owner means from their own words — "the shop page", "pricing", "the about page on Crumbs", "my homepage", "the menu", "checkout" — across ALL their sites, no ids needed (pass siteId only to limit it to one site). Works for every kind of page: visual, classic and hand-written pages, the shop/checkout/order pages, the product page every product uses, the blog's listing and post pages, and the shared menu and footer. When it's clear which page, it returns the page with what's on it (sections for a visual page, a text outline for the others) and how to change it. When it's g…

ParameterTypeDescription
query *stringWhat the owner called it, in their words.
siteIdstringOptional: only look in this site (its home page id).

site_save_look

Saves the owner's logo and colours as THIS site's brand (the same as the Brand tab's "Colours and logo" card) and applies them to the site's pages, so every page stays consistent and Home's "logo and colours" step ticks. Only call it after the owner agreed to save them. Pass colours as hex (main colour first, optionally a second), and either logoUrl (a public address, e.g. from use_attached_image) or noLogo true when they have no logo (a wordmark is made from the name). Returns a plain sentence saying what was applied.

ParameterTypeDescription
colors *arrayHex colours, main first, e.g. ["#C2410C", "#F59E0B"].
siteId *stringThe site's home page id.
logoUrlstringA public https address of their logo.
noLogobooleanTrue when they have no logo.

get_site_brand

Reads the brand a site uses RIGHT NOW: colours with their roles (primary, secondary, accent, text, background), fonts, corner radius, logo, voice, which Strata project it is linked to and whether it stays in sync automatically. Precedence: the linked Strata project, then the site's own saved brand, then the account's onboarding brand. Call this FIRST whenever you are about to create or change anything for a site (pages, sections, emails, blog or store layouts, funnel pages, apps). If a brand comes back, use it by default and never ask the owner for colours, fonts or a logo; tell them once "I'l…

ParameterTypeDescription
siteIdstringThe site (its home page id from list_landing_pages). Optional when the owner has only one site.

list_strata_projects

Lists the owner's Strata projects (their brand and design-system projects, with a main colour and logo when Strata has them). Use it to offer "use one of your Strata brands" when starting a NEW site or when a site has no brand linked yet. Returns connected:false when the owner hasn't connected Strata (or their sign-in ran out): in that case say nothing about Strata, just carry on with their own brand, or tell them they can connect it from the site's Brand page.

create_strata_project_from_brand

Makes a NEW Strata project in the owner's Strata account from the site's current brand (main colour, second colour, fonts, logo) and links the site to it with auto-sync on, so the brand lives in Strata and stays in step from now on. Use it when the site has a brand but no Strata project and the owner wants it kept in Strata. Fails with a plain explanation if the site already uses a Strata project, has no colours yet, or Strata isn't connected.

ParameterTypeDescription
autoSyncbooleanKeep the site up to date when the project is published in Strata. Default true.
namestringThe new project's name. Default: the site's name.
siteIdstringThe site (its home page id from list_landing_pages). Optional when the owner has only one site.

list_brand_components

Lists the ready-made components of a site's brand (a button, a card, a banner...): their names, looks (variants) and the parts you fill in (slots), and exactly how to use each on a page. The brand lives in Strata and these come from the linked Strata project, so they are the owner's own design. USE THEM FIRST: before you hand-build a button, card or similar, call this and use the brand's own; tell the owner once "I'll use your brand's <name>". On a page a component is an element with the class plx-brand-<name> (and plx-brand-<name>--<look>), styled by the site's hosted brand sheet. When you bu…

ParameterTypeDescription
siteIdstringThe site (its home page id from list_landing_pages). Optional when the owner has only one site.

create_brand_component

Saves a reusable component (a button, a card, a banner, a pricing box...) to the site's brand in Strata, so every page and every tool can use it and it goes live on the site straight away. Needs a site whose brand is linked to a Strata project. Describe it with the brand's own variables rather than fixed colours: styles {"padding":"var(--space-5)","background-color":"var(--color-bg-surface)","border-radius":"var(--radius-lg)"} (read them with get_brand_tokens). variants are other looks that change only some styles, e.g. {"raised":{"box-shadow":"var(--shadow-md)"}}. slots are the text parts ins…

ParameterTypeDescription
name *stringShort name, letters and numbers: button, card, banner. It becomes the class plx-brand-<name>.
styles *objectCSS for the outer element, property -> value. Prefer var(--token) values.
replacebooleanUpdate the component if the brand already has one with this name. Only with the owner's agreement.
siteIdstringThe site (its home page id from list_landing_pages). Optional when the owner has only one site.
slotsarrayThe text parts inside: role (title, body, label...), tag (h1-h6, p, span, a, small, strong, em, li, label, button), text (sample words), styles.
tagstringThe outer element: div (default), section, article, button, a, span, p, ul, li...
variantsobjectOther looks: name -> the styles that change, e.g. {"secondary": {"background-color": "transparent"}}.

get_brand_voice

Reads the WORDS of a site's brand: its tagline, a short "about us" line, and how it sounds (tones, formality, who it speaks to, words they like and words they avoid). Strata's project has no tagline or voice fields, so Plexo keeps these on the site (and copies them into the linked Strata project when there is one). Call it before you write ANY copy for the site (page text, emails, blog posts, product descriptions, ads) and write in that voice without being asked; use the tagline as is where a tagline belongs (header, footer, hero, meta description). If nothing is set, offer once to set it with…

ParameterTypeDescription
siteIdstringThe site (its home page id from list_landing_pages). Optional when the owner has only one site.

set_brand_voice

Saves the words of a site's brand so SOL and every AI helper write in them from now on, and the site's footer and search description can start from them. Pass only what should change: a field you pass replaces the old one ("" or [] clears it), a field you leave out stays. Write them yourself from what the owner said (don't ask them to fill a form): tagline (max 8 words, specific, no buzzwords), aboutLine (one or two plain sentences), tones (up to 4 of: friendly, professional, playful, warm, confident, calm, bold, expert, inspiring, luxurious), formality (casual, balanced, formal), audience (a…

ParameterTypeDescription
aboutLinestringOne or two sentences about the business, max 240 characters.
audiencestringWho it speaks to, max 160 characters.
formalitystringHow formal.
siteIdstringThe site (its home page id from list_landing_pages). Optional when the owner has only one site.
taglinestringA short line that goes with the name, max 90 characters.
tonesarrayHow it sounds.
wordsAvoidarrayWords and phrases never to use.
wordsLikearrayWords and phrases to use where they fit.

get_brand_tokens

Reads the linked Strata project's design tokens for a site (colours, fonts, corner radius, spacing, shadows...) as Plexo holds them, with references resolved. Use the variable names in styles (var(--color-action-primary)) so what you make follows the brand. For the plain summary (main colour, fonts, logo) use get_site_brand. Returns linked:false when the site has no Strata project; then use get_site_brand.

ParameterTypeDescription
siteIdstringThe site (its home page id from list_landing_pages). Optional when the owner has only one site.

set_brand_tokens

Changes the brand in the site's Strata project and publishes it, so the whole site (and every other tool that uses the brand) follows: colours by role (primary, secondary, accent, text, background, surface as hex), fonts (heading, body: a font name like Inter), radius (corner roundness in px) and spacing (steps in px). Only existing tokens and the standard ones are changed; ramps are computed by Strata. Plexo keeps its copy and sends it automatically if Strata can't be reached. Only change the brand when the owner asked; to just read it use get_brand_tokens.

ParameterTypeDescription
coloursobjectRole -> hex, e.g. {"primary":"#E4572E","background":"#FFF8F0"}. Roles: primary, secondary, accent, text, background, surface.
fontWeightsobjectHow heavy each font is, 100 to 900: {"heading":700,"body":400}. Only weights the font really has are loaded.
fontsobject{"heading":"Playfair Display","body":"Inter"}. Any Google Fonts family works (about 1,800 of them), or a font the owner uploaded. Pair a classic heading font with a clean body font, e.g. Playfair Disp…
radiusnumberCorner roundness in px (0 to 64).
siteIdstringThe site (its home page id from list_landing_pages). Optional when the owner has only one site.
spacingobjectStep -> px, e.g. {"4": 16, "6": 24}.