plexo-mcp
v1.1.7Model 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.
| Parameter | Type | Description |
|---|---|---|
domain * | string | Subdomain slug (e.g. 'kicks') or custom domain ('kicks.com'). |
templateId * | string | ID of an existing landing page template to publish — must be a home page (no parent), not a sub-page. |
type | string | Domain 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.
| Parameter | Type | Description |
|---|---|---|
templateId * | string | ID 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.
| Parameter | Type | Description |
|---|---|---|
templateId * | string | ID 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.
| Parameter | Type | Description |
|---|---|---|
kind * | string | Which layout to fetch: 'post' for the single blog post page, 'listing' for the blog index/archive page. |
templateId * | string | The 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).
| Parameter | Type | Description |
|---|---|---|
kind * | string | Which layout to detach. |
templateId * | string | The 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).
| Parameter | Type | Description |
|---|---|---|
templateId * | string | The 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.
| Parameter | Type | Description |
|---|---|---|
templateId * | string | The blog site's home page template id. |
accentColor | string | Hex accent color for the default theme (e.g. '#6d28d9'). Ignored if a custom design_blog_layout has been designed. |
commentsEnabled | boolean | Sitewide comments master switch (a post's own commentsEnabled must also be true for its comments to show). |
description | string | Blog description/tagline. |
enabled | boolean | Whether the blog is publicly visible at /blog. |
fontPreset | string | Font preset for the default theme. |
headerImageUrl | string | Header/banner image URL for the default theme. |
logoUrl | string | Logo image URL for the default theme. |
postsPerPage | number | Posts per listing page, 1-50. |
showOnHomepage | boolean | If true, the blog listing replaces the site's own root page ('/') instead of living at '/blog'. |
title | string | Blog 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.
| Parameter | Type | Description |
|---|---|---|
templateId * | string | The blog site's home page template id. |
categorySlug | string | Optional category slug filter (see list_blog_categories). |
search | string | Optional case-insensitive title search. |
status | string | Optional status filter. |
get_blog_post
Fetches one blog post's full details (content, SEO fields, categories, tags, author) by id or slug.
| Parameter | Type | Description |
|---|---|---|
templateId * | string | The blog site's home page template id. |
postId | string | The post's id. Provide this or slug. |
slug | string | The 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…
| Parameter | Type | Description |
|---|---|---|
templateId * | string | The blog site's home page template id. |
title * | string | Post title. |
authorName | string | Optional byline name — reused if an author with this name exists, created otherwise. |
categoryNames | array | Optional category names — reused/created as needed. |
contentHtml | string | Post body as semantic HTML (see this tool's description for supported tags). |
excerpt | string | Optional short summary shown on the listing page. Auto-generated from content if omitted. |
featuredImageAlt | string | Optional alt text for the featured image. |
featuredImageUrl | string | Optional featured/hero image URL. |
metaDescription | string | Optional SEO meta description. Falls back to the excerpt. |
metaTitle | string | Optional SEO meta title. Falls back to the post title. |
noindex | boolean | If true, adds a noindex meta tag (hides the post from search engines). |
ogImageUrl | string | Optional Open Graph share image URL. Falls back to the featured image. |
scheduledAt | string | ISO datetime to auto-publish at — only used when status is SCHEDULED. |
slug | string | Optional URL slug. Auto-generated from the title if omitted; auto-suffixed on collision. |
status | string | Defaults to DRAFT if omitted. |
tagNames | array | Optional 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).
| Parameter | Type | Description |
|---|---|---|
postId * | string | The post to update. |
templateId * | string | The blog site's home page template id. |
authorName | string | Byline name — reused/created as needed. |
categoryNames | array | FULL replacement category list — reused/created as needed. |
contentHtml | string | Post body as semantic HTML — replaces the entire body if provided. |
excerpt | string | |
featuredImageAlt | string | |
featuredImageUrl | string | |
metaDescription | string | |
metaTitle | string | |
noindex | boolean | |
ogImageUrl | string | |
scheduledAt | string | ISO datetime — only used when status is SCHEDULED. |
slug | string | |
status | string | |
tagNames | array | FULL replacement tag list — reused/created as needed. |
title | string |
delete_blog_post
Permanently deletes a blog post. Cannot be undone — confirm with the user first.
| Parameter | Type | Description |
|---|---|---|
postId * | string | The post to delete. |
templateId * | string | The blog site's home page template id. |
list_blog_categories
Lists a blog site's categories.
| Parameter | Type | Description |
|---|---|---|
templateId * | string | The 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.
| Parameter | Type | Description |
|---|---|---|
name * | string | Category name. |
templateId * | string | The blog site's home page template id. |
description | string | Optional category description. |
parentName | string | Optional 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.
| Parameter | Type | Description |
|---|---|---|
templateId * | string | The blog site's home page template id. |
categoryId | string | The category's id. Provide this or name. |
name | string | The category's name (case-insensitive). Provide this or categoryId. |
list_blog_tags
Lists a blog site's tags.
| Parameter | Type | Description |
|---|---|---|
templateId * | string | The 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.
| Parameter | Type | Description |
|---|---|---|
name * | string | Tag name. |
templateId * | string | The 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.
| Parameter | Type | Description |
|---|---|---|
templateId * | string | The blog site's home page template id. |
name | string | The tag's name (case-insensitive). Provide this or tagId. |
tagId | string | The tag's id. Provide this or name. |
list_blog_authors
Lists a blog site's authors/bylines.
| Parameter | Type | Description |
|---|---|---|
templateId * | string | The 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.
| Parameter | Type | Description |
|---|---|---|
name * | string | Author display name. |
templateId * | string | The blog site's home page template id. |
avatarUrl | string | Optional avatar image URL. |
bio | string | Optional author bio. |
delete_blog_author
Deletes a blog author. Their posts are kept — they just lose the byline (same as removing a category/tag).
| Parameter | Type | Description |
|---|---|---|
templateId * | string | The blog site's home page template id. |
authorId | string | The author's id. Provide this or name. |
name | string | The 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.
| Parameter | Type | Description |
|---|---|---|
templateId * | string | The blog site's home page template id. |
status | string | Optional status filter. |
moderate_blog_comment
Approves, rejects, or marks a comment as spam (or resets it to pending).
| Parameter | Type | Description |
|---|---|---|
commentId * | string | The comment to moderate. |
status * | string | New moderation status. |
templateId * | string | The blog site's home page template id. |
delete_blog_comment
Permanently deletes a comment (and any replies nested under it, cascading).
| Parameter | Type | Description |
|---|---|---|
commentId * | string | The comment to delete. |
templateId * | string | The blog site's home page template id. |
list_commerce_products
Lists a site's Commerce products (physical, service, or digital), most recently created first.
| Parameter | Type | Description |
|---|---|---|
templateId * | string | The site's home page template id. |
activeOnly | boolean | If true, only returns products that aren't soft-deleted/deactivated. |
kind | string | Optional kind filter. |
list_commerce_orders
Lists a site's Commerce orders (25 per page, most recent first), with optional status/search filters.
| Parameter | Type | Description |
|---|---|---|
templateId * | string | The site's home page template id. |
page | number | 1-indexed page number. |
q | string | Optional search across order number, customer email, and customer name. |
status | string | Optional 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.
| Parameter | Type | Description |
|---|---|---|
fulfillmentStatus * | string | |
orderId * | string | |
templateId * | string | The 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.
| Parameter | Type | Description |
|---|---|---|
templateId * | string | The 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).
| Parameter | Type | Description |
|---|---|---|
templateId * | string | The 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.
| Parameter | Type | Description |
|---|---|---|
accountHolderName * | string | |
accountNumber * | string | |
amountCents * | number | Amount to withdraw, in the smallest currency unit. |
bankName * | string | |
templateId * | string | The 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.
| Parameter | Type | Description |
|---|---|---|
expectedVolume | string | Optional — expected monthly volume. |
reason | string | Optional — 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.
| Parameter | Type | Description |
|---|---|---|
templateId * | string | The site's home page template id. |
create_commerce_delivery_method
Creates a delivery/fulfillment method a customer can choose at checkout.
| Parameter | Type | Description |
|---|---|---|
name * | string | Shown to the customer at checkout, e.g. "Store Pickup" or "Lagos Courier". |
templateId * | string | The site's home page template id. |
type * | string | |
countries | array | ISO-3166-1 alpha-2 codes this method is restricted to. Omit/empty for worldwide. |
description | string | |
estimatedTimeLabel | string | e.g. "2-3 business days". |
feeMinor | number | Fee in the smallest currency unit. Defaults to 0. |
sortOrder | number | |
states | array | State/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.
| Parameter | Type | Description |
|---|---|---|
deliveryMethodId * | string | |
templateId * | string | The site's home page template id. |
countries | array | Empty array clears the restriction (worldwide). |
description | string | Empty string clears it. |
estimatedTimeLabel | string | |
feeMinor | number | |
name | string | |
sortOrder | number | |
states | array | Empty array clears the restriction. |
status | string | |
type | string |
delete_commerce_delivery_method
Permanently deletes a delivery method.
| Parameter | Type | Description |
|---|---|---|
deliveryMethodId * | string | |
templateId * | string | The 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).
| Parameter | Type | Description |
|---|---|---|
action * | string | |
orderId * | string | |
templateId * | string | The site's home page template id. |
reason | string | Optional note to the customer when rejecting. |
list_commerce_discounts
Lists a site's discount codes, most recently created first.
| Parameter | Type | Description |
|---|---|---|
templateId * | string | The site's home page template id. |
create_commerce_discount
Creates a discount code customers can redeem at checkout.
| Parameter | Type | Description |
|---|---|---|
code * | string | Case-insensitive; stored uppercased. Must be unique on this site. |
templateId * | string | The site's home page template id. |
type * | string | |
value * | number | A positive integer. For PERCENT, out of 100 (and can't exceed 100). For FIXED, the smallest currency unit. |
expiresAt | string | Optional ISO 8601 date/time after which the code stops working. |
usageLimit | number | Optional 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.
| Parameter | Type | Description |
|---|---|---|
discountId * | string | |
templateId * | string | The site's home page template id. |
active | boolean | |
expiresAt | string | Empty string clears the expiry. |
usageLimit | number | 0 or omitted-as-empty clears the limit. |
delete_commerce_discount
Permanently deletes a discount code.
| Parameter | Type | Description |
|---|---|---|
discountId * | string | |
templateId * | string | The 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).
| Parameter | Type | Description |
|---|---|---|
templateId * | string | The site's home page template id. |
page | number | 1-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.
| Parameter | Type | Description |
|---|---|---|
templateId * | string | An 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.
| Parameter | Type | Description |
|---|---|---|
templateId * | string | The 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.
| Parameter | Type | Description |
|---|---|---|
templateId * | string | The funnel's home page template id. |
collectPhone | boolean | |
enabled | boolean | |
requireName | boolean | |
signupMode | string | |
signupProductId | string | A DIGITAL Commerce product id (see create_commerce_product). Pass an empty string to clear it. |
welcomeRedirectPath | string | Pass 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.
| Parameter | Type | Description |
|---|---|---|
templateId * | string | The funnel's home page template id. |
list_funnel_pages
Lists a funnel's pages in their display order.
| Parameter | Type | Description |
|---|---|---|
templateId * | string | The funnel's home page template id. |
delete_funnel_page
Deletes a funnel page and closes the resulting order gap in the remaining pages.
| Parameter | Type | Description |
|---|---|---|
pageId * | string | |
templateId * | string | The 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.
| Parameter | Type | Description |
|---|---|---|
orderedPageIds * | array | |
templateId * | string | The funnel's home page template id. |
list_funnel_enrollments
Lists a funnel's learner enrollments, most recently enrolled first.
| Parameter | Type | Description |
|---|---|---|
templateId * | string | The funnel's home page template id. |
get_funnel_enrollment
Fetches one learner's enrollment plus their per-page progress.
| Parameter | Type | Description |
|---|---|---|
email * | string | |
templateId * | string | The 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.
| Parameter | Type | Description |
|---|---|---|
email * | string | |
pageId * | string | |
templateId * | string | The 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).
| Parameter | Type | Description |
|---|---|---|
email * | string | |
status * | string | |
templateId * | string | The funnel's home page template id. |
resend_funnel_magic_link
Re-sends the passwordless login email to an ACTIVE learner. Rate-limited to once per 60 seconds per learner.
| Parameter | Type | Description |
|---|---|---|
email * | string | |
templateId * | string | The 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.
| Parameter | Type | Description |
|---|---|---|
templateId * | string | The 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.
| Parameter | Type | Description |
|---|---|---|
name * | string | What donors are giving to, e.g. 'Support our mission'. |
presetAmounts * | array | Suggested amounts in the smallest currency unit, optionally named — e.g. [{"amountMinor":2500,"label":"Bronze"},{"amountMinor":5000}]. |
templateId * | string | The site's home page id. |
allowCustomAmount | boolean | Let donors type their own amount (default true). |
allowMonthly | boolean | Offer monthly giving (default true; needs Stripe or Paystack connected). |
buttonLabel | string | Donate button text (default 'Donate'). |
defaultFrequency | string | Which frequency is pre-selected. |
defaultPresetIndex | number | Which suggested amount is pre-selected (0-based). |
description | string | Optional one-line description shown on the form. |
goalAmountMinor | number | null | Optional fundraising goal — shows a progress bar. |
minAmountMinor | number | Smallest custom amount, smallest currency unit (default 100). |
thankYouMessage | string | Shown 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).
| Parameter | Type | Description |
|---|---|---|
campaignId * | string | |
templateId * | string | |
active | boolean | |
allowCustomAmount | boolean | Let donors type their own amount (default true). |
allowMonthly | boolean | Offer monthly giving (default true; needs Stripe or Paystack connected). |
buttonLabel | string | Donate button text (default 'Donate'). |
defaultFrequency | string | Which frequency is pre-selected. |
defaultPresetIndex | number | Which suggested amount is pre-selected (0-based). |
description | string | Optional one-line description shown on the form. |
goalAmountMinor | number | null | Optional fundraising goal — shows a progress bar. |
minAmountMinor | number | Smallest custom amount, smallest currency unit (default 100). |
name | string | What donors are giving to, e.g. 'Support our mission'. |
presetAmounts | array | Suggested amounts in the smallest currency unit, optionally named — e.g. [{"amountMinor":2500,"label":"Bronze"},{"amountMinor":5000}]. |
thankYouMessage | string | Shown 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.
| Parameter | Type | Description |
|---|---|---|
subscriptionId * | string | From 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.
| Parameter | Type | Description |
|---|---|---|
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.
| Parameter | Type | Description |
|---|---|---|
templateId * | string | The site's home page id (see list_landing_pages). |
useLast | boolean | True 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…
| Parameter | Type | Description |
|---|---|---|
fix * | string | |
templateId * | string | The site's home page id. |
alts | object | For alt_text: { "<picture address>": "A chocolate cake on a stand" }, the descriptions from the preview, possibly edited. |
business | object | For 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… |
enabled | boolean | Default true. False undoes the fix. |
preview | boolean | True shows what the fix would change, in plain words, without changing anything. |
regenerate | boolean | With preview: true on page_title or alt_text, writes the texts again (uses AI credits again). |
text | string | For meta_description: the summary to use (40 to 200 characters), usually the one shown in the preview, possibly edited by the owner. |
titles | object | For 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.
| Parameter | Type | Description |
|---|---|---|
enabled * | boolean | True turns the weekly email on, false turns it off. |
templateId * | string | The 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.
| Parameter | Type | Description |
|---|---|---|
url * | string | The 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.…
| Parameter | Type | Description |
|---|---|---|
ownershipConfirmed * | boolean | true only if the owner confirmed they own the site or have permission to move it. |
url * | string | The site's public address (same as preview_wordpress_migration). |
acceptAcceptableUsePolicy | boolean | true 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…
| Parameter | Type | Description |
|---|---|---|
jobId | string | The migration id returned by start_wordpress_migration. |
templateId | string | The 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.
| Parameter | Type | Description |
|---|---|---|
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.
| Parameter | Type | Description |
|---|---|---|
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.
| Parameter | Type | Description |
|---|---|---|
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.
| Parameter | Type | Description |
|---|---|---|
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.
| Parameter | Type | Description |
|---|---|---|
templateId * | string | Any 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…
| Parameter | Type | Description |
|---|---|---|
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 * | string | The section's design, with {{placeholders}}. |
name * | string | What are you creating? e.g. 'Testimonials'. |
templateId * | string | Any page id of the site. |
defaults | object | Optional starting content. |
description | string |
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.
| Parameter | Type | Description |
|---|---|---|
sectionTypeId * | string | From list_section_types. |
templateId * | string | Any page id of the site. |
defaults | object | |
description | string | |
fields | array | |
html | string | |
name | string |
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.
| Parameter | Type | Description |
|---|---|---|
sectionTypeId * | string | From list_section_types. |
templateId * | string | The page to add it to. |
afterSectionId | string | A section id from page_describe. |
content | object | {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.
| Parameter | Type | Description |
|---|---|---|
templateId * | string | Any page id of the site. |
search | string | Only entries whose words, page or section name contain this. |
sectionTypeId | string | Only 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.
| Parameter | Type | Description |
|---|---|---|
pageId * | string | The page the section is on (from list_section_entries). |
sectionId * | string | From list_section_entries. |
templateId * | string | Any 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.
| Parameter | Type | Description |
|---|---|---|
pageId * | string | |
sectionId * | string | |
templateId * | string | Any page id of the site. |
addRows | object | |
content | object | {fieldKey: value} or {'list.0.field': value} |
duplicateRow | object | |
moveRow | object | |
removeRows | object |
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.
| Parameter | Type | Description |
|---|---|---|
items * | array | |
templateId * | string | Any 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…
| Parameter | Type | Description |
|---|---|---|
siteId * | string | The 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…
| Parameter | Type | Description |
|---|---|---|
siteId * | string | The site's home page id (list_landing_pages shows it). |
commands | array | page_edit-style commands applied to the header or footer. |
enabled | boolean | Switch the site's shared header and footer on or off. |
kind | string | Which part to change. Not needed with enabled alone. |
removeOldChrome | boolean | After the shared header/footer is in place, remove each page's own copy so it isn't shown twice. |
reset | boolean | Blank 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.
| Parameter | Type | Description |
|---|---|---|
templateId * | string | The page's id. |
showFooter | boolean | |
showHeader | boolean |
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').
| Parameter | Type | Description |
|---|---|---|
siteId * | string | The 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,…
| Parameter | Type | Description |
|---|---|---|
siteId * | string | The site's home page id (list_landing_pages shows it). |
footer | string | Code for the footer (end of every page). "" clears it. |
head | string | Code for the header (top of every page). "" clears it. |
onCheckout | boolean | Also 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.
| Parameter | Type | Description |
|---|---|---|
templateId * | string | The site's home page id (see list_landing_pages). |
days | number | Default 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.
| Parameter | Type | Description |
|---|---|---|
templateId * | string | The 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.
| Parameter | Type | Description |
|---|---|---|
templateId * | string | The site's home page id (see list_landing_pages). |
set_cookie_notice
Shows or changes the cookie notice visitors in Europe, the UK, Switzerland and Brazil see before the visitor numbers start counting. On by default; nobody else ever sees it. Pass only what should change. Without any settings it returns the current ones.
| Parameter | Type | Description |
|---|---|---|
templateId * | string | The site's home page id (see list_landing_pages). |
accentColor | string | A #rrggbb colour, or empty to follow the site's brand. |
acceptLabel | string | |
declineLabel | string | |
enabled | boolean | |
message | string | Up to 240 characters. |
position | string | A bar along the bottom, or a small card in the corner. |
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…
| Parameter | Type | Description |
|---|---|---|
templateId * | string | The page's id (see list_landing_pages / get_landing_page_pages / find_page). |
preview | boolean | True changes nothing: returns what would come along and what to tell the owner first. |
source | string | Which 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.
| Parameter | Type | Description |
|---|---|---|
templateId * | string | The 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.
| Parameter | Type | Description |
|---|---|---|
appId * | string | The 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".
| Parameter | Type | Description |
|---|---|---|
appId * | string | The app's id (from create_app or list_apps). |
prefix | string |
app_read_files
Reads up to 30 files' contents. Always read a file before editing it.
| Parameter | Type | Description |
|---|---|---|
appId * | string | The 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.
| Parameter | Type | Description |
|---|---|---|
appId * | string | The 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.
| Parameter | Type | Description |
|---|---|---|
appId * | string | The 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.
| Parameter | Type | Description |
|---|---|---|
appId * | string | The app's id (from create_app or list_apps). |
minutes | number | How 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.
| Parameter | Type | Description |
|---|---|---|
appId * | string | The app's id (from create_app or list_apps). |
env | string | Which 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.
| Parameter | Type | Description |
|---|---|---|
appId * | string | The 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.
| Parameter | Type | Description |
|---|---|---|
appId * | string | The 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.
| Parameter | Type | Description |
|---|---|---|
appId * | string | The app's id (from create_app or list_apps). |
subdomain | string | Optional, e.g. "acme-crm" → acme-crm.<pages domain>. |
app_versions
The app's version history (every build and save), newest first.
| Parameter | Type | Description |
|---|---|---|
appId * | string | The 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.
| Parameter | Type | Description |
|---|---|---|
appId * | string | The 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.
| Parameter | Type | Description |
|---|---|---|
appId * | string | The app's id (from create_app or list_apps). |
name * | string | UPPER_SNAKE_CASE, e.g. OPENAI_API_KEY. |
why * | string | One 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.
| Parameter | Type | Description |
|---|---|---|
appId * | string | The app's id (from create_app or list_apps). |
name * | string | |
env | string | Which database: "dev" (the preview, default) or "live" (the published app). |
minutes | number |
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.
| Parameter | Type | Description |
|---|---|---|
appId * | string | The app's id (from create_app or list_apps). |
allowSignups | boolean | |
google | boolean | |
magicLink | boolean | |
password | boolean | |
requireEmailConfirmation | boolean |
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…
| Parameter | Type | Description |
|---|---|---|
includeCatalog | boolean | Default true. Pass false once you already know the catalog. |
siteId | string | The site's home page id (same as templateId; use whichever you have). |
slug | string | Optional: a page of the site by its address segment, e.g. "about", when templateId/siteId is the site's home page. |
templateId | string | A 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…
| Parameter | Type | Description |
|---|---|---|
templateId * | string | The 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. |
domain | string | Home page only. Subdomain slug (e.g. 'kicks') or custom domain ('kicks.com'). |
type | string | Inferred 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.
| Parameter | Type | Description |
|---|---|---|
kind * | string | post = a single article's page; listing = the blog index. |
templateId * | string | The blog site's home page id. |
includeCatalog | boolean | Default 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…
| Parameter | Type | Description |
|---|---|---|
designJson * | object | Plexo layout schema object generated by the AI containing body style and rows array with columns and elements. |
name * | string | Title or brand name of the landing page (e.g. 'Kicks Store', 'Bulum SaaS') |
compiledHtml | string | Ignored. 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. |
domain | string | Subdomain slug (e.g. 'kicks', 'bulum') or custom domain ('kicks.com') |
type | string | Domain 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…
| Parameter | Type | Description |
|---|---|---|
designJson * | object | Plexo 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 * | string | Subject line or template title (e.g. 'Weekly Newsletter #42') |
compiledHtml | string | Ignored. 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…
| Parameter | Type | Description |
|---|---|---|
projectId | string | Optional. The user's Strata project id to connect (or switch to). Omit to check/use the previously connected project, if any. |
siteId | string | Optional. 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…
| Parameter | Type | Description |
|---|---|---|
designJson * | object | The FULL replacement Plexo layout schema (same shape as publish_landing_page's designJson) — not a partial patch. |
templateId * | string | ID of the template to update — the templateId returned by publish_landing_page, create_email_template, list_landing_pages, or list_email_templates. |
compiledHtml | string | Ignored. HTML is always compiled server-side from the validated designJson (and sanitized). |
name | string | Optional 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…
| Parameter | Type | Description |
|---|---|---|
htmlContent * | string | The FULL replacement raw HTML document (up to 1MB) — not a partial patch. |
templateId * | string | ID 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. |
name | string | Optional 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…
| Parameter | Type | Description |
|---|---|---|
designJson * | object | Plexo layout schema object — same shape as publish_landing_page's designJson. |
name * | string | Title 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…
| Parameter | Type | Description |
|---|---|---|
htmlContent * | string | The 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 * | string | Title of the landing page (e.g. 'Kicks Store'). |
acceptAup | boolean | 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 (/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…
| Parameter | Type | Description |
|---|---|---|
domain * | string | Subdomain slug (e.g. 'kicks') or custom domain ('kicks.com'). |
htmlContent * | string | The 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 * | string | Title of the landing page (e.g. 'Kicks Store'). |
acceptAup | boolean | 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 (/legal/acceptable-use). Not needed once the a… |
type | string | Domain 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…
| Parameter | Type | Description |
|---|---|---|
name * | string | Friendly name of the page (e.g. 'About Us'). |
parentTemplateId * | string | ID 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… |
acceptAup | boolean | Only 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… |
designJson | object | Optional. 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… |
htmlContent | string | Optional. 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. |
slug | string | Optional 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…
| Parameter | Type | Description |
|---|---|---|
templateId * | string | ID of the page to update. |
name | string | Optional new name. |
order | number | Optional sort position among sibling pages under the same parent (lower = earlier). |
parentTemplateId | string | Optional 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). |
slug | string | Optional 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.
| Parameter | Type | Description |
|---|---|---|
name | string | Optional template name or search phrase if templateId is unknown (e.g. 'buzm'). |
templateId | string | ID 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.
| Parameter | Type | Description |
|---|---|---|
templateId * | string | ID 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.
| Parameter | Type | Description |
|---|---|---|
templateId | string | Optional 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.
| Parameter | Type | Description |
|---|---|---|
domain | string | Domain name to delete (e.g. 'acme.plexobuilder.com') |
domainId | string | ID 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…
| Parameter | Type | Description |
|---|---|---|
designJson * | object | The FULL Plexo layout schema — see this tool's description for the required marker element and a worked example per kind. |
kind * | string | Which layout to design: 'post' for the single blog post page, 'listing' for the blog index/archive page. |
templateId * | string | The blog site's home page template id (see list_landing_pages). |
name | string | Optional 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.
| Parameter | Type | Description |
|---|---|---|
productId * | string | The product's id. |
templateId * | string | The 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…
| Parameter | Type | Description |
|---|---|---|
kind * | string | Product kind. |
name * | string | Product name. |
priceMinor * | number | Price in the smallest currency unit (kobo for NGN). |
templateId * | string | The site's home page template id. |
category | string | Optional category name — reused if it exists, created otherwise. |
compareAtPriceMinor | number | Optional 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. |
description | string | Optional description. |
digitalAccessInstructions | string | DIGITAL/ACCESS_LIST — instructions emailed to the buyer. |
digitalAccessPassword | string | DIGITAL/ACCESS_LIST — optional static password to include in the delivery email. |
digitalDeliveryMethod | string | DIGITAL only — see this tool's description. |
digitalExternalUrl | string | DIGITAL/EXTERNAL_LINK — the Drive/Dropbox/etc. link to deliver. |
digitalFileName | string | DIGITAL/FILE_DOWNLOAD — display name for the file. |
digitalFileUrl | string | DIGITAL/FILE_DOWNLOAD — the uploaded file's URL (upload via the dashboard first). |
digitalLinkExpiryDays | number | DIGITAL/FILE_DOWNLOAD — days until the link expires. Omit for no expiry. |
digitalMaxDownloads | number | DIGITAL/FILE_DOWNLOAD — max downloads before the link stops working. Omit for unlimited. |
durationMinutes | number | SERVICE only — booking duration in minutes. |
imageUrl | string | Optional cover/main image URL. |
options | array | PHYSICAL/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… |
sku | string | Optional SKU / stock code. |
stockQuantity | number | PHYSICAL only — starting stock. Omit for untracked stock. |
variants | array | One 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.
| Parameter | Type | Description |
|---|---|---|
productId * | string | The product to update. |
templateId * | string | The site's home page template id. |
active | boolean | |
category | string | Category name — reused/created as needed. Empty string clears it. |
compareAtPriceMinor | number | Optional 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. |
description | string | |
digitalAccessInstructions | string | |
digitalAccessPassword | string | Leave unset to keep the current password unchanged. |
digitalDeliveryMethod | string | DIGITAL only — switches the delivery method, clearing the other methods' fields. |
digitalExternalUrl | string | |
digitalFileName | string | |
digitalFileUrl | string | |
digitalLinkExpiryDays | number | |
digitalMaxDownloads | number | |
durationMinutes | number | SERVICE only. |
imageUrl | string | |
name | string | |
options | array | PHYSICAL/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… |
priceMinor | number | |
sku | string | Optional SKU / stock code. |
stockQuantity | number | PHYSICAL only. |
variants | array | One 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).
| Parameter | Type | Description |
|---|---|---|
productId * | string | The product to deactivate. |
templateId * | string | The 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.
| Parameter | Type | Description |
|---|---|---|
templateId * | string | The 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…
| Parameter | Type | Description |
|---|---|---|
templateId * | string | The site's home page template id. |
bankTransferAccountName | string | Name on the account. Shown to customers at checkout. |
bankTransferAccountNumber | string | Shown to customers at checkout. |
bankTransferBankName | string | e.g. "GTBank". Shown to customers at checkout. |
bankTransferEnabled | boolean | Offer direct bank transfer at checkout. Requires the three bank fields below (already saved or sent in this call). |
bankTransferInstructions | string | Optional extra note shown with the bank details (e.g. "Send a screenshot to 080…"). Empty string clears it. |
checkoutFields | array | REPLACES 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. |
currency | string | Site-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. |
deliveryEnabled | boolean | false hides every shipping (COURIER) method at checkout. Default true. |
enabled | boolean | Master on/off switch for Commerce on this site. |
maildripApiKey | string | |
maildripNewsletterGroupId | string | |
maildripPaidGroupId | string | |
newsletterPopupEnabled | boolean | Shows 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. |
notificationEmail | string | |
notifyCustomerOnCompleted | boolean | Email the customer when fulfillment status changes to COMPLETED. Default true. |
notifyCustomerOnPaid | boolean | Email the customer an order confirmation once paid. Default true. |
notifyCustomerOnProcessing | boolean | Email the customer when fulfillment status changes to PROCESSING. Default true. |
notifyCustomerOnReadyForPickup | boolean | Email the customer when fulfillment status changes to READY_FOR_PICKUP. Default true. |
notifyCustomerOnRefunded | boolean | Email the customer when their order is refunded. Default true. |
notifyCustomerOnShipped | boolean | Email the customer when fulfillment status changes to SHIPPED. Default true. |
paymentProvider | string | |
paystackLivePublicKey | string | |
paystackLiveSecretKey | string | |
paystackMode | string | Which BYO Paystack key pair is active. |
paystackTestPublicKey | string | |
paystackTestSecretKey | string | |
pickupEnabled | boolean | The built-in free "Store pickup" option at checkout. Default true. |
pickupInstructions | string | Optional pickup hours/notes. Empty string clears it. |
pickupLocation | string | The store's pickup address, shown to customers at checkout and on their order. Empty string clears it. |
storefrontSlug | string | Renames 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. |
stripeLivePublishableKey | string | |
stripeLiveSecretKey | string | |
stripeLiveWebhookSecret | string | Same as stripeTestWebhookSecret, for the Live mode webhook endpoint. |
stripeMode | string | Which BYO Stripe key pair is active. |
stripeTestPublishableKey | string | |
stripeTestSecretKey | string | |
stripeTestWebhookSecret | string | From the site owner's own Stripe Dashboard webhook endpoint (Test mode), signing secret starting with whsec_. |
termsText | string | The 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. |
termsUrl | string | Optional 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).
| Parameter | Type | Description |
|---|---|---|
orderId * | string | The order's id. |
templateId * | string | The 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.
| Parameter | Type | Description |
|---|---|---|
deliveryId * | string | The CommerceDigitalDelivery id (from get_commerce_order's digitalDeliveries). |
orderId * | string | The order. |
templateId * | string | The 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.
| Parameter | Type | Description |
|---|---|---|
confirmOrderNumber * | string | The 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 * | string | The owner's stated reason (min 5 characters) — stored on the order as an audit trail. |
templateId * | string | The 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…
| Parameter | Type | Description |
|---|---|---|
confirmOrderNumber * | string | The 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 * | string | The 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…
| Parameter | Type | Description |
|---|---|---|
templateId * | string | The funnel's home page template id. |
kind | string | Defaults to VIDEO. |
title | string | Defaults 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…
| Parameter | Type | Description |
|---|---|---|
pageId * | string | |
templateId * | string | The funnel's home page template id. |
assetFileName | string | |
assetMimeType | string | |
assetSizeBytes | number | |
assetUrl | string | Already-uploaded file URL (this tool can't accept raw bytes). Empty string clears it. |
bodyHtml | string | Sanitized server-side. For a WELCOME page this renders as plain text, not markup. |
contentMode | string | SIMPLE/RAW_HTML both write to bodyHtml; ADVANCED is a full-builder page and isn't settable from here. |
kind | string | |
title | string | |
unlockRules | object | See this tool's description for the shape. |
visible | boolean | |
youtubeVideoId | string | Empty 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).
| Parameter | Type | Description |
|---|---|---|
templateId * | string | The 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.
| Parameter | Type | Description |
|---|---|---|
formName * | string | Exactly as get_form_settings lists it. |
templateId * | string | The site's home page id. |
maildripGroupId | string | null | A list id from get_form_settings' maildrip.groups, or null to stop adding to a list. |
webhookUrl | string | null | https 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…
| Parameter | Type | Description |
|---|---|---|
preset * | string | |
templateId * | string | The 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.
| Parameter | Type | Description |
|---|---|---|
templateId * | string | The site's home page id. |
type | string | A 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.
| Parameter | Type | Description |
|---|---|---|
data * | object | Field values keyed by field key. |
templateId * | string | The site's home page id. |
type * | string | The content type's slug. |
publish | boolean | Default 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.
| Parameter | Type | Description |
|---|---|---|
type * | string | The content type's slug. |
columns | number | 1–4, for gallery and stories. |
layout | string | |
limit | number |
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…
| Parameter | Type | Description |
|---|---|---|
name * | string | Short, 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…
| Parameter | Type | Description |
|---|---|---|
appId * | string | The 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…
| Parameter | Type | Description |
|---|---|---|
appId * | string | The 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.
| Parameter | Type | Description |
|---|---|---|
appId * | string | The app's id (from create_app or list_apps). |
message | string | One 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.
| Parameter | Type | Description |
|---|---|---|
appId * | string | The 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).
| Parameter | Type | Description |
|---|---|---|
appId * | string | The app's id (from create_app or list_apps). |
fullPage | boolean | Capture the whole scrolling page instead of the first screen. |
path | string | Page to open, e.g. /dashboard (default /). |
viewport | string | desktop (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).
| Parameter | Type | Description |
|---|---|---|
query * | string | What the photo should show, specific and visual. |
count | number | How many (1–12, default 6). |
orientation | string | landscape 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:"…
| Parameter | Type | Description |
|---|---|---|
appId * | string | The app's id (from create_app or list_apps). |
commands * | array | |
overwrite | boolean | Replace hand edits made to the page's code. Only when the owner asked for it. |
slug | string | The 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…
| Parameter | Type | Description |
|---|---|---|
commands * | array | |
templateId * | string | The 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. |
slug | string | Optional: 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…
| Parameter | Type | Description |
|---|---|---|
name * | string | Page name, e.g. "Home", "Pricing" or the business's name for a new site. |
content | array | Optional 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. |
siteId | string | Add the page to this existing visual site (its home page id). Omit to start a new site. |
templateId | string | Which 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?} · {…
| Parameter | Type | Description |
|---|---|---|
commands * | array | |
kind * | string | |
templateId * | string | The blog site's home page id. |
startFresh | boolean | Only 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…
| Parameter | Type | Description |
|---|---|---|
siteId * | string | The site's home page id (list_landing_pages shows it). |
addCard | boolean | Also add a buy card. Default: only when the page had no payment link to switch. |
buttonLabel | string | Text on the buy card's button. Default "Buy now". |
convertLinks | boolean | Switch the page's existing hosted payment links to the new checkout. Default true. |
deliveryInstructions | string | Creates the product: instructions emailed to buyers instead of a link. |
deliveryUrl | string | Creates the product: the link buyers are sent after paying (the course, a drive folder, a members' area). |
description | string | Creates the product: a short description shown on the buy card. |
fileUrl | string | Creates the product: a file already uploaded to Plexo that buyers can download. |
heading | string | Visual pages: the heading above the buy card. Default: the product's name. |
imageUrl | string | Creates the product: a picture for the buy card. |
name | string | Creates the product: its name, e.g. "AI Video Creation Course". |
pageId | string | Optional: put it on this page of the site instead of the home page. |
paymentLink | string | When the page has several different payment links: part of the URL of the one that is this product's (e.g. "aivideocreationcourse"). |
price | number | Creates the product: price in whole currency units, e.g. 5000 for ₦5,000 (the site's currency). |
productId | string | An 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. |
publish | boolean | Visual pages: publish too. Default true — skipped automatically if the page has other unpublished edits. |
text | string | Visual 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…
| Parameter | Type | Description |
|---|---|---|
brief * | object | Who the site is for. name is required; the more you fill in, the more tailored the result. |
blog | object | The blog's title and first posts (also implies a blog page). Without posts it gets one short welcome post. |
goal | string | Used only when pages is omitted. |
navCta | object | The button in the menu (default: Shop now for a store, Get in touch otherwise). |
pages | array | The 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. |
store | object | Products for the shop (also implies a store page). |
strataProjectId | string | Optional. 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.
| Parameter | Type | Description |
|---|---|---|
industry | string | What the business is, e.g. restaurant, salon, software, boutique. |
limit | number | How many premium templates (default 8, at most 20). |
pageType | string | Only layouts for this page type. |
query | string | Optional words to match (e.g. "wedding", "portfolio"). |
style | string | The 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…
| Parameter | Type | Description |
|---|---|---|
templateId * | string | The premium template's templateId from list_site_templates. |
name | string | The 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…
| Parameter | Type | Description |
|---|---|---|
query * | string | What the owner called it, in their words. |
siteId | string | Optional: 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.
| Parameter | Type | Description |
|---|---|---|
colors * | array | Hex colours, main first, e.g. ["#C2410C", "#F59E0B"]. |
siteId * | string | The site's home page id. |
logoUrl | string | A public https address of their logo. |
noLogo | boolean | True 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…
| Parameter | Type | Description |
|---|---|---|
siteId | string | The 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.
link_site_brand
Links a site to one of the owner's Strata projects (projectId from list_strata_projects). From then on the whole site uses that project's colours, fonts and tokens, whatever it is made of, and it follows the project when the owner publishes in Strata (autoSync, on by default). Pages are rebuilt once so they defer to the brand. Replaces any project the site used before. Only for the owner's own sites and projects.
| Parameter | Type | Description |
|---|---|---|
projectId * | string | The Strata project id (from list_strata_projects). |
autoSync | boolean | Keep the site up to date when the project is published in Strata. Default true. |
siteId | string | The site (its home page id from list_landing_pages). Optional when the owner has only one site. |
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.
| Parameter | Type | Description |
|---|---|---|
autoSync | boolean | Keep the site up to date when the project is published in Strata. Default true. |
name | string | The new project's name. Default: the site's name. |
siteId | string | The 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…
| Parameter | Type | Description |
|---|---|---|
siteId | string | The 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…
| Parameter | Type | Description |
|---|---|---|
name * | string | Short name, letters and numbers: button, card, banner. It becomes the class plx-brand-<name>. |
styles * | object | CSS for the outer element, property -> value. Prefer var(--token) values. |
replace | boolean | Update the component if the brand already has one with this name. Only with the owner's agreement. |
siteId | string | The site (its home page id from list_landing_pages). Optional when the owner has only one site. |
slots | array | The text parts inside: role (title, body, label...), tag (h1-h6, p, span, a, small, strong, em, li, label, button), text (sample words), styles. |
tag | string | The outer element: div (default), section, article, button, a, span, p, ul, li... |
variants | object | Other 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…
| Parameter | Type | Description |
|---|---|---|
siteId | string | The 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…
| Parameter | Type | Description |
|---|---|---|
aboutLine | string | One or two sentences about the business, max 240 characters. |
audience | string | Who it speaks to, max 160 characters. |
formality | string | How formal. |
siteId | string | The site (its home page id from list_landing_pages). Optional when the owner has only one site. |
tagline | string | A short line that goes with the name, max 90 characters. |
tones | array | How it sounds. |
wordsAvoid | array | Words and phrases never to use. |
wordsLike | array | Words 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.
| Parameter | Type | Description |
|---|---|---|
siteId | string | The 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.
| Parameter | Type | Description |
|---|---|---|
colours | object | Role -> hex, e.g. {"primary":"#E4572E","background":"#FFF8F0"}. Roles: primary, secondary, accent, text, background, surface. |
fontWeights | object | How heavy each font is, 100 to 900: {"heading":700,"body":400}. Only weights the font really has are loaded. |
fonts | object | {"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… |
radius | number | Corner roundness in px (0 to 64). |
siteId | string | The site (its home page id from list_landing_pages). Optional when the owner has only one site. |
spacing | object | Step -> px, e.g. {"4": 16, "6": 24}. |