An ability is one task an AI agent may do on a site, such as reading a page or changing a block. Leitvia Studio 1.3.66 has 82, Leitvia Pro adds 23. Generated from the code.
For developers and AI agents · Checked with Leitvia 1.2.69, Leitvia Studio 1.3.66 and Leitvia Pro 0.8.56
Every ability runs over the MCP server leitvia and over REST at /wp-json/wp-abilities/v1, always through the checks of Studio. WP-CLI does not run abilities; it has 19 commands of its own for tokens, patterns, the content model, the audit, change packages and recipes, see WP-CLI.
The column Writes says where a change of an AI agent goes. By autonomy: the level you set per area decides, see Autonomy and the Inbox. Always to the Inbox: settings, the content model, the active token set, the global styles and anything that removes content wait for a person. A recipe or a building block can bring settings along; those parts wait as well.
Input, output and every rejection are in the handbook of the package leitvia-skills, one page per ability.
Read: 27
| Ability | Label | What it does | Writes |
|---|---|---|---|
leitvia/audit-site | Audit site | Runs the content checks over published content, at most 20 posts per call in ID order. | Reads only |
leitvia/check-composition | Check composition | Scores a page against the composition rules of the contract. | Reads only |
leitvia/export | Export site | Exports the site as a portable JSON package, page by page. | Reads only |
leitvia/get-block | Get block | Returns one block of a post by its ID or path ID with all attributes, its markup alone and with children, the image attachments, its hash, the IDs of its children and the document hash. | Reads only |
leitvia/get-consent-providers | Get consent providers | Returns the providers of embedded content from the privacy settings. | Reads only |
leitvia/get-content-model | Get content model | Returns the content model declaration. | Reads only |
leitvia/get-contract | Get contract | Returns the site this connection works on and the design contract of the active theme. | Reads only |
leitvia/get-package | Get change package | Returns a change package with its operations. | Reads only |
leitvia/get-page-outline | Get page outline | Returns a post as a compact block tree. | Reads only |
leitvia/get-pattern | Get pattern | Returns one pattern of the theme or of Leitvia Studio with its metadata, its blocks and the first 20 posts and templates that use it. | Reads only |
leitvia/get-product | Get product | Returns one product or variation. | Reads only |
leitvia/get-seo | Get SEO data | Returns the SEO data of posts, pages and entries from the active SEO plugin. | Reads only |
leitvia/get-site-health | Get site health | Returns the versions of WordPress, PHP, the theme and the plugins and the updates WordPress knows of, read from its last update check. | Reads only |
leitvia/get-template | Get template | Returns the block markup of a template or a template part as the site shows it. | Reads only |
leitvia/get-tokens | Get tokens | Returns the active design tokens as a DTCG document, the token sets with their status, the active style variations, whether the global styles drifted from the active set and more. | Reads only |
leitvia/list-blocks | List blocks | Returns the block catalog of Leitvia Studio and its add-ons with attribute schema and usage rules, and the registered block styles of every block, core blocks included, by block name. | Reads only |
leitvia/list-building-blocks | List building blocks | Lists the building blocks of add-ons. | Reads only |
leitvia/list-content | List content | Lists posts, pages and entries of the content model, newest first, with hash, terms and the open package that waits for each. | Reads only |
leitvia/list-media | List media | Lists the media library, newest first. | Reads only |
leitvia/list-packages | List change packages | Lists your change packages, newest first, a page at a time. | Reads only |
leitvia/list-patterns | List patterns | Lists the patterns of the theme, of Leitvia Studio and of its add-ons with composition metadata, image slots, when to use and avoid them, lab status and more. | Reads only |
leitvia/list-product-attributes | List product attributes | Lists the global product attributes with their values and hash. | Reads only |
leitvia/list-product-reviews | List product reviews | Lists product reviews with rating and hash, 20 per page, oldest first. | Reads only |
leitvia/list-products | List products | Lists the products of the shop, 20 per page, with title, type, status, price, stock status, featured flag and hash, plus all product categories with their hash. | Reads only |
leitvia/list-recipes | List recipes | Lists the site recipes of Leitvia Studio and its add-ons with owner, pages and whether the plugins they require are active. | Reads only |
leitvia/plan-page | Plan page | Proposes a page for a goal and content points. | Reads only |
leitvia/preview-token-set | Preview token set | Returns a signed address that shows the site with a token set, for that request only. | Reads only |
Set up: 22
| Ability | Label | What it does | Writes |
|---|---|---|---|
leitvia/activate-token-set | Activate token set | Writes the presets of a token set into the global styles of the active theme. | Always to the Inbox |
leitvia/add-building-block | Add building block | Adds a building block of leitvia/list-building-blocks to the site. | By autonomy |
leitvia/apply-recipe | Apply recipe | Sets up the site from a recipe of leitvia/list-recipes. | By autonomy |
leitvia/create-token-set | Create token set | Creates a token set from a DTCG document. | By autonomy |
leitvia/define-content-type | Define content type | Adds entries to the content model and keeps the others. | Always to the Inbox |
leitvia/set-consent-providers | Set consent providers | Replaces the providers of embedded content in the privacy settings. | Always to the Inbox |
leitvia/set-front-page | Set front page | Makes an existing page the static front page. | Always to the Inbox |
leitvia/set-llms | Set llms.txt and AI crawlers | Sets llms.txt, the file at the root of the site that tells AI assistants what the site is about, and whether robots.txt lets AI crawlers in. | Always to the Inbox |
leitvia/set-motion | Set motion | Sets the motion of the whole site. | Always to the Inbox |
leitvia/set-organization | Set organization details | Sets the details of the organization behind the site. | Always to the Inbox |
leitvia/set-permalinks | Set permalinks | Sets the permalink structure of posts and the bases of category and tag addresses, as in Settings, Permalinks, for a migration that keeps the addresses of the old site. | Always to the Inbox |
leitvia/set-post-details | Set post details | Sets texts and choices of every single post in the theme Leitvia. | Always to the Inbox |
leitvia/set-posts-page | Set posts page | Makes an existing page the posts page of the reading settings, the address that lists all posts. | Always to the Inbox |
leitvia/set-privacy-page | Set privacy policy page | Makes an existing page the privacy policy page of the site. | Always to the Inbox |
leitvia/set-redirects | Set redirects | Sets the redirects of moved and removed addresses, for a migration or a new structure. | Always to the Inbox |
leitvia/set-seo-titles | Set SEO titles | Sets whether titles in search results end with ” | ” and the site name, without an SEO plugin. | Always to the Inbox |
leitvia/set-site-identity | Set site identity | Sets the site title, the tagline, the logo and the site icon. | Always to the Inbox |
leitvia/set-variation | Set style variation | Applies a style variation of the contract to the global styles of the active theme. | Always to the Inbox |
leitvia/update-navigation | Update navigation | Replaces the links of a navigation menu, by default the one published last, which headers without a chosen menu show. | By autonomy |
leitvia/update-site-values | Update site values | Sets values of site settings of the content model declared with bindable true, the values blocks show on every page through the binding source leitvia/setting, such as opening hours or a phone number. | Always to the Inbox |
leitvia/update-template | Update template | Replaces a template with a template pattern made for it or with changed block markup. | By autonomy |
leitvia/update-template-part | Update template part | Replaces a template part of the contract, such as header, footer or sidebar, with a pattern made for its area or with changed block markup. | By autonomy |
Build: 9
| Ability | Label | What it does | Writes |
|---|---|---|---|
leitvia/add-media | Add media | Adds an image to the media library from a URL of this site or as Base64 data up to 5 MB, with alt text or marked as decorative. | By autonomy |
leitvia/compose-page | Compose page | Creates a page from patterns in the order of a page frame of the contract, or rebuilds an existing page. | By autonomy |
leitvia/create-content | Create content | Creates a post, a page or an entry of the content model from block markup or patterns. | By autonomy |
leitvia/create-pattern | Create pattern | Creates a pattern in the Lab as a draft with version 0.1.0 from block markup. | By autonomy |
leitvia/create-product | Create product | Creates a simple product. | By autonomy |
leitvia/crop-media | Crop media | Crops an image of the media library into a new image. | By autonomy |
leitvia/import-post | Import post | Imports one post, page or entry of the content model from another site for a migration. | By autonomy |
leitvia/update-block | Update block | Changes one block found by its ID or path ID. | By autonomy |
leitvia/vary-pattern | Vary pattern | Creates a variant of a Lab pattern or a theme pattern as a draft in the Lab, from new markup or from the original with edits at block IDs. | By autonomy |
Maintain: 24
| Ability | Label | What it does | Writes |
|---|---|---|---|
leitvia/add-read-more | Add read more | Gives the post teasers of many posts their call to action. | By autonomy |
leitvia/apply-package | Apply change package | Applies the open operations of a change package, all or the listed ones. | By autonomy |
leitvia/delete-media | Delete media | Deletes a file of the media library for good, with all its sizes. | Always to the Inbox, removes content |
leitvia/fix-button-colors | Fix button colors | Gives the buttons of many posts the colors of the theme again. | By autonomy |
leitvia/fix-cover-colors | Fix cover colors | Gives the covers of many posts a color role for their overlay again. | By autonomy |
leitvia/fix-presets | Fix presets | Removes presets the active theme lacks from many posts, such as the colors and font sizes of an earlier theme. | By autonomy |
leitvia/insert-section | Insert section | Inserts sections into the content of an existing post, page or entry, or moves one of its top-level sections. | By autonomy |
leitvia/localize-media | Localize media | Points every place of one post that loads a file of another host to a file of the media library instead. | By autonomy |
leitvia/reject-package | Reject change package | Rejects an open or partly applied change package. | By autonomy |
leitvia/remove-section | Remove section | Takes one top-level section out of the content of a post, page or entry. | By autonomy |
leitvia/repair-links | Repair links | Repairs internal links of one post. | By autonomy |
leitvia/replace-pattern | Replace pattern | Replaces top-level sections of one post with another pattern. | By autonomy |
leitvia/rollback | Roll back change package | Rolls back the applied operations of a change package from their snapshots. | By autonomy |
leitvia/set-alt-text | Set alt text | Sets the alt text of an image. | By autonomy |
leitvia/set-merchandising | Set merchandising | Sets the featured flag, the upsells, the cross-sells and the sort order of one product. | By autonomy |
leitvia/set-page-structure | Set page structure | Sets what a page is within the site, for breadcrumbs, structured data, llms.txt and the composition check. | By autonomy |
leitvia/trash-content | Trash content | Moves a post, page or entry to the trash. | Always to the Inbox, removes content |
leitvia/update-content | Update content | Updates title, excerpt, slug, date, status, author, terms, fields, rows of repeaters, featured image and more. | By autonomy |
leitvia/update-product | Update product | Updates texts, status, images, categories and tags of one product or variation, and its prices, tax and shipping class. | By autonomy |
leitvia/update-product-attribute | Update product attribute | Renames a global product attribute and its values and sorts the values, in one operation. | By autonomy |
leitvia/update-product-category | Update product category | Updates name, description, parent and image of a product category, or name and description of a product tag. | By autonomy |
leitvia/update-product-review | Update product review | Sets rating, verified flag or status of a product review. | By autonomy |
leitvia/update-seo | Update SEO data | Writes SEO title, meta description, robots and Open Graph of one post through the active SEO plugin. | By autonomy |
leitvia/update-term | Update term | Changes name and description of a category, a tag or a term of a taxonomy of the content model, such as the intro of a topic archive. | By autonomy |
Leitvia Pro: 23
These come with Leitvia Pro and its building blocks. 3 more, starting with leitvia-pro/app-, serve the views in the chat only; an AI agent does not call them.
| Ability | Label | What it does | Writes |
|---|---|---|---|
leitvia-pro/add-icon | Add icon | Adds an icon of the brand to the icon blocks, or replaces one with the same name. | Always to the Inbox |
leitvia-pro/delete-order | Delete order | Deletes one stored order or quote request of the order form with its data, by its number from the confirmation or the ticket, for a test order or when the person asks for it. | Always to the Inbox, removes content |
leitvia-pro/geocode | Look up coordinates | Looks up latitude and longitude of entries of the content model from their address field, at the service chosen under Leitvia Pro, Coordinates, and writes them into a change package. | By autonomy |
leitvia-pro/get-ads | Get ads | Says whether the building block leitvia-pro/ads is installed, the settings of the ads, the placements with their number of ads, and up to 100 ads with kind and more. | Reads only |
leitvia-pro/get-booking | Get appointment booking | Returns the kinds of appointments of the block leitvia-pro/booking by key, whether a CalDAV calendar is set for busy times, whether bookings go to the ticket system and more. | Reads only |
leitvia-pro/get-event-data | Get event data | Returns the event data and the place data of up to 100 posts or pages, null where they have none. | Reads only |
leitvia-pro/get-order-settings | Get order settings | Returns the settings of the order form, whether order form and quote request render, what the order form lacks and the hash for leitvia-pro/set-order-settings. | Reads only |
leitvia-pro/get-tickets | Get ticket system | Says whether a ticket system is set up for the forms, its name, whether it takes internal notes on open tickets, whether the contact form of Studio goes to it and more. | Reads only |
leitvia-pro/import-reviews | Import reviews | Adds reviews as entries of the building block Reviews. | By autonomy |
leitvia-pro/list-icons | List icons | Lists the icons of the brand that leitvia-pro/add-icon added, with name, viewBox, paint, colors, the color roles it uses and size, plus the limit and the hash of the set. | Reads only |
leitvia-pro/list-offerings | List products | Lists the product lines in their order and the published products of the building block Products with ID, article number, former article numbers, name as plain text, line and more. | Reads only |
leitvia-pro/list-order-products | List order products | Lists the products of the order form with article number, name, net price per month in euros, terms in months, whether they can be ordered online and their group and more. | Reads only |
leitvia-pro/migrate-builder-content | Migrate builder content | Replaces the content of one post with WPBakery or Impreza shortcodes, ACF blocks or ACF fields by its block version, as leitvia-pro/read-builder-content shows it, and sets the content model fields. | By autonomy |
leitvia-pro/order-docs | Order documentation pages | Sorts the documentation pages of one level. | By autonomy |
leitvia-pro/order-offerings | Order products | Sorts products. | By autonomy |
leitvia-pro/read-builder-content | Read builder content | Shows what one post with WPBakery or Impreza shortcodes, ACF blocks or ACF fields becomes as blocks of Leitvia, without writing. | Reads only |
leitvia-pro/set-ads | Set ads | Changes the settings of the ads. | Always to the Inbox |
leitvia-pro/set-booking-types | Set kinds of appointments | Replaces the kinds of appointments the block leitvia-pro/booking offers. | Always to the Inbox |
leitvia-pro/set-event-data | Set event data | Sets the event data of posts and the place data of pages, up to 50 per call. | By autonomy |
leitvia-pro/set-order-settings | Set order settings | Changes the given settings of the order form and keeps the others. | Always to the Inbox |
leitvia-pro/set-ticket-groups | Set ticket groups | Replaces the group of the ticket system each form hands its tickets to. | Always to the Inbox |
leitvia-pro/update-offering-line | Update product line | Changes a product line from leitvia-pro/list-offerings. | By autonomy |
leitvia-pro/update-order-products | Update order products | Replaces the whole product list of the order form. | Always to the Inbox |
Read next: AI agents, Autonomy and the Inbox, REST routes and Hooks.