Developers
page-builder-sandwich abilities reference
page-builder-sandwich registers its actions with the WordPress Abilities API. The same abilities are MCP tools on the site's own server and REST routes under /wp-json/wp-abilities/v1. This page is generated from the plugin's own registry.
Endpoints
MCP over HTTP (streamable)
https://example.com/wp-json/pbs/v1/mcpMCP over WP-CLI (standard input and output)
wp mcp-adapter serve --server=page-builder-sandwich --user=<login>REST: list the abilities
/wp-json/wp-abilities/v1/abilities?category=page-builder-sandwichREST: run an ability
/wp-json/wp-abilities/v1/abilities/<name>/runAuthentication and permissions
HTTP requests authenticate with a WordPress application password (HTTP Basic). Connecting to the MCP server needs the capability shown below; every ability then checks its own permission, per object. Read-only abilities run with GET and their input in the query string; the others with POST and a JSON body {"input": {…}}.
Examples
# REST: run an ability
curl -u your-username:your-application-password \
"https://example.com/wp-json/wp-abilities/v1/abilities/pbs/get-breakpoints/run"# MCP (JSON-RPC over HTTP, after "initialize")
{"jsonrpc":"2.0","id":2,"method":"tools/call","params":{"name":"pbs-get-breakpoints","arguments":{}}}All abilities
Generated from the plugin's abilities.json, which is itself generated from a running site; a test fails when the two disagree.
| Ability | What it does | Edition | REST | Permission | Parameters |
|---|---|---|---|---|---|
pbs/activate-custom-fontpbs-activate-custom-font | Turn on an uploaded font (Pro) Makes an uploaded custom font (a font file in the media library, by id) available in the font pickers. | Pro edition | POST …/abilities/pbs/activate-custom-font/run | edit_theme_options (the REST route's own check) | id: integer (required) |
pbs/add-local-fontpbs-add-local-font | Self-host a font Downloads a Google font family (family, weights, italic) and serves it from this site. | Free edition | POST …/abilities/pbs/add-local-font/run | manage_options (the REST route's own check) | family: string (required), weights: array, italic: boolean |
pbs/add-sectionpbs-add-section | Add a section to a page Adds a ready-made section to a page: at the start, at the end, or after the section at a given position. | Free edition | POST …/abilities/pbs/add-section/run | edit_post on that page | id: integer (required), section: string (required), position: start|end|after, after: integer |
pbs/apply-brand-kitpbs-apply-brand-kit | Apply the brand kit (Pro) Applies the saved brand kit's colours and fonts to the site design. | Pro edition | POST …/abilities/pbs/apply-brand-kit/run | edit_theme_options (the REST route's own check) | none |
pbs/apply-kitpbs-apply-kit | Import a website kit Imports a website kit's pages (all of them, or the ones named), optionally publishing them, setting the home page and adding them to a menu. Importing again updates the same pages. | Free edition | POST …/abilities/pbs/apply-kit/run | edit_pages and publish_pages; manage_options to set the home page | slug: string (required), pages: array, publish: boolean, front: boolean, menu: boolean |
pbs/apply-replacepbs-apply-replace | Apply a find-and-replace (Pro) Applies a previewed job. Every changed post keeps a backup for pbs/undo-replace. | Pro edition | POST …/abilities/pbs/apply-replace/run | manage_options (the REST route's own check) | id: string (required) |
pbs/build-landing-pagepbs-build-landing-page | Build a landing page A guided workflow: the agent picks sections that fit your business, builds the page as a draft and writes its text. | Free edition | POST …/abilities/pbs/build-landing-page/run | edit_pages | business: string (required) |
pbs/build-pagespbs-build-pages | Build several pages Creates up to 50 pages in one call, each from sections and/or block content. Each page is checked and created on its own; the answer lists every page made and every one refused, with the reason. | Pro edition | POST …/abilities/pbs/build-pages/run | edit_pages; each page is checked on its own (publish_pages to publish) | pages: array (required) |
pbs/connect-adobe-fontspbs-connect-adobe-fonts | Connect Adobe Fonts (Pro) Connects an Adobe Fonts (Typekit) web project by its kit id, so its fonts appear in the font pickers. | Pro edition | POST …/abilities/pbs/connect-adobe-fonts/run | edit_theme_options (the REST route's own check) | kit: string (required) |
pbs/connect-supportpbs-connect-support | Connect to support Connects this site to Zinn Digital® support (name, email, consent). | Free edition | POST …/abilities/pbs/connect-support/run | manage_options (the REST route's own check) | email: string (required), name: string, consent: boolean (required) |
pbs/convert-postpbs-convert-post | Convert one legacy page Converts one 5.x page to blocks (backed up first). | Free edition | POST …/abilities/pbs/convert-post/run | the REST route's own per-item permission check | id: string (required) |
pbs/create-classpbs-create-class | Create a global class (Pro) Creates a reusable global style class: label, slug and its styles (s). | Pro edition | POST …/abilities/pbs/create-class/run | edit_theme_options (the REST route's own check) | label: string (required), slug: string, s: object |
pbs/create-pagepbs-create-page | Create a page Creates a page from sections (see pbs/list-sections) and/or block content. A new page is a draft unless another status is asked for. | Free edition | POST …/abilities/pbs/create-page/run | edit_pages; publish_pages to publish or make private | title: string (required), status: draft|pending|publish|private, sections: array, content: string |
pbs/create-teampbs-create-team | Create a library team (Agency) Creates a team library (name) that other sites can join with an invite code. | Pro edition | POST …/abilities/pbs/create-team/run | manage_options (the REST route's own check) | name: string (required) |
pbs/deactivate-custom-fontpbs-deactivate-custom-font | Turn off an uploaded font (Pro) Removes a custom font (by slug) from the font pickers. | Pro edition | POST …/abilities/pbs/deactivate-custom-font/run | edit_theme_options (the REST route's own check) | slug: string (required) |
pbs/delete-classpbs-delete-class | Delete a global class (Pro) Deletes a global class. Elements that used it keep their content and lose its styles. | Pro edition | POST …/abilities/pbs/delete-class/run | edit_theme_options (the REST route's own check) | id: string (required) |
pbs/delete-iconpbs-delete-icon | Delete an uploaded icon Removes an uploaded icon; blocks that used it keep their own copy. | Free edition | POST …/abilities/pbs/delete-icon/run | delete_post (the REST route's own check) | id: string (required) |
pbs/delete-library-itempbs-delete-library-item | Delete a cloud library design (Pro) Deletes a design from the cloud library. | Pro edition | POST …/abilities/pbs/delete-library-item/run | edit_posts (the REST route's own check) | item: string (required), team: string |
pbs/delete-pagepbs-delete-page | Move a page to the trash Moves a page to the trash. It can be restored from Pages, Trash for 30 days. | Free edition | POST …/abilities/pbs/delete-page/run | delete_post on that page | id: integer (required) |
pbs/delete-teampbs-delete-team | Delete a library team (Agency) Deletes a team and every design in its library. | Pro edition | POST …/abilities/pbs/delete-team/run | manage_options (the REST route's own check) | team: string (required) |
pbs/disconnect-supportpbs-disconnect-support | Disconnect from support Disconnects this site from support. | Free edition | POST …/abilities/pbs/disconnect-support/run | manage_options (the REST route's own check) | none |
pbs/duplicate-classpbs-duplicate-class | Duplicate a global class (Pro) Copies a global class under a new id. | Pro edition | POST …/abilities/pbs/duplicate-class/run | edit_theme_options (the REST route's own check) | id: string (required) |
pbs/duplicate-pagepbs-duplicate-page | Duplicate a page Copies a page (its title, content and template) into a new draft. | Free edition | POST …/abilities/pbs/duplicate-page/run | edit_post on the page and edit_pages | id: integer (required), title: string |
pbs/export-designspbs-export-designs | Export designs and settings Exports the chosen templates and patterns (ids) and, optionally, settings as one package for another site. | Free edition | POST …/abilities/pbs/export-designs/run | manage_options (the REST route's own check) | ids: array, settings: boolean |
pbs/generate-pagepbs-generate-page | Write a page with AI Builds a page from sections (given, or chosen by AI from the section library) and has AI rewrite all of its text for your brief, keeping the design. Uses the AI provider set up in the plugin's AI settings. The page is a draft unless another status is asked for. | Pro edition | POST …/abilities/pbs/generate-page/run | edit_pages; publish_pages to publish; the AI settings' role and spending rules | brief: string (required), title: string, sections: array, status: draft|pending|publish|private |
pbs/get-blockpbs-get-block | Describe a builder block Returns one block's settings (attributes with their types, choices and defaults), what it supports, which blocks it may contain, and a ready-to-use example in block markup. | Free edition | GET …/abilities/pbs/get-block/run | edit_posts | name: string (required) |
pbs/get-breakpointspbs-get-breakpoints | Read the responsive breakpoints Returns the tablet and mobile widths (and custom breakpoints in Pro) the responsive controls use. | Free edition | GET …/abilities/pbs/get-breakpoints/run | edit_theme_options (the REST route's own check) | none |
pbs/get-design-globalspbs-get-design-globals | Read the site design Returns the site-wide colours and fonts (heading and body) every block uses, as the Site design screen shows them. | Free edition | GET …/abilities/pbs/get-design-globals/run | edit_theme_options (the REST route's own check) | none |
pbs/get-design-systempbs-get-design-system | Read the design system (Pro) Returns the Pro design system: global classes, variables, design tokens, dark mode, brand kit and custom fonts. | Pro edition | GET …/abilities/pbs/get-design-system/run | edit_theme_options (the REST route's own check) | none |
pbs/get-diagnosticspbs-get-diagnostics | Read the site diagnostics Returns the diagnostics a support ticket would carry: versions, active plugins, limits and recent errors. | Free edition | GET …/abilities/pbs/get-diagnostics/run | manage_options (the REST route's own check) | none |
pbs/get-library-accountpbs-get-library-account | Read the cloud library account (Pro) Returns the cloud library's storage use, plan quota and team facts. | Pro edition | GET …/abilities/pbs/get-library-account/run | edit_posts (the REST route's own check) | none |
pbs/get-library-itempbs-get-library-item | Get a cloud library design (Pro) Returns one saved design, ready to insert on this site (its images brought into the media library). | Pro edition | GET …/abilities/pbs/get-library-item/run | edit_posts (the REST route's own check) | item: string (required), team: string |
pbs/get-library-storagepbs-get-library-storage | Read the own-storage settings (Pro) Returns the bring-your-own R2/S3 storage settings (the secret is never returned). | Pro edition | GET …/abilities/pbs/get-library-storage/run | manage_options (the REST route's own check) | none |
pbs/get-licencepbs-get-licence | Read the licence Returns this site's Page Builder Sandwich plan, licence state, renewal date and what the plan includes. | Free edition | GET …/abilities/pbs/get-licence/run | manage_options (the REST route's own check) | none |
pbs/get-maintenancepbs-get-maintenance | Read maintenance mode (Pro) Returns maintenance / coming-soon mode: mode, page, retry-after and which roles still see the site. | Pro edition | GET …/abilities/pbs/get-maintenance/run | manage_options (the REST route's own check) | none |
pbs/get-migrationpbs-get-migration | Read the legacy migration Returns the 5.x content conversion's progress and report. | Free edition | GET …/abilities/pbs/get-migration/run | the REST route's own per-item permission check | none |
pbs/get-newsletter-keyspbs-get-newsletter-keys | Read the newsletter connection (Pro) Says whether a Mailchimp key is saved (the key itself is never returned). | Pro edition | GET …/abilities/pbs/get-newsletter-keys/run | edit_posts (the REST route's own check) | none |
pbs/get-pagepbs-get-page | Read a page Returns a page's title, status, links and block content, and the sections (top-level blocks) it is made of. | Free edition | GET …/abilities/pbs/get-page/run | edit_post on that page | id: integer (required) |
pbs/get-replace-jobpbs-get-replace-job | Preview a find-and-replace (Pro) Returns a job's matches, page by page, to review before applying. | Pro edition | GET …/abilities/pbs/get-replace-job/run | manage_options (the REST route's own check) | id: string (required) |
pbs/get-reviews-sourcespbs-get-reviews-sources | Read the reviews sources (Pro) Returns the Google and Trustpilot sources the Reviews block shows. | Pro edition | GET …/abilities/pbs/get-reviews-sources/run | manage_options (the REST route's own check) | none |
pbs/get-rolespbs-get-roles | Read builder permissions (Pro) Returns which roles may use the builder, design, code and templates (client mode). | Pro edition | GET …/abilities/pbs/get-roles/run | manage_options (the REST route's own check) | none |
pbs/get-settingspbs-get-settings | Read the plugin settings Returns the front-end class prefix, the beta-updates state and whether AI agents (MCP) are allowed. | Free edition | GET …/abilities/pbs/get-settings/run | manage_options (the REST route's own check) | none |
pbs/get-support-connectionpbs-get-support-connection | Read the support connection Says whether this site is connected to Zinn Digital® support, and as whom. | Free edition | GET …/abilities/pbs/get-support-connection/run | manage_options (the REST route's own check) | refresh: boolean |
pbs/get-white-labelpbs-get-white-label | Read white label (Agency) Returns the white-label settings: on or off, the name shown and which users still see the original. | Pro edition | GET …/abilities/pbs/get-white-label/run | manage_options (the REST route's own check) | none |
pbs/import-designspbs-import-designs | Import designs and settings Imports a package made by pbs/export-designs (dryRun first to see what would change; mode: skip or replace; media; settings). | Free edition | POST …/abilities/pbs/import-designs/run | manage_options (the REST route's own check) | package: object (required), mode: skip|replace|duplicate, settings: boolean, media: boolean, dryRun: boolean |
pbs/invite-team-memberpbs-invite-team-member | Invite a site to a team (Agency) Creates a single-use invite code (role: read or write; label; days valid). The code is shown once. | Pro edition | POST …/abilities/pbs/invite-team-member/run | manage_options (the REST route's own check) | team: string (required), role: read|write, days: integer, label: string |
pbs/join-teampbs-join-team | Join a team (Pro) Joins a team library with an invite code. | Pro edition | POST …/abilities/pbs/join-team/run | manage_options (the REST route's own check) | code: string (required) |
pbs/leave-teampbs-leave-team | Leave a team (Pro) Leaves the team library this site joined. | Pro edition | POST …/abilities/pbs/leave-team/run | manage_options (the REST route's own check) | none |
pbs/list-blockspbs-list-blocks | List the builder blocks Lists every Page Builder Sandwich block this site can use (Pro blocks too when Pro is active): name, title, category and description. Use pbs/get-block for a block's settings, then put the block in a page's content. | Free edition | GET …/abilities/pbs/list-blocks/run | edit_posts | search: string |
pbs/list-formspbs-list-forms | List forms Lists the forms built with the Form block and the form plugins it can embed. | Free edition | GET …/abilities/pbs/list-forms/run | edit_posts (the REST route's own check) | none |
pbs/list-kitspbs-list-kits | List website kits Lists the website kits (a set of ready-made pages for one kind of business) this site can import. | Free edition | GET …/abilities/pbs/list-kits/run | edit_pages and publish_pages | refresh: boolean |
pbs/list-library-itemspbs-list-library-items | List cloud library designs (Pro) Lists the designs saved to the cloud library (kind: section, page or pattern; team: a team's library). | Pro edition | GET …/abilities/pbs/list-library-items/run | edit_posts (the REST route's own check) | team: string, kind: |section|page|style |
pbs/list-local-fontspbs-list-local-fonts | List self-hosted fonts Lists the Google fonts this site hosts itself (downloaded once, served from the site, no request to Google). | Free edition | GET …/abilities/pbs/list-local-fonts/run | manage_options (the REST route's own check) | none |
pbs/list-lottiepbs-list-lottie | List Lottie animations (Pro) Lists the uploaded Lottie animations. | Pro edition | GET …/abilities/pbs/list-lottie/run | edit_posts (the REST route's own check) | none |
pbs/list-pagespbs-list-pages | List pages Lists the pages you can edit, newest first, with an optional search. | Free edition | GET …/abilities/pbs/list-pages/run | edit_pages; only pages the user can edit are listed | search: string, status: any|draft|pending|publish|private, page: integer, per_page: integer |
pbs/list-replace-jobspbs-list-replace-jobs | List find-and-replace jobs (Pro) Lists the site-wide find-and-replace jobs and their state. | Pro edition | GET …/abilities/pbs/list-replace-jobs/run | manage_options (the REST route's own check) | none |
pbs/list-sectionspbs-list-sections | List sections Lists the ready-made sections (hero, features, FAQ, testimonials, call to action and more) that can be added to a page. | Free edition | GET …/abilities/pbs/list-sections/run | edit_pages | search: string |
pbs/list-support-accesspbs-list-support-access | List temporary support logins Lists the temporary support users granted to our team and when each expires. | Free edition | GET …/abilities/pbs/list-support-access/run | manage_options (the REST route's own check) | none |
pbs/list-team-memberspbs-list-team-members | List team members (Pro) Lists the sites in a team and their access. | Pro edition | GET …/abilities/pbs/list-team-members/run | manage_options (the REST route's own check) | team: string (required) |
pbs/list-teamspbs-list-teams | List library teams (Pro) Lists the teams this site belongs to or owns. | Pro edition | GET …/abilities/pbs/list-teams/run | manage_options (the REST route's own check) | none |
pbs/list-transferablepbs-list-transferable | List what can be exported Lists the templates, patterns and settings that can be exported to another site. | Free edition | GET …/abilities/pbs/list-transferable/run | manage_options (the REST route's own check) | none |
pbs/list-uploaded-iconspbs-list-uploaded-icons | List uploaded icons Lists the SVG icons uploaded to the icon library, newest first. | Free edition | GET …/abilities/pbs/list-uploaded-icons/run | edit_posts (the REST route's own check) | page: integer, per_page: integer |
pbs/move-sectionpbs-move-section | Move a section Moves a section of a page from one position to another (0-based, as pbs/get-page lists them). | Free edition | POST …/abilities/pbs/move-section/run | edit_post on that page | id: integer (required), from: integer (required), to: integer (required) |
pbs/open-support-ticketpbs-open-support-ticket | Open a support ticket Files a support ticket (subject, message, kind, email) with this site's diagnostics; access_days and credentials optionally grant our team temporary access. | Free edition | POST …/abilities/pbs/open-support-ticket/run | manage_options (the REST route's own check) | none |
pbs/record-support-consentpbs-record-support-consent | Consent to support diagnostics Records the administrator's consent to send diagnostics with support tickets. | Free edition | POST …/abilities/pbs/record-support-consent/run | manage_options (the REST route's own check) | none |
pbs/refresh-reviewspbs-refresh-reviews | Refresh reviews now (Pro) Fetches the latest Trustpilot reviews now instead of waiting for the daily refresh. | Pro edition | POST …/abilities/pbs/refresh-reviews/run | manage_options (the REST route's own check) | none |
pbs/remove-blockpbs-remove-block | Remove a block from a page Removes one block (a whole section, or a block inside one) from a page, found by its path. The page's previous version stays in its revisions. | Free edition | POST …/abilities/pbs/remove-block/run | edit_post on that page | id: integer (required), path: array (required) |
pbs/remove-library-storagepbs-remove-library-storage | Stop using your own storage (Pro) Removes the bring-your-own storage settings; the plan storage is used again. | Pro edition | POST …/abilities/pbs/remove-library-storage/run | manage_options (the REST route's own check) | none |
pbs/remove-local-fontpbs-remove-local-font | Remove a self-hosted font Deletes a self-hosted font family's files. | Free edition | POST …/abilities/pbs/remove-local-font/run | manage_options (the REST route's own check) | family: string (required) |
pbs/remove-team-memberpbs-remove-team-member | Remove a team member (Agency) Removes a site from a team. | Pro edition | POST …/abilities/pbs/remove-team-member/run | manage_options (the REST route's own check) | team: string (required), member: string (required) |
pbs/revoke-support-accesspbs-revoke-support-access | Revoke temporary support logins Removes temporary support users now (ids). | Free edition | POST …/abilities/pbs/revoke-support-access/run | manage_options (the REST route's own check) | ids: array (required) |
pbs/save-library-itempbs-save-library-item | Save a design to the cloud library (Pro) Saves block markup (title, kind, markup, styles, tags) to your cloud library or a team's; images are packed with it. | Pro edition | POST …/abilities/pbs/save-library-item/run | edit_posts (the REST route's own check) | team: string, kind: section|page|style (required), title: string (required), tags: array, markup: string, styles: object |
pbs/set-library-storagepbs-set-library-storage | Use your own storage (Pro) Saves bring-your-own storage: provider (r2 or s3), bucket, region, endpoint, prefix, key_id, secret, enabled. | Pro edition | POST …/abilities/pbs/set-library-storage/run | manage_options (the REST route's own check) | none |
pbs/set-maintenancepbs-set-maintenance | Change maintenance mode (Pro) Turns maintenance (503) or coming-soon mode on or off (mode), with the page to show (page_id), retry_after and the roles that bypass it. | Pro edition | POST …/abilities/pbs/set-maintenance/run | manage_options (the REST route's own check) | mode: off|maintenance|coming_soon, page_id: integer, roles: array, retry_after: integer |
pbs/set-newsletter-keyspbs-set-newsletter-keys | Connect Mailchimp (Pro) Saves (or, with an empty value, removes) the Mailchimp API key the newsletter block uses. | Pro edition | POST …/abilities/pbs/set-newsletter-keys/run | manage_options (the REST route's own check) | mailchimp: string (required) |
pbs/set-reviews-sourcespbs-set-reviews-sources | Change the reviews sources (Pro) Sets the Google place and Trustpilot business the Reviews block reads. | Pro edition | POST …/abilities/pbs/set-reviews-sources/run | manage_options (the REST route's own check) | google: object, trustpilot: object |
pbs/set-rolespbs-set-roles | Change builder permissions (Pro) Sets per role what the builder allows (roles), e.g. a content-only client role. | Pro edition | POST …/abilities/pbs/set-roles/run | manage_options (the REST route's own check) | roles: object (required) |
pbs/set-white-labelpbs-set-white-label | Change white label (Agency) Turns white label on or off and sets the name clients see (enabled, name, agency_users). | Pro edition | POST …/abilities/pbs/set-white-label/run | manage_options (the REST route's own check) | none |
pbs/start-migrationpbs-start-migration | Convert legacy content Starts (or restarts) converting every 5.x page to blocks; each post is backed up first. | Free edition | POST …/abilities/pbs/start-migration/run | the REST route's own per-item permission check | none |
pbs/start-replacepbs-start-replace | Find and replace across the site (Pro) Starts a block-safe find-and-replace (find, replace, kind: text, link or colour; match_case; types). Nothing changes until pbs/apply-replace. | Pro edition | POST …/abilities/pbs/start-replace/run | manage_options (the REST route's own check) | find: string (required), replace: string, kind: text|link|colour, types: array, match_case: boolean |
pbs/start-trialpbs-start-trial | Start the free Pro trial Starts the 14-day Page Builder Sandwich Pro trial for this site (no payment needed). | Free edition | POST …/abilities/pbs/start-trial/run | manage_options (the REST route's own check) | none |
pbs/test-library-storagepbs-test-library-storage | Test your own storage (Pro) Writes, reads and deletes a test object in your own storage and reports each step. | Pro edition | POST …/abilities/pbs/test-library-storage/run | manage_options (the REST route's own check) | none |
pbs/undo-convert-postpbs-undo-convert-post | Undo one conversion Restores one converted page from its backup. | Free edition | POST …/abilities/pbs/undo-convert-post/run | the REST route's own per-item permission check | id: string (required) |
pbs/undo-migrationpbs-undo-migration | Undo the legacy migration Restores every converted post from its backup. | Free edition | POST …/abilities/pbs/undo-migration/run | the REST route's own per-item permission check | none |
pbs/undo-replacepbs-undo-replace | Undo a find-and-replace (Pro) Restores the posts a job changed (a post edited since keeps its edit). | Pro edition | POST …/abilities/pbs/undo-replace/run | manage_options (the REST route's own check) | id: string (required) |
pbs/update-blockpbs-update-block | Change one block's settings Changes the settings (attributes) of one block inside a page, found by its path; attributes you send are merged over the current ones. Works on blocks the site renders from their settings; for a block whose HTML is saved in the page, send new markup with pbs/update-page. | Free edition | POST …/abilities/pbs/update-block/run | edit_post on that page | id: integer (required), path: array (required), attributes: object (required) |
pbs/update-brand-kitpbs-update-brand-kit | Change the brand kit (Pro) Saves the brand kit: name, logo, colours, heading and body fonts, and the brand voice AI writing uses. | Pro edition | POST …/abilities/pbs/update-brand-kit/run | edit_theme_options (the REST route's own check) | name: string, logo: integer, colors: array, headingFont: string, bodyFont: string, voice: string |
pbs/update-breakpointspbs-update-breakpoints | Change the responsive breakpoints Changes the tablet and mobile widths in pixels; with Pro, custom extra breakpoints. | Free edition | POST …/abilities/pbs/update-breakpoints/run | edit_theme_options (the REST route's own check) | tablet: integer, mobile: integer, custom: array |
pbs/update-classpbs-update-class | Change a global class (Pro) Changes a global class's label, slug or styles; every element using it updates. | Pro edition | POST …/abilities/pbs/update-class/run | edit_theme_options (the REST route's own check) | id: string (required), label: string, slug: string, s: object |
pbs/update-dark-modepbs-update-dark-mode | Change dark mode (Pro) Sets dark mode (mode: off, auto or toggle) and its colours. | Pro edition | POST …/abilities/pbs/update-dark-mode/run | edit_theme_options (the REST route's own check) | mode: device|light|dark (required), colors: object |
pbs/update-design-globalspbs-update-design-globals | Change the site design Changes the site-wide colours (colors), fonts (fonts, headingFont, bodyFont). Every page picks the change up; the theme's theme.json is kept in sync. | Free edition | POST …/abilities/pbs/update-design-globals/run | edit_theme_options (the REST route's own check) | colors: object, fonts: object, bodyFont: string, headingFont: string |
pbs/update-pagepbs-update-page | Update a page Changes a page's title, status or block content. Content you send replaces the page's content. | Free edition | POST …/abilities/pbs/update-page/run | edit_post on that page; publish_pages to publish or make private | id: integer (required), title: string, status: draft|pending|publish|private, sections: array, content: string |
pbs/update-settingspbs-update-settings | Change the plugin settings Changes the front-end class prefix (1 to 8 lowercase letters or digits, starting with a letter) and/or turns AI agents (MCP) on or off (mcp: false removes every ability and the MCP endpoint). | Free edition | POST …/abilities/pbs/update-settings/run | manage_options (the REST route's own check) | prefix: string, mcp: boolean |
pbs/update-tokenspbs-update-tokens | Change the design tokens (Pro) Changes the spacing, radius and shadow scales (space, radius, shadow), or resets them (reset). | Pro edition | POST …/abilities/pbs/update-tokens/run | edit_theme_options (the REST route's own check) | space: array, radius: array, shadow: array, reset: boolean |
pbs/update-variablespbs-update-variables | Change the CSS variables (Pro) Replaces the site's design variables (variables: a list of name and value). | Pro edition | POST …/abilities/pbs/update-variables/run | edit_theme_options (the REST route's own check) | variables: array (required) |
pbs/upload-iconpbs-upload-icon | Upload an icon Adds an SVG icon (name, svg markup) to the icon library; the SVG is sanitised first. | Free edition | POST …/abilities/pbs/upload-icon/run | upload_files (the REST route's own check) | name: string (required), svg: string (required) |
pbs/upload-lottiepbs-upload-lottie | Upload a Lottie animation (Pro) Validates a Lottie JSON document (json, name) and publishes it as a static file for the Lottie block. | Pro edition | POST …/abilities/pbs/upload-lottie/run | upload_files (the REST route's own check) | name: string (required), json: string (required) |