Tools

For developersVersion 1.0.0Last updated:

ToolWhat it doesPermission
get_site_infoName, URL, languages, packages with their sections and fields, header/footer per language, design variables, active SEO plugin. Includes data: per module, number of options and bytes (and how much is autoloaded), tables with their approximate row count and the next run of each task. Never includes values.edit_pages
list_pagesPages, posts or headers/footers with language, status, URL, translations and sections. Filters: language, status, search.edit_pages
get_pageBlocks in order; per section: fields (id, type, label, value and source), static @uid items, styles and structure. With include_outline, the item tree with its uid.edit the page
preview_pageFinal HTML of the page or of a block, in its language.edit the page
update_fieldsChanges field values (text, richtext, image, link, repeater…) and design texts/links/images (@uid).edit the page
update_stylesCSS per item and device (desktop, tablet, mobile, hover).edit the page
edit_elementHide, show, remove, duplicate, add (heading, text, button, image, spacer, divider, HTML), move and change the tag (h2 → h1).edit the page
add_section, move_section, duplicate_section, remove_sectionManage a page’s sections.edit the page
create_pageNew page (draft) with sections, values, language, canvas and SEO; can be linked as a translation.edit_pages (publish_pages to publish)
translate_pageCreates or updates the linked translation, applies translated texts and SEO, and returns the pending texts.edit the page
translate_menuWithout menu_id, lists menus with language and translations. With menu_id and lang, creates the translated menu (mode ai, by default with a provider, or duplicate) and, if it already exists, requires overwrite; it does not overwrite labels edited by hand.edit_theme_options
update_pageTitle, slug, status, excerpt, featured image, parent page, order and canvas. On posts, also categories and tags (IDs, slugs or names; they replace the current ones). Creating one that does not exist requires manage_categories (manage_post_tags for tags).edit the page
list_postsBlog posts with status, excerpt, featured image, categories and tags. Filters: status, search, category, tag, language.edit_posts (only the ones you can edit)
create_postNew post (draft by default) with title, slug, excerpt, content (HTML or block markup, sanitized with wp_kses_post if you don’t have unfiltered_html; loose HTML goes in an HTML block), featured image, categories, tags and language.edit_posts (publish_posts to publish)
trash_pageSends a page or post to the trash (restorable; it never deletes permanently). Rejects headers, footers and saved templates, and the home page or the posts page.delete_post for that page
list_revisions, restore_revisionPage revisions and going back to one of them (undo). It does not affect SEO.edit the page
save_versionSaves a page’s current state as a named version in the History (label, up to 80 characters; e.g. “Before Claude’s changes”). Named versions are not deleted automatically. Use it before a big change.edit the page
update_animationEntrance animation and scroll effect of an item (uid from get_page with include_outline, or root for the section). animation = {in, dur, delay, stagger, ease, repeat, scroll, speed, mobile}; null removes it.edit the page
get_seo, update_seoThe page’s SEO (saved and effective, with the schema per type in update_seo) or, without a page, the global SEO.edit the page / manage_options for the global one
audit_page, audit_siteAudit of the final HTML: 0–100 score, problems and (audit_page) the failing checks and schema_issues.edit_pages
seo_preview_import, seo_run_importSimulates and imports SEO from Yoast, Rank Math and All in One SEO (in batches; it deletes nothing from the source).manage_options
redirects_list_404s, redirects_createLists the logged 404s and creates redirects (exact or regular expression, 301, 302, 410 or 451; with from_404_id it converts a 404).manage_options
seo_list_locationsLists the local SEO locations (name, type, address, phone, hours and assigned page). Read only.manage_options
seo_set_image_altSets the alt text of a library image.upload_files
seo_suggest_metaProposes a page’s title and meta description with the site’s AI (variants 1 or 2). It does not save: apply it with update_seo. Listed only if AI is available (key in the CRM’s AI settings).edit the page
get_design_tokens, update_design_tokensPackage variables, Google fonts, added buttons and global CSS.read: edit_pages; write: administrator with unfiltered_html
upload_mediaUploads an image or file from a public URL or in base64 and returns its ID.upload_files
validate_package, sync_packageValidates or installs a .zip package (base64 or URL), same as the REST API. The report carries format and schema[] (level, code, path in JSON Pointer format and message); if it fails, it returns that same report with docs_url. Fix the error entries before calling sync_package.administrator with unfiltered_html
components_list, components_update_optionsA page’s interactive components with their options (value, default, limits and source) and option changes (null = package value, reset = all).edit the page; changing requires the Full editing permission
popups_list, popups_update_settingsPopups with their settings and the ID of each translation, and partial change of their settings (active, triggers, conditions, frequency…).edit_theme_options
list_theme_templates, create_theme_template, set_template_conditions, create_theme_part, delete_theme_templateTheme templates (bos_template), headers and footers. list_theme_templates (type, lang) lists them with type, class (template or part), language, status and conditions, and the site’s valid types (Builder_OS_Theme::types() plus header and footer). create_theme_template (type, lang, title, from_default, status, conditions) creates one per type and language (product and shop allow several with different conditions) with the default content or empty. create_theme_part (role, model, lang, title, conditions) creates a header or a footer. set_template_conditions (id, conditions) changes “Where it’s shown”: header and footer {mode: all|include|exclude, ids, special, langs} (plus sticky, overlay, hide, bg2, fg2, shadow), product {mode: all|cats|ids, cats, ids}, shop {mode: all|cats, cats}; anything not sent is kept and a value the schema would discard (unknown mode, nonexistent pages, categories, products or languages) is rejected with an error. delete_theme_template (id) only sends to the trash. “Theme templates” group; writing requires edit_theme_options and the “Full” level.edit_theme_options (read: edit_pages)
get_docsFull documentation. With doc (desarrolladores or usuarios) and part, in ordered parts: about 15,000 tokens each, cut at a heading, with parts, next_part and sha256; joined together they give the exact document. Without arguments, the index; with doc and chapter, one chapter.edit_pages
get_specThe whole specification at once. Some clients truncate large responses: reading by parts with get_docs is the reliable way to get the full text.edit_pages

AI scope. The instructions the server sends on connecting state the access level in force and its limits (see Access levels, below). At the BuilderOS Level, the recommended one, the AI creates and modifies the site with these tools; it does not touch PHP or install plugins. It never changes the license, the seals or hidden functions, at any level: if asked, it refuses and explains why. get_docs and list_posts are in General read (it cannot be removed), create_post and trash_page in Edit pages and sections; with Read only only the tools with readOnlyHint remain, and none from the Total Level.

In addition, the server offers the specification as a resource (builderos://spec) and two prompts: Build a site for BuilderOS and Translate a page.

How Claude identifies each thing

  • Blocks: by their position on the page (0, 1, 2… or 2.0 if they are inside a group) or by their anchor (#contacto).
  • Fields: by their data-bos-id (title, cta, features…), the same as in the package.
  • Design texts, links and images that are not fields: @<uid> (for example @u3k9x2a), as in the visual editor.
  • Items for styles and structure: their uid, or root for the whole section.

Value format

TypeValue
textText.
richtextText with formatting HTML (<strong>, <em>, <a>…).
image, background, videoAttachment ID, URL or object { "id", "url", "alt" }. A partial object ({ "alt": "..." }) changes only that part.
linkURL or object { "url", "text", "target": "_blank", "page_id" }. With page_id the link points to that page.
selectOne of the options that get_page lists.
toggletrue or false.
color#hex, rgb(), hsl(), var(--color-x) or a color name.
menu"menu:<id>", "nav:<id>", "auto" or "".
repeaterThe full list: [ { "card-title": "...", "card-text": "..." }, ... ]. Subfields you don’t specify take the template’s value.
@uidText; { "href", "target", "page_id" } on links; { "src", "alt", "id" } on images.
anynull resets the package value (or its translation in i18n/).