Abilities

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

AbilityLabelWhat it doesWrites
leitvia/audit-siteAudit siteRuns the content checks over published content, at most 20 posts per call in ID order.Reads only
leitvia/check-compositionCheck compositionScores a page against the composition rules of the contract.Reads only
leitvia/exportExport siteExports the site as a portable JSON package, page by page.Reads only
leitvia/get-blockGet blockReturns 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-providersGet consent providersReturns the providers of embedded content from the privacy settings.Reads only
leitvia/get-content-modelGet content modelReturns the content model declaration.Reads only
leitvia/get-contractGet contractReturns the site this connection works on and the design contract of the active theme.Reads only
leitvia/get-packageGet change packageReturns a change package with its operations.Reads only
leitvia/get-page-outlineGet page outlineReturns a post as a compact block tree.Reads only
leitvia/get-patternGet patternReturns 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-productGet productReturns one product or variation.Reads only
leitvia/get-seoGet SEO dataReturns the SEO data of posts, pages and entries from the active SEO plugin.Reads only
leitvia/get-site-healthGet site healthReturns 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-templateGet templateReturns the block markup of a template or a template part as the site shows it.Reads only
leitvia/get-tokensGet tokensReturns 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-blocksList blocksReturns 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-blocksList building blocksLists the building blocks of add-ons.Reads only
leitvia/list-contentList contentLists 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-mediaList mediaLists the media library, newest first.Reads only
leitvia/list-packagesList change packagesLists your change packages, newest first, a page at a time.Reads only
leitvia/list-patternsList patternsLists 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-attributesList product attributesLists the global product attributes with their values and hash.Reads only
leitvia/list-product-reviewsList product reviewsLists product reviews with rating and hash, 20 per page, oldest first.Reads only
leitvia/list-productsList productsLists 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-recipesList recipesLists 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-pagePlan pageProposes a page for a goal and content points.Reads only
leitvia/preview-token-setPreview token setReturns a signed address that shows the site with a token set, for that request only.Reads only

Set up: 22

AbilityLabelWhat it doesWrites
leitvia/activate-token-setActivate token setWrites the presets of a token set into the global styles of the active theme.Always to the Inbox
leitvia/add-building-blockAdd building blockAdds a building block of leitvia/list-building-blocks to the site.By autonomy
leitvia/apply-recipeApply recipeSets up the site from a recipe of leitvia/list-recipes.By autonomy
leitvia/create-token-setCreate token setCreates a token set from a DTCG document.By autonomy
leitvia/define-content-typeDefine content typeAdds entries to the content model and keeps the others.Always to the Inbox
leitvia/set-consent-providersSet consent providersReplaces the providers of embedded content in the privacy settings.Always to the Inbox
leitvia/set-front-pageSet front pageMakes an existing page the static front page.Always to the Inbox
leitvia/set-llmsSet llms.txt and AI crawlersSets 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-motionSet motionSets the motion of the whole site.Always to the Inbox
leitvia/set-organizationSet organization detailsSets the details of the organization behind the site.Always to the Inbox
leitvia/set-permalinksSet permalinksSets 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-detailsSet post detailsSets texts and choices of every single post in the theme Leitvia.Always to the Inbox
leitvia/set-posts-pageSet posts pageMakes an existing page the posts page of the reading settings, the address that lists all posts.Always to the Inbox
leitvia/set-privacy-pageSet privacy policy pageMakes an existing page the privacy policy page of the site.Always to the Inbox
leitvia/set-redirectsSet redirectsSets the redirects of moved and removed addresses, for a migration or a new structure.Always to the Inbox
leitvia/set-seo-titlesSet SEO titlesSets whether titles in search results end with ” | ” and the site name, without an SEO plugin.Always to the Inbox
leitvia/set-site-identitySet site identitySets the site title, the tagline, the logo and the site icon.Always to the Inbox
leitvia/set-variationSet style variationApplies a style variation of the contract to the global styles of the active theme.Always to the Inbox
leitvia/update-navigationUpdate navigationReplaces the links of a navigation menu, by default the one published last, which headers without a chosen menu show.By autonomy
leitvia/update-site-valuesUpdate site valuesSets 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-templateUpdate templateReplaces a template with a template pattern made for it or with changed block markup.By autonomy
leitvia/update-template-partUpdate template partReplaces 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

AbilityLabelWhat it doesWrites
leitvia/add-mediaAdd mediaAdds 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-pageCompose pageCreates a page from patterns in the order of a page frame of the contract, or rebuilds an existing page.By autonomy
leitvia/create-contentCreate contentCreates a post, a page or an entry of the content model from block markup or patterns.By autonomy
leitvia/create-patternCreate patternCreates a pattern in the Lab as a draft with version 0.1.0 from block markup.By autonomy
leitvia/create-productCreate productCreates a simple product.By autonomy
leitvia/crop-mediaCrop mediaCrops an image of the media library into a new image.By autonomy
leitvia/import-postImport postImports one post, page or entry of the content model from another site for a migration.By autonomy
leitvia/update-blockUpdate blockChanges one block found by its ID or path ID.By autonomy
leitvia/vary-patternVary patternCreates 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

AbilityLabelWhat it doesWrites
leitvia/add-read-moreAdd read moreGives the post teasers of many posts their call to action.By autonomy
leitvia/apply-packageApply change packageApplies the open operations of a change package, all or the listed ones.By autonomy
leitvia/delete-mediaDelete mediaDeletes a file of the media library for good, with all its sizes.Always to the Inbox, removes content
leitvia/fix-button-colorsFix button colorsGives the buttons of many posts the colors of the theme again.By autonomy
leitvia/fix-cover-colorsFix cover colorsGives the covers of many posts a color role for their overlay again.By autonomy
leitvia/fix-presetsFix presetsRemoves presets the active theme lacks from many posts, such as the colors and font sizes of an earlier theme.By autonomy
leitvia/insert-sectionInsert sectionInserts sections into the content of an existing post, page or entry, or moves one of its top-level sections.By autonomy
leitvia/localize-mediaLocalize mediaPoints every place of one post that loads a file of another host to a file of the media library instead.By autonomy
leitvia/reject-packageReject change packageRejects an open or partly applied change package.By autonomy
leitvia/remove-sectionRemove sectionTakes one top-level section out of the content of a post, page or entry.By autonomy
leitvia/repair-linksRepair linksRepairs internal links of one post.By autonomy
leitvia/replace-patternReplace patternReplaces top-level sections of one post with another pattern.By autonomy
leitvia/rollbackRoll back change packageRolls back the applied operations of a change package from their snapshots.By autonomy
leitvia/set-alt-textSet alt textSets the alt text of an image.By autonomy
leitvia/set-merchandisingSet merchandisingSets the featured flag, the upsells, the cross-sells and the sort order of one product.By autonomy
leitvia/set-page-structureSet page structureSets what a page is within the site, for breadcrumbs, structured data, llms.txt and the composition check.By autonomy
leitvia/trash-contentTrash contentMoves a post, page or entry to the trash.Always to the Inbox, removes content
leitvia/update-contentUpdate contentUpdates title, excerpt, slug, date, status, author, terms, fields, rows of repeaters, featured image and more.By autonomy
leitvia/update-productUpdate productUpdates texts, status, images, categories and tags of one product or variation, and its prices, tax and shipping class.By autonomy
leitvia/update-product-attributeUpdate product attributeRenames a global product attribute and its values and sorts the values, in one operation.By autonomy
leitvia/update-product-categoryUpdate product categoryUpdates name, description, parent and image of a product category, or name and description of a product tag.By autonomy
leitvia/update-product-reviewUpdate product reviewSets rating, verified flag or status of a product review.By autonomy
leitvia/update-seoUpdate SEO dataWrites SEO title, meta description, robots and Open Graph of one post through the active SEO plugin.By autonomy
leitvia/update-termUpdate termChanges 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.

AbilityLabelWhat it doesWrites
leitvia-pro/add-iconAdd iconAdds an icon of the brand to the icon blocks, or replaces one with the same name.Always to the Inbox
leitvia-pro/delete-orderDelete orderDeletes 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/geocodeLook up coordinatesLooks 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-adsGet adsSays 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-bookingGet appointment bookingReturns 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-dataGet event dataReturns 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-settingsGet order settingsReturns 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-ticketsGet ticket systemSays 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-reviewsImport reviewsAdds reviews as entries of the building block Reviews.By autonomy
leitvia-pro/list-iconsList iconsLists 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-offeringsList productsLists 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-productsList order productsLists 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-contentMigrate builder contentReplaces 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-docsOrder documentation pagesSorts the documentation pages of one level.By autonomy
leitvia-pro/order-offeringsOrder productsSorts products.By autonomy
leitvia-pro/read-builder-contentRead builder contentShows 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-adsSet adsChanges the settings of the ads.Always to the Inbox
leitvia-pro/set-booking-typesSet kinds of appointmentsReplaces the kinds of appointments the block leitvia-pro/booking offers.Always to the Inbox
leitvia-pro/set-event-dataSet event dataSets the event data of posts and the place data of pages, up to 50 per call.By autonomy
leitvia-pro/set-order-settingsSet order settingsChanges the given settings of the order form and keeps the others.Always to the Inbox
leitvia-pro/set-ticket-groupsSet ticket groupsReplaces the group of the ticket system each form hands its tickets to.Always to the Inbox
leitvia-pro/update-offering-lineUpdate product lineChanges a product line from leitvia-pro/list-offerings.By autonomy
leitvia-pro/update-order-productsUpdate order productsReplaces the whole product list of the order form.Always to the Inbox