Skip to main content
Glama

Server Details

Your AI agent builds native Gutenberg blocks, pages and templates on your WordPress design system.

Ownership verified
Status
Healthy
Uptime
100.0% over the last 24 hours
Last Tested
Transport
Streamable HTTP · MCP 2025-11-25
URL
ChatGPT
–
Claude
–

TDQS

A3.9/5.0

Scored across 97 tools

Disambiguation4/5

Each tool targets a distinct resource+action and the descriptions actively cross-reference potential confusions (e.g. list-archives vs list-archive-pages vs list-archive-records, get-fields vs list-post-type-fields vs get-field-values, save-content vs save-synced-pattern). The boundaries are genuinely subtle in the archive/fields/template clusters, but the explicit 'not to be confused with' guidance keeps selection mostly unambiguous.

Naming Consistency5/5

Names follow a strict fabrement-<verb>_<noun> snake_case pattern throughout (create-/get-/save-/delete-/list-/update-/set-/assign-/import-/upload-). Verb semantics are even differentiated deliberately (save = idempotent upsert vs create/update). No mixing of conventions.

Tool Count1/5

97 tools is far beyond the 50+ extreme-mismatch threshold and well past what an agent can navigate reliably, even if each tool is non-redundant. The surface would be far more usable split across multiple scoped servers (content, SEO, design, assets).

Completeness5/5

Near-total CRUD/lifecycle coverage across every declared domain: blocks, content, templates, synced patterns, post types, taxonomies, terms, fields, options pages, menus, icons, media, forms, SEO and design system all have create/read/update/delete. Reads are paired with writes and even includes verification (preview) and rollback, leaving no obvious dead ends.

Available Tools

97 tools
fabrement-assign-template-archiveAssign template to archiveAInspect

Bind a site template to an archive view (context from list-archives: "archive:" | "blog-home" | "tax" | "tax:" | "tax::"); templateId 0 unbinds. The template's contentSource wants a rule for the same context (save-archive-page + save-template); without one the slot shows the archive record's own blocks, and is empty only where no record exists (a term, author, date view). Rules: get-skill-doc {id:"template-contract"} — read it before the first call.

Inputs: context (required), templateId (required). Returns: url, note, bound, context, +1 more

fabrement-assign-template-pagesAssign template pagesAInspect

Give records this template, or take it away. mode is required. add / remove touch only the ids you pass; replace makes pageIds the exact set and releases every other record that had it — use it when you know the whole set, and list-template-pages first. Works on a record of any public type, not just the ones that take a template by default. For a whole-type frame use set-default-template instead. Rules: get-skill-doc {id:"template-contract"} — read it before the first call.

Inputs: mode (required), pageIds (required), templateId (required). Returns: mode, note, cleared, assigned, +2 more

fabrement-create-blockCreate blockAInspect

Create an EMPTY block record and get its ids; it renders nothing until submit-version. SEARCH FIRST, THEN DECIDE: list-blocks {search}. A block close to the ask is a question, not an answer — reusing it changes every page already placing it, a new one does not. Ask the person when it is ambiguous. A name already taken is refused and the answer names the block holding it. Say the TITLE when you report back, never the id — "Hero Split Dark", not "block 9321". Title: must start with an ASCII letter; letters, digits, spaces and hyphens. type "header"/"footer" makes a site-template part; "default" a content section. Rules: get-skill-doc {id:"block-contract"} for a content block; a header follows {id:"header-contract"}, a footer {id:"footer-contract"} — read the one for the block's type before the first call.

Inputs: title (required), type. Returns: id, type, uuid, title, +2 more

fabrement-create-cf7-formCreate Contact Form 7 formAInspect

Create a Contact Form 7 form (CF7 must be active). YOU WRITE THE MARKUP: template is the CF7 form body — your HTML plus CF7 [tags] — so the layout is whatever the design asks for, not a column of generated paragraphs. The mail body, Reply-To and attachments are derived from the tags in it. Returns { form: { id, title, shortcode, fields } } — the id is the default of the form attribute of a block (FormField). LIST-FORMS FIRST: a duplicate title is NOT refused, so calling this twice leaves two forms with the same name and no way to tell which one a page renders. Reuse the existing form, or update it with update-cf7-form. Rules: get-skill-doc {id:"forms-contract"} — read it before the first call.

Inputs: title (required), template (required), subject, messages, +1 more. Returns: form, note

fabrement-create-design-systemCreate design systemAInspect

Create a NEW design system in the project and select it for this site — only when get-design-system reports hasDesignSystem:false; then fill it with save-design-system. Never to "start fresh" beside an existing one. Rules: get-skill-doc {id:"design-system-contract"} — read it before the first call.

Inputs: name (required), copyCurrentTokens. Returns: id, name, seeded, selected

fabrement-create-menuCreate menuAInspect

Create a navigation menu (unique name; items nested to 4 levels, stored as custom links) that header/footer blocks bind by menuId. list-menus first to reuse one. Rules: get-skill-doc {id:"site-assets-contract"} — read it before the first call.

Inputs: name (required), items. Returns: menu

fabrement-create-post-typeCreate post typeAInspect

Register a NEW custom post type (Book, Project, Event…) — stored by Fabrement, re-registered on every request, no third-party plugin. list-post-types first. A public type with hasArchive gets an archive URL to dress with save-archive-page + assign-template-archive. Rules: get-skill-doc {id:"content-model-contract"} — read it before the first call.

Inputs: slug (required), singular (required), plural, public, +8 more. Returns: postType

fabrement-create-taxonomyCreate taxonomyAInspect

Register a NEW taxonomy (Genre, Region…) attached to post types — stored by Fabrement, no third-party plugin. hierarchical cannot be changed later. list-taxonomies FIRST: a second taxonomy meaning the same thing splits the content. Fill it with create-term. Rules: get-skill-doc {id:"content-model-contract"} — read it before the first call.

Inputs: slug (required), singular (required), plural, public, +5 more. Returns: taxonomy

fabrement-create-termCreate termAInspect

Add a term to any taxonomy (category and post_tag included). Idempotent: an existing name is returned with created:false. A parent that does not exist is refused. Rules: get-skill-doc {id:"content-model-contract"} — read it before the first call.

Inputs: name (required), taxonomy (required), slug, parent, +1 more. Returns: url, name, slug, parent, +3 more

fabrement-delete-archive-pageDelete archive pageA
Destructive
Inspect

Delete an archive bundle you authored (irreversible). A view whose rule still points at it renders an EMPTY slot — re-wire or unbind the template first. Rules: get-skill-doc {id:"archive-page-contract"} — read it before the first call.

Inputs: path (required), force. Returns: path, deleted

fabrement-delete-blockDelete blockA
Destructive
Inspect

Delete a block from the backend, the filesystem and this site at once (irreversible — its source goes too, so it has to be written again from nothing). REFUSED while any page places it or any template uses it as a header or footer, and the answer names them: remove it there first. There is no force — nothing can undo this one. Confirm with the user before calling. Rules: get-skill-doc {id:"block-contract"} — read it before the first call.

Inputs: blockId (required).

fabrement-delete-cf7-formDelete Contact Form 7 formA
Destructive
Inspect

Delete a Contact Form 7 form (irreversible); a block rendering it shows nothing afterwards. Confirm with the user first. Rules: get-skill-doc {id:"forms-contract"} — read it before the first call.

Inputs: formId (required). Returns: id, title, deleted

fabrement-delete-contentDelete contentA
Destructive
Inspect

Delete a page/post/custom record PERMANENTLY — requires force:true, and only when the user said so. To move it to the trash (recoverable) use set-content-status {status:"trash"} instead. Blocks used on the page are not deleted. Rules: get-skill-doc {id:"content-contract"} — read it before the first call.

Inputs: contentId (required), force. Returns: id, title, deleted

fabrement-delete-iconDelete iconA
Destructive
Inspect

Delete an icon from the site library and the project copy. REFUSED while anything names it — an installed block, a render bundle, an icon field of a post type or an options page (its choices), or a live block version of the project — and the answer says which. force:true deletes anyway: every place naming it then renders nothing, and usedBy lists them. Confirm with the user before forcing. Rules: get-skill-doc {id:"icons-contract"} — read it before the first call.

Inputs: id (required), force.

fabrement-delete-mediaDelete mediaA
Destructive
Inspect

Delete a media item (permanent by default — media has no useful trash). It is deleted even while something still shows it — a block attribute, a featured image, the site icon: usedBy says where, and those places lose the image, so tell the user. Rules: get-skill-doc {id:"site-assets-contract"} — read it before the first call.

Inputs: mediaId (required), force. Returns: id, title, usedBy, deleted

fabrement-delete-menuDelete menuA
Destructive
Inspect

Delete a navigation menu and its items (irreversible). A block bound to it falls back to its own stored items. Confirm with the user when it is in use. Rules: get-skill-doc {id:"site-assets-contract"} — read it before the first call.

Inputs: menuId (required). Returns: id, deleted

fabrement-delete-options-pageDelete options pageA
Destructive
Inspect

DESTRUCTIVE, cannot be undone: remove an options page AND every value stored on it, in every language. Its menu entry, fields and tabs are gone; a page created again under the same slug starts empty. Templates that still read its fields get null — check what reads it first (fabrement_get_option('…', '') in blocks, headers, footers, page bodies). To drop only some fields, save-options-page without them instead (their values are kept). Ask the user and name the page before calling this. Rules: get-skill-doc {id:"options-contract"} — read it before the first call.

Inputs: slug (required), expectedRevision (required).

fabrement-delete-post-typeDelete post typeA
Destructive
Inspect

Unregister a custom post type Fabrement created and drop its definition. Its posts stay in the database (orphaned; back if the type is re-created under the SAME slug); its archive page and its Fabrement fields file are deleted with it (the field values stay on those posts). Called for a slug whose type is already gone, it deletes a fields file left behind. NOT a way to rename one: under a different slug the new type comes back empty and the posts stay orphaned under the old. To change what a type looks like, keep the slug and use update-post-type {rewrite} for its URL and {singular, plural} for its name. Core/plugin types are refused. Refused while posts of that type exist — they would stay in the database reachable from nowhere; pass force:true if that is meant. The archive template binding is dropped (it cannot survive), and the answer names what was left in place. Any render bundle that drew it is listed with renderFiles — check each before deleting it, one bundle can serve several types. Confirm with the user first. Rules: get-skill-doc {id:"content-model-contract"} — read it before the first call.

Inputs: slug (required), force. Returns: slug, deleted

fabrement-delete-single-pageDelete single pageA
Destructive
Inspect

Delete a single-page bundle you authored (irreversible). A template still pointing at it falls back to the page's own content — check get-template first. Rules: get-skill-doc {id:"single-page-contract"} — read it before the first call.

Inputs: path (required), force. Returns: path, deleted

fabrement-delete-synced-patternDelete synced patternA
Destructive
Inspect

Delete a global block (synced pattern) PERMANENTLY. A template's header/footer is never deleted while a template uses it — set another one with save-template first. Otherwise refused while any record places it — the answer lists them; remove the placements first, or send force:true (those places then render nothing). The blocks inside are not deleted. Rules: get-skill-doc {id:"synced-pattern-contract"} — read it before the first call.

Inputs: patternId (required), force. Returns: title, deleted, orphaned, patternId

fabrement-delete-taxonomyDelete taxonomyA
Destructive
Inspect

Unregister a taxonomy Fabrement created (core/plugin ones are refused). Its terms stay in the database and return if it is re-created under the SAME slug; content just stops being classified by it. NOT a way to rename one: re-created under a different slug it comes back empty, because the terms are still filed under the old one — and nothing points at them any more. To change what a taxonomy looks like, keep the slug and use update-taxonomy {rewrite} for its URL and {singular, plural} for its name. Archive templates bound to it or to its terms are unbound and listed in the answer. Rules: get-skill-doc {id:"content-model-contract"} — read it before the first call.

Inputs: slug (required). Returns: note, slug, deleted, unbound, +2 more

fabrement-delete-templateDelete templateA
Destructive
Inspect

Delete a site template (irreversible). Pages that used it explicitly fall back to their post type's default and it stops being any type's default; its header/footer global blocks stay. Refused while anything still points at it, and the answer says what — pass force:true to delete anyway. Rules: get-skill-doc {id:"template-contract"} — read it before the first call.

Inputs: templateId (required), force. Returns: deleted, clearedPages

fabrement-delete-termDelete termA
Destructive
Inspect

Delete a term; posts just lose that label, children move up to the parent. Check count in list-terms first. Refused while a template is bound to its archive — unbind it first (assign-template-archive), because that binding would otherwise stay pointing at nothing. Refused too while a template draws a BODY for this term (a content-source rule): decide whether that body is still wanted, then remove the rule or pass force:true. Rules: get-skill-doc {id:"content-model-contract"} — read it before the first call.

Inputs: term (required), taxonomy (required), force. Returns: note, termId, deleted, taxonomy, +1 more

fabrement-get-archive-pageGet archive pageA
Read-only
Inspect

Read an archive bundle you authored: php, css, js, hooks, listing, plus description, logic, contexts, requires, history and hash. Read before save-archive-page; copy edits fragments from here.

Inputs: path (required). Returns: js, css, php, hash, +10 more

fabrement-get-block-sourceGet block sourceA
Read-only
Inspect

Read one block's CURRENT source for an update: its tokenised file bodies, registered name, shorthand attributes, backgroundColor, skills, description, tags and hash. Edit minimally (keep data-ui-id stable) and submit-version only what changes — edits per file + expectedHash. Rules: get-skill-doc {id:"block-contract"} for a content block; a header follows {id:"header-contract"}, a footer {id:"footer-contract"} — read the one for the block's type before the first call.

Inputs: uuid, blockId. Returns: hash, name, tags, type, +7 more

fabrement-get-cf7-formGet Contact Form 7 formA
Read-only
Inspect

Read one Contact Form 7 form: title, raw template, mail recipient/subject, every message key (current, default, description), shortcode (page content only — a block uses the form id in its form attribute). Read before update-cf7-form. Rules: get-skill-doc {id:"forms-contract"} — read it before the first call.

Inputs: formId (required). Returns: form

fabrement-get-contentGet contentAInspect

Read ONE page/post/custom record in full: everything list-content reports plus slug, template, excerpt, featuredImage and blocks — its body as save-content takes it ({name, attributes} or {markup}), outline (block name per index) and hash. The step before editing a page: get-content → save-content {contentId, mode:"edit", edits, expectedHash: hash}. Rules: get-skill-doc {id:"content-contract"} — read it before the first call.

Inputs: contentId (required). Returns: url, hash, slug, terms, +13 more

fabrement-get-design-systemGet design systemA
Read-only
Inspect

The design system THIS SITE paints with — colour tokens, typography, button variants, each with its live CSS variable / class — or hasDesignSystem:false when the site has not selected one. Call it before styling a block: use var(--fabrement-*) tokens and .fabrement-btn-- classes where they exist. Rules: get-skill-doc {id:"design-system-contract"} — read it before the first call.

Inputs: include.

fabrement-get-fieldsGet fieldsA
Read-only
Inspect

The custom fields defined for a post type (Fabrement fields): every field with its name and meta key (fab_), retired ones marked "retired": true, the form layout and the revision. Call it before save-fields (you need its revision and the existing fields) and before a template reads fields. revision 0 = no fields yet. Templates read values with fabrement_get_field('', $id), the record id passed explicitly, never get_post_meta. Site-wide settings: get-options-page. "problem" = the field file is broken: nothing can be saved until the user fixes or removes wp-content/fabrement/fields/; tell them, do not recreate the fields. Rules: get-skill-doc {id:"fields-contract"} — read it before the first call.

Inputs: slug (required), type (required).

fabrement-get-field-valuesGet field valuesA
Read-only
Inspect

The Fabrement field values of one record or of an options page, keyed by field name, in the shape set-field-values accepts; each repeater row carries "_row", its identity, to send back unchanged. "stored" says whether THIS record holds its own saved value (false = showing the default). Rules: get-skill-doc {id:"fields-contract"} — read it before the first call.

Inputs: postId, options.

fabrement-get-figmaGet Figma designA
Read-only
Inspect

A Figma node as build-ready data: a clean HTML/CSS-in-JSON tree (tags, text, inlined icon svg, computed styles, resolved flex/grid) from a fileKey + nodeId. Without nodeId: the file outline — its pages and their top-level frames (id, name, size) — to pick the frame to read. A node too large to read at once returns {tooLarge, children}: read the children one by one. imageIds adds rendered image URLs (for eyeballing, and as upload-media sourceUrl for raster photos); raw:true gives the unprocessed node. Needs a Figma token on the site. Rules: get-skill-doc {id:"site-assets-contract"} — read it before the first call.

Inputs: fileKey (required), raw, nodeId, imageIds.

fabrement-get-global-cssGet global CSSA
Read-only
Inspect

Read the site-wide stylesheet (global.css): css, exists, bytes, url, hash. Read before save-global-css; pass hash back there as expectedHash. Rules: get-skill-doc {id:"global-css-contract"} — read it before the first call.

Inputs: no named parameters. Returns: css, url, hash, bytes, +1 more

fabrement-get-global-jsGet global JSA
Read-only
Inspect

Read the site-wide script (global.js): js, exists, bytes, url, hash. Read before save-global-js; pass hash back there as expectedHash. Rules: get-skill-doc {id:"global-js-contract"} — read it before the first call.

Inputs: no named parameters. Returns: js, url, hash, bytes, +1 more

fabrement-get-iconGet iconA
Read-only
Inspect

One library icon with its svg — as the site renders it (colours already turned into currentColor for mono/duotone). A block does not paste this: it calls fabrement_icon(''). Rules: get-skill-doc {id:"icons-contract"} — read it before the first call.

Inputs: id (required).

fabrement-get-options-pageGet options pageA
Read-only
Inspect

One options page (wp-admin → "Site General Settings"): its page settings (title, menu label, description, position, autoload), its fields with their names, its tabs (layout) and its revision. revision 0 = no such page yet. Call it before save-options-page (you need the revision and the existing fields) and before render code reads the page. Its values: get-field-values {options: slug}. Render code: fabrement_get_option('', ''). "problem" = the page's file is broken: nothing can be saved until the user fixes or removes wp-content/fabrement/fields/; tell them, do not recreate the fields. Rules: get-skill-doc {id:"options-contract"} — read it before the first call.

Inputs: slug (required).

fabrement-get-seoGet SEO stateA
Read-only
Inspect

Read the SEO state: always yoast {active, version}; with contentId — the record's stored Yoast fields, effective output (title, description, canonical, robots) and the FULL schema graph it emits (and primaryTerms: the main term per taxonomy, for breadcrumbs); with termId — a term archive's stored and effective SEO; with archive (a post type) — its archive's stored and effective SEO; with postType — its defaults and schema template; with neither — the site settings and knowledge graph. Call it FIRST (is Yoast active?) and AFTER a write to verify. Rules: get-skill-doc {id:"seo-contract"} — read it before the first call.

Inputs: termId, archive, postType, contentId. Returns: note, site, term, yoast, +4 more

fabrement-get-single-pageGet single pageA
Read-only
Inspect

Read a single-page bundle you authored: php, css, js, hooks, plus description, logic, contexts, requires, history and hash. Read before save-single-page; copy edits fragments from here. Theme files are not readable.

Inputs: path (required). Returns: js, css, php, hash, +9 more

fabrement-get-site-settingsGet site settingsA
Read-only
Inspect

The site settings a build needs, as they are now — siteTitle, tagline, showOnFront, frontPage (the HOME page id), postsPage, notFoundPage, permalinkStructure, homeUrl, siteIcon. Change them with update-site-settings. Rules: get-skill-doc {id:"site-settings-contract"} — read it before the first call.

Inputs: no named parameters. Returns: settings, codeWritable

fabrement-get-skill-docGet skill docA
Read-only
Inspect

Fetch one doc by id. Every tool that has rules names its contract in a "Rules:" line - read that doc before the first call. Some contracts open with WHAT TO FETCH: REQUIRED docs to read with them, PICK ONE groups, OPTIONAL docs for what the task needs and LATER docs for a later step, each with a one-line summary. Fetch several docs as parallel calls, one id each.

Inputs: id (required). Returns: id, content

fabrement-get-synced-patternGet synced patternA
Read-only
Inspect

One global block (synced pattern) in full: title, blocks (its body as save-synced-pattern takes it: {name, attributes} or {markup}), outline, hash for an edit, foreign blocks, and usedBy — every record placing it, i.e. everything an edit changes. Read it before changing the pattern. Rules: get-skill-doc {id:"synced-pattern-contract"} — read it before the first call.

Inputs: patternId (required). Returns: hash, kind, title, blocks, +7 more

fabrement-get-templateGet templateA
Read-only
Inspect

One template in full: parts, contentWidth, contentSource (the content-slot config; a rule that can no longer render carries problem), beforeSlot/afterSlot zones, header/footer {patternId, title} — each a GLOBAL BLOCK whose words are read and changed with get-synced-pattern / save-synced-pattern (every template placing it changes), archiveContexts. Read it before an UPDATE that touches the slot or a zone — save-template replaces what you pass.

Inputs: templateId (required). Returns: template

fabrement-import-blockInstall or reapply a project block on this siteAInspect

Install or reapply the current PROJECT version on this site. Takes uuids from list-blocks as blockIds. Already installed blocks keep their WordPress ID; their files are rewritten without creating a backend version. Use this to retry after submit-version saved in the backend but failed to write locally. An imported block is indistinguishable from one built here: get-block-source reads it, submit-version changes it, list-versions has its history. Prefer this over building the same section again. Rules: get-skill-doc {id:"block-discovery-contract"} — read it before the first call.

Inputs: blockIds (required). Returns: skipped, installed

fabrement-install-pluginInstall a plugin (allow-listed)AInspect

Install and activate a plugin from a closed allow-list — "wordpress-seo" (Yoast), when get-seo says yoast.active:false and the user wants SEO managed, and "contact-form-7", when list-forms says cf7.active:false and a form is needed. Needs install/activate capabilities and a writable host; a refusal names the reason. A translation plugin (WPML) is NOT on the list: ask the site owner to install and configure it, then reconnect — the language tools and the docs' language rules appear only once the site has languages. Rules: get-skill-doc {id:"seo-contract"} — read it before the first call.

Inputs: slug (required). Returns: note, slug, version, activated, +2 more

fabrement-list-archive-pagesList archive pagesA
Read-only
Inspect

The ARCHIVE bundles you authored: path (for contentSource rules with an archive/blog-home/tax context), label, description, and usedBy — the views actually rendering it. No usedBy means nothing points at it: an orphan, whatever its contexts claim. If nothing fits, save-archive-page.

Inputs: no named parameters. Returns: files

fabrement-list-archive-recordsList archive recordsA
Read-only
Inspect

The PAGE that describes each post-type archive — the record its title, SEO and schema live on: {postType, context, url, pageId, title, slug, status, hasContent}. Title and slug: set-archive-record. SEO: get-seo / set-seo {archive: postType}. Schema: set-schema on its pageId. hasContent says whether the record carries BLOCKS — an archive has its own content like any page, written with save-content {contentId: pageId}. Not to be confused with list-archive-pages, which lists the render bundles that draw the listing. Rules: get-skill-doc {id:"seo-contract"} — read it before the first call.

Inputs: no named parameters. Returns: archives

fabrement-list-archivesList archivesA
Read-only
Inspect

The archive views a template can be bound to: context ("archive:" | "blog-home" | "tax" | "tax:" | "tax::"), label, url, templateId bound at that level (term views resolve most-specific-first). Pick a context here → save-archive-page → contentSource rule → assign-template-archive.

Inputs: no named parameters. Returns: archives

fabrement-list-blocksList blocksA
Read-only
Inspect

List/search this project's blocks: id, name (the registered name other tools take), title, hasFiles (this site has the block's files; always false on installed:false rows — read importable there), type. Content blocks only by default; type "header"|"footer"|"all" for template parts. Paged (10, limit ≤25; read total/pages) — narrow with search or tags rather than scanning. Rows with installed:false are in the project but NOT on this site — install one with import-block rather than rebuilding it. availableTags lists every tag in use with counts: read it before tagging a block of your own. Rules: get-skill-doc {id:"block-discovery-contract"} — read it before the first call.

Inputs: page, tags, type, limit, +3 more. Returns: page, limit, pages, total, +4 more

fabrement-list-block-usageList block usageA
Read-only
Inspect

Where a block is PLACED: the templates using it as a header or footer, and the pages, posts and template zones whose content holds it. Ask before editing a block — a submitted version replaces it everywhere, so this is the list of what your edit changes. Empty means nothing places it yet. Rules: get-skill-doc {id:"block-contract"} — read it before the first call.

Inputs: blockId (required), limit. Returns: name, title, usedBy, blockId, +1 more

fabrement-list-contentList contentA
Read-only
Inspect

List content — pages, posts or any type — to find ids and see what exists: id, title, postType, status, url, editUrl, terms, parent, menuOrder. parent lists one level of a hierarchical type (0 = top level). title answers "does a page called X exist", slug is the exact lookup, search scans content too. Search BEFORE creating: a second "About" beside the existing one is the usual failure.

Inputs: id, slug, limit, title, +5 more. Returns: items, total

fabrement-list-fontsSearch fontsA
Read-only
Inspect

Search the Google Fonts catalogue and see the faces THIS SITE already has. Call it BEFORE naming a font in save-design-system: it confirms the family exists, and returns the weights it really ships so you never ask for one it does not have. siteFonts lists what is already installed here — those cost the page nothing extra. Rules: get-skill-doc {id:"design-system-contract"} — read it before the first call.

Inputs: q, limit, category, cyrillicOnly.

fabrement-list-formsList formsA
Read-only
Inspect

The forms on this site (Contact Form 7, WPForms) with their ids. A block NEVER builds its own : it gets a form attribute (FormField) whose default is one of these ids, and styles the markup. Rules: get-skill-doc {id:"forms-contract"} — read it before the first call.

Inputs: no named parameters. Returns: cf7, wpforms

fabrement-list-iconsList iconsA
Read-only
Inspect

The site's icon library: id (/, what fabrement_icon() takes), name, description, tags, colorMode (mono/duotone = paint with CSS color; original = drawn colours), url, usedBy. No markup — get-icon for that. availableTags lists the tags in use. List BEFORE drawing an icon or saving one: the usual failure is a second arrow beside the first. Rules: get-skill-doc {id:"icons-contract"} — read it before the first call.

Inputs: tags, group, search.

fabrement-list-mediaList mediaA
Read-only
Inspect

Search the media library (title, filename, alt text; kind image/video/audio/document), newest first: id, url, mimeType, altText, width, height. Use it before upload-media and when the user refers to an existing image. Rules: get-skill-doc {id:"site-assets-contract"} — read it before the first call.

Inputs: kind, page, search. Returns: page, items, pages, total

fabrement-list-menusList menusA
Read-only
Inspect

The site's navigation menus: id, name, items (nested to 4 levels). A header/footer binds one through its menu attribute as {source:"wp", menuId}. Rules: get-skill-doc {id:"site-assets-contract"} — read it before the first call.

Inputs: no named parameters. Returns: menus

fabrement-list-options-pagesList options pagesA
Read-only
Inspect

The options pages of the site (wp-admin → "Site General Settings"): site-wide settings such as a phone, an address, social links or footer text, kept once for the whole site. Each: slug, title, menuTitle, description, position, autoload, revision and how many active fields it has. Look here before creating one: a setting that fits an existing page belongs there. Read or change a page's fields and tabs with get-options-page / save-options-page {slug}; its values with get-field-values / set-field-values {options: slug}; templates read them with fabrement_get_option('', ''). Rules: get-skill-doc {id:"options-contract"} — read it before the first call.

Inputs: no named parameters.

fabrement-list-post-type-fieldsList post type fieldsA
Read-only
Inspect

Every custom field a post type declares, and the PHP to read each one in render code: source "fabrement" (our fields: read with fabrement_get_field('', $post_id), never get_post_meta), "acf" (ACF field groups on the type: group, returnFormat, choices, sub-fields; read with get_field) and "registered" (register_post_meta). Call it before a single-page/archive bundle or a block prints anything beyond title/content/excerpt/featured image/terms, so keys come from the site, not a guess. "fabrementFields" at the end is the full definition of our fields, the same as get-fields (use get-fields to change them). It reads declarations only, not the database: meta nobody declared is not listed (query-database shows raw rows). Empty = the type declares no custom fields; do not invent keys. Rules: get-skill-doc {id:"content-model-contract"} — read it before the first call.

Inputs: postType (required), includeInternal. Returns: fields, postType, fabrementFields

fabrement-list-post-typesList post typesA
Read-only
Inspect

Post types on the site: available (every public type, with fabrement:true on the ones created here) and defaults (post type -> the template its records wear automatically, with its title and whether it is ready). Any public type can be given one with set-default-template; a record of any type can also pick a template for itself, which outranks the default. starterBlocks (post type -> the blocks a NEW record opens with in the editor, set with set-post-type-starter-blocks) is the read-back of that setting — the editor template, not the site template.

Inputs: no named parameters. Returns: defaults, available, starterBlocks

fabrement-list-post-types-customList Fabrement post typesA
Read-only
Inspect

The custom post types Fabrement created — the only ones update/delete-post-type work on. list-post-types shows every type.

Inputs: no named parameters. Returns: postTypes

fabrement-list-seoList SEOA
Read-only
Inspect

List what search engines see across the site — records (pages, posts, any type), post-type archives or terms — each with seo {title, metaDesc: "own"|"template"|"none", noindex, canonical}. filter narrows to what needs work: noMetaDesc (no description at all), noCustomTitle (the title is the type's template), noindex, canonicalElsewhere. A row kept out of search (noindex) is left out of every filter but noindex. Then get-seo opens one and set-seo writes it. Rules: get-skill-doc {id:"seo-contract"} — read it before the first call.

Inputs: kind, limit, filter, offset, +3 more. Returns: note, items, total, offset

fabrement-list-single-pagesList single pagesB
Read-only
Inspect

What a template's content slot can render: path (for a contentSource rules[].file), label, source (theme file or a bundle you authored), description, ours (false = a theme file: rule-able, but not readable, editable or deletable here), and usedBy — the views actually rendering it. No usedBy means nothing points at it. If nothing fits, save-single-page.

Inputs: no named parameters. Returns: files

fabrement-list-synced-patternsList synced patternsA
Read-only
Inspect

The GLOBAL BLOCKS on this site: synced patterns (edit once, every page placing one changes). Each with id, title, the blocks inside, usedBy (how many records place it) and foreign (blocks that are neither Fabrement nor core). Only patterns holding a Fabrement block by default; scope "all" lists every synced pattern. kind — its pattern category: "header" / "footer" (a template's header or footer, set with save-template headerPatternId / footerPatternId; templates lists the templates placing it) or "section" (placed on pages). Check here BEFORE saving a new one. Rules: get-skill-doc {id:"synced-pattern-contract"} — read it before the first call.

Inputs: kind, limit, scope, search. Returns: patterns

fabrement-list-taxonomiesList taxonomiesA
Read-only
Inspect

The taxonomies on this site: slug, label, hierarchical, public (false = terms classify content but have no pages of their own), postTypes, terms count, fabrement (created here). Call before create-taxonomy (reuse what exists) and before create-term.

Inputs: no named parameters. Returns: taxonomies

fabrement-list-template-pagesList template pagesA
Read-only
Inspect

List the records a template can be assigned to — every public type: id, title, status, postType, typeLabel, template (slug in use, "" = default), isFront. Use it to gather ids before assign-template-pages. templateId does not narrow the list; it only guarantees that the picks this template already holds are in it, whatever the search.

Inputs: limit, search, templateId. Returns: note, pages

fabrement-list-templatesList templatesA
Read-only
Inspect

List the site templates (header+footer frames): id, title, headerPatternId, footerPatternId (the global blocks placed as header/footer), headerBlockId, footerBlockId (the blocks inside them), contentWidth, ready, pageCount, defaultFor. Call FIRST when the user may mean an EXISTING template — update it by id instead of creating a duplicate.

Inputs: no named parameters. Returns: templates

fabrement-list-termsList termsA
Read-only
Inspect

The terms of a taxonomy: termId, name, slug, parent, count, url. Call before create-term (extend the vocabulary, don't add "Sci-Fi" next to "Science Fiction") and before looping terms in a bundle.

Inputs: taxonomy (required), limit, search. Returns: terms, total

fabrement-list-versionsList versionsA
Read-only
Inspect

A block's saved versions, newest first: id (versionId for rollback-version), createdAt, isCurrent, summary.

Inputs: blockId (required). Returns: versions

fabrement-previewPreviewA
Read-only
Inspect

A tokenized URL to see what you built, opened in your browser without a wp-admin session — the MANDATORY check after every save. target "content": a page/post/CPT record (drafts included) on its own address through its template. target "template": the whole assembled template (header, content slot, footer) on one record (contentId), a sample of a type (postType) or an archive (context). target "block": one block alone, optionally rendered ON a record (contentId) so it sees that record's fields. Private and password-protected records are never shown. Rules: get-skill-doc {id:"preview-contract"} — read it before the first call.

Inputs: id (required), target (required), context, postType, +1 more. Returns: url, status, expiresIn

fabrement-query-databaseQuery database (read-only)A
Read-only
Inspect

READ-ONLY SQL (one SELECT/SHOW/DESCRIBE/EXPLAIN; a LIMIT is added) to investigate what the site holds — counts, content and meta keys. Raw options, users, usermeta and sitemeta tables are not accessible because they contain credentials. Include meta_key when selecting meta_value; unidentified or sensitive values come back [redacted]. Comments and multiple statements are refused; SHOW is limited to TABLES/COLUMNS/INDEX/TABLE STATUS/CREATE TABLE; a statement is stopped after 10 seconds. Prefer the dedicated list-* tools where one exists; never a substitute for a write.

Inputs: sql (required), limit. Returns: sql, rows, columns, rowCount, +1 more

fabrement-rollback-versionRoll back to a versionAInspect

Make an EARLIER version (list-versions) the live one again and write its files to the site — only to undo a version that turned out wrong; submit-version already deploys. A version saved with mode "overwrite" left no checkpoint. Rules: get-skill-doc {id:"block-contract"} — read it before the first call.

Inputs: blockId (required), versionId (required). Returns: ok, buildOk, versionId, filesWritten

fabrement-save-archive-pageSave archive pageAInspect

Create or change an ARCHIVE bundle — render.php looping the MAIN query (+ optional style.css, view.js, hooks.php, listing.php) — that fills a template's CONTENT area on an archive view. Send files whole, or change an existing bundle with edits (fragment replacements per file) + expectedHash from get-archive-page. summary is required on every save; description and logic on create and whenever php/js/hooks change. Returns the path for a contentSource rule; then assign-template-archive. listing.php is the OTHER way into the same bundle: the rows alone, included by the archive-list block wherever it sits in the archive record's content, so the rows land between blocks arranged in the editor. render.php reaches that file with fabrement_listing(). Rules: get-skill-doc {id:"archive-page-contract"} — read it before the first call.

Inputs: name (required), summary (required), js, css, +11 more. Returns: hash, name, path, hasJs, +8 more

fabrement-save-contentSave contentAInspect

Create a page/post/custom-type record from deployed blocks, or UPDATE one by contentId. There is no status argument: a new record is always a DRAFT, an update keeps its status, and publishing is set-content-status, after the user agrees. mode is REQUIRED and has no default: create (new record, no contentId) · add (blocks are ADDED after the body already there) · replace (the body becomes exactly blocks) · edit (change part of it through edits). Title applies when given. blocks[] entries are {name: registered Fabrement block, attributes} or {markup: core-block markup for prose}. list-content BEFORE creating; get-content BEFORE changing a record. To change part of a body use mode "edit" with edits (update/text/insert/replace/remove/move by index + name) and expectedHash — never re-send every block for a small change. parent nests a record under another of a hierarchical type; menuOrder orders siblings. Rules: get-skill-doc {id:"content-contract"} — read it before the first call.

Inputs: mode (required), slug, edits, title, +8 more. Returns: url, note, slug, blocks, +7 more

fabrement-save-design-systemSave design systemAInspect

Update the design system this site paints with: colours (the 16 canonical roles), typography, button variants. Sections you send MERGE over the current ones (replace:true swaps them); tokens go live on :root at once. Refused when the site has none selected. The save lands on THIS SITE first and is then copied to the project — synced:false means the site has it and the project does not (signed out, or the backend unreachable), which is not a failure to retry. get-design-system first. Rules: get-skill-doc {id:"design-system-contract"} — read it before the first call.

Inputs: colors, buttons, replace, typography. Returns: ok, note, synced, syncNote, +4 more

fabrement-save-fieldsSave fieldsAInspect

Define the custom fields of a post type (fields, the form layout, or both; a section you leave out stays as it is). Editors then fill the values in the "Fabrement fields" box of the block editor (saved with Update); set-field-values sets them too. Site-wide settings are options pages: save-options-page. Read get-fields first and send its revision as expectedRevision. "fields" is the complete active list: start from get-fields, change it, send it all (without its "retired": true fields). Everything is checked before writing: on any error nothing is saved and the error starts with the path of the input to fix (e.g. "fields[2].sub_fields[0].name: ..."). Returns the stored fields. Rules: get-skill-doc {id:"fields-contract"} — read it before the first call.

Inputs: slug (required), type (required), expectedRevision (required), fields, +1 more.

fabrement-save-global-cssSave global CSSAInspect

Write the SITE-WIDE stylesheet (loaded on every page and in the editor) for rules no single block owns. Either css = the COMPLETE file (replaces; "" deletes) or edits = exact-fragment replacements of the current file — prefer edits for changes. Pass expectedHash from get-global-css. Block styles belong in the block. Rules: get-skill-doc {id:"global-css-contract"} — read it before the first call.

Inputs: css, edits, expectedHash. Returns: url, hash, bytes, saved, +1 more

fabrement-save-global-jsSave global JSAInspect

Write the SITE-WIDE script (front end only, deferred) for behaviour no single block owns. Either js = the COMPLETE file (replaces; "" deletes) or edits = exact-fragment replacements of the current file — prefer edits for changes. Pass expectedHash from get-global-js. Block behaviour belongs in the block's view.js. Rules: get-skill-doc {id:"global-js-contract"} — read it before the first call.

Inputs: js, edits, expectedHash. Returns: url, hash, bytes, saved, +1 more

fabrement-save-iconSave iconAInspect

Add an icon to the site library, or replace one, from EXACTLY ONE source: svg markup, or fileKey+nodeId of a Figma node (exported as vector). id = /, group one of brand, ui, feature, social, contact, flag; ids are permanent once a block names them. The markup is sanitised and its colours turned into CSS-driven paint per colorMode. list-icons FIRST. Rules: get-skill-doc {id:"icons-contract"} — read it before the first call.

Inputs: id (required), name (required), description (required), svg, +5 more.

fabrement-save-options-pageSave options pageAInspect

Create or change an options page — site-wide settings such as contacts, social links, a header announcement or the footer, shown in wp-admin under "Site General Settings": its page settings, its fields and its tabs (a section you leave out stays as it is). Read get-options-page first and send its revision as expectedRevision; 0 with a new slug creates the page and needs page.title. "fields" is the complete active list, as in save-fields. Values are filled on the page, or with set-field-values {options: slug}. Everything is checked before writing; an error names the input to fix. Rules: get-skill-doc {id:"options-contract"} — read it before the first call.

Inputs: slug (required), expectedRevision (required), page, fields, +1 more.

fabrement-save-single-pageSave single pageAInspect

Create or change a single-page bundle — render.php + optional style.css, view.js, hooks.php — that fills a template's CONTENT area with a layout a block cannot express. Send files whole, or change an existing bundle with edits (fragment replacements per file) + expectedHash from get-single-page. summary is required on every save; description and logic on create and whenever php/js/hooks change. Returns the path a contentSource rule points at. Rules: get-skill-doc {id:"single-page-contract"} — read it before the first call.

Inputs: name (required), summary (required), js, css, +10 more. Returns: hash, name, path, hasJs, +8 more

fabrement-save-synced-patternSave synced patternAInspect

Create a GLOBAL BLOCK (synced pattern) from deployed blocks, or change one by patternId — every page placing it changes with it. mode is REQUIRED and has no default: create (new pattern, no patternId) · replace (the body becomes exactly blocks) · edit (change part of it through edits). blocks[] as in save-content ({name, attributes} or {markup}); must hold at least one Fabrement block. Change part of an existing one with mode "edit" + edits + expectedHash from get-synced-pattern. Place it on a page with save-content {name:"core/block", attributes:{ref: patternId}}. Rules: get-skill-doc {id:"synced-pattern-contract"} — read it before the first call.

Inputs: mode (required), kind, edits, title, +4 more. Returns: kind, title, blocks, usedBy, +4 more

fabrement-save-templateSave templateAInspect

Create a site template — a header+footer frame around pages — or UPDATE one by templateId; every field is omit-to-keep. Check list-templates first: edit the existing one rather than make a duplicate. The header and footer are GLOBAL BLOCKS: find one with list-synced-patterns {kind:"header"}, or make one with save-synced-pattern {title, kind:"header", blocks}, then pass its id as headerPatternId. Rules: get-skill-doc {id:"template-contract"} — read it before the first call.

Inputs: title, afterSlot, beforeSlot, templateId, +4 more. Returns: template, ruleWarnings

fabrement-set-archive-recordSet archive recordAInspect

Edit the page that describes a post-type archive: its title (the archive's heading and the fallback of its SEO title) and slug. Addressed by {postType}. Its SEO (title, metaDesc, noindex, og…) is set-seo {archive: postType}. Its own words (an intro above the listing, an FAQ under it) are the page's BLOCKS, not a field here: save-content {contentId: pageId from list-archive-records}. WARNING: slug IS the archive address — changing it moves /books/, its pagination and its feed, and the old URL stops answering. Rules: get-skill-doc {id:"seo-contract"} — read it before the first call.

Inputs: postType (required), slug, title.

fabrement-set-content-statusSet content statusA
Destructive
Inspect

Change a page/post/custom record's status — everything reversible: "publish", "draft" (unpublish), "trash" (recoverable), "restore" (out of the trash, with the status and address it had before; find trashed records with list-content {status:"trash"}). Records are created and edited as drafts with save-content; deleting for good is delete-content. ASK THE USER FIRST, IN THE SAME TURN, for "publish" and for "trash", and wait for the answer — naming the record and what will happen to it. PUBLISH puts the page in front of everyone and in front of search engines at once, and a crawled URL is not un-crawled by reverting the status; TRASH takes a live page off the site, so every link and every menu entry pointing at it breaks while it sits there. Neither is yours to decide. "Finish this page" is not consent to publish it; preview {target:"content"} shows a draft at its real address without making it public, which is what verifying looks like. Rules: get-skill-doc {id:"content-contract"} — read it before the first call.

Inputs: contentId (required), status. Returns: url, title, status, changed, +2 more

fabrement-set-default-templateSet default templateAInspect

Make a template the DEFAULT frame for one post type (one default per type — replaces the previous one; 0 clears). This is the one call for a whole-site header/footer; assign-template-pages is for per-page exceptions. postType "404" = the frame of every not-found address (its body: a contentSource rule with context "404", else the notFoundPage). Rules: get-skill-doc {id:"template-contract"} — read it before the first call.

Inputs: templateId (required), postType. Returns: note, postType, defaultFor, templateId

fabrement-set-field-valuesSet field valuesA
Idempotent
Inspect

Fill the Fabrement fields of one record (post, page or CPT item) or of an options page. Keys of "values" are field names from get-fields; fields you do not send stay as they are; null clears a field back to its default. Every value is checked first (type, choices, dates YYYY-MM-DD / date-times YYYY-MM-DDTHH:MM in the site's time zone, no offset, number bounds, allowed post types, existing media/records, safe link addresses, required) and one bad value rejects the whole call, with the path of the value to fix. Value shapes: text/textarea/wysiwyg/date → string; select → the choice's value (not its label); number → number; true_false → boolean; icon → {key: one of its choices, e.g. "social/facebook", media: {} or {id: an uploaded image}}; image/file/post_object → attachment or post ID (0 = none); relationship → list of post IDs, gallery → list of image IDs (both ordered, at most 50); link → {url, label?, newTab?} or {postId, label? | useRecordTitle: true} (send label or useRecordTitle:true, or the link shows no words); group → {subName: value}; repeater → the COMPLETE list of rows [{_row?, subName: value}]. Keep the "_row" that get-field-values gives each existing row: it is the row's identity. A row without "_row" is new while other rows carry one; with no "_row" at all rows are matched by position. A stored row you leave out is deleted. When something changed, a record is saved as with its Update button (modified date, SEO, caches). No conflict check: the last save wins. Rules: get-skill-doc {id:"fields-contract"} — read it before the first call.

Inputs: values (required), postId, options, valuesToken.

fabrement-set-post-termsSet post termsAInspect

Classify one record: attach EXISTING terms (id|slug|name; create-term first) of ONE taxonomy. mode is REQUIRED and has no default: replace (the terms become exactly terms, anything else is dropped; [] clears) · add (these are added, the rest stay) · remove (these come off, the rest stay). The taxonomy must be attached to that post type. primary (Yoast SEO, hierarchical taxonomies) picks the main one among the terms of the record — the one its breadcrumbs and category URL use; 0 clears it. Rules: get-skill-doc {id:"content-contract"} — read it before the first call.

Inputs: mode (required), terms (required), taxonomy (required), contentId (required), +1 more. Returns: mode, terms, primary, taxonomy, +1 more

fabrement-set-post-type-starter-blocksSet post type starter blocksAInspect

Set the blocks a NEW record of a post type opens with in the editor (the editor template), with an optional lock. Affects records created after this call only; an empty list removes it. Names are registered block names from list-blocks or core ones like "core/heading". Rules: get-skill-doc {id:"content-model-contract"} — read it before the first call.

Inputs: blocks (required), postType (required), lock. Returns: lock, blocks, postType

fabrement-set-schemaSet structured data (schema.org)AInspect

Attach schema.org JSON-LD nodes to ONE record {contentId, graph} or to EVERY record of a post type {postType, graph}. The node type is not an argument: it goes INSIDE graph, a list of nodes without @context — graph: [{"@type": "Event", "name": "{{title}}", …}]. Pieces of a post-type graph are a template with {{url}}, {{site_url}}, {{title}}, {{excerpt}}, {{featured_image}}, {{date_published}}, {{date_modified}} (Yoast's own values for the page), {{field:}} (a Fabrement field as the page shows it: default applied, image → URL, date-time → ISO with offset; group.sub, .label, .date, .title/.url/.fields. of a picked record), {{option:.}}, {{meta:}} (other plugins' fields), {{term:}} (a public one)… Unknown fields are refused; a protected meta key (leading "_") too; on a password-protected record excerpt, fields, meta and terms resolve empty. graph: [] removes them. The @id of a Yoast node (the page URL, #organization…) is refused: nodes are added to Yoast's graph, never swapped for its own. Refused when Yoast is not active. Returns the resolved preview and warnings — read both, then verify on the live page source. Rules: get-skill-doc {id:"seo-contract"} — read it before the first call.

Inputs: graph (required), postType, contentId. Returns: note, scope, pieces, preview, +3 more

fabrement-set-seoSet SEO for a recordAInspect

Set the Yoast fields of ONE record (contentId), ONE term archive (termId — a category, tag or term of a custom taxonomy) or ONE post-type archive (archive: the post type, e.g. "book" for /books/): title, metaDesc, focusKeyword, canonical, noindex/nofollow, robotsAdvanced, schemaPageType/ArticleType, og*/twitter*. A term takes title, metaDesc, focusKeyword, canonical, noindex, breadcrumbTitle, cornerstone, og*/twitter* only. Send only what changes; "" or null clears a field. Refused when Yoast is not active. Custom schema nodes go through set-schema. Verify with get-seo {contentId} / {termId} / {archive}. Rules: get-skill-doc {id:"seo-contract"} — read it before the first call.

Inputs: title, termId, archive, noindex, +16 more. Returns: note, stored, termId, archive, +4 more

fabrement-set-seo-defaultsSet SEO defaultsAInspect

Set Yoast DEFAULTS for exactly one scope — a postType (title/metaDesc templates, noindex, schema types; its ARCHIVE is set-seo {archive}), a taxonomy, or site:true (separator, website name, the knowledge graph: companyOrPerson/companyName/companyLogoId, facebookUrl/twitterUsername/socialProfiles, defaultOgImageId, home templates). Templates use Yoast variables (%%title%%, %%sitename%%, %%sep%%, %%fab_%% — a Fabrement field as a reader sees it, %%cf_%% — another plugin's raw field…); an unknown or empty variable is REMOVED from the output. Refused when Yoast is not active. Rules: get-skill-doc {id:"seo-contract"} — read it before the first call.

Inputs: site, noindex, postType, taxonomy, +20 more. Returns: slug, scope, written, defaults, +1 more

fabrement-submit-versionSubmit versionAInspect

Submit a new version of a block: the backend builds block.json from the shorthand attributes, validates (PHP syntax, security, policy, esbuild) and on success writes the files to the site — then VERIFY with preview {target:"block", id: blockId}. On failure nothing is saved; fix what violations[] names and resubmit. A NEW block needs every field. An existing block takes only what changes: omitted fields keep the current version, and a file can be changed with edits (fragment replacements) instead of re-sent — pass expectedHash from get-block-source. summary is always required, and so is mode: "add" (a NEW version, the current one stays in history) or "replace" (replaces the current version in place, nothing left to roll back to). Rules: get-skill-doc {id:"block-contract"} for a content block; a header follows {id:"header-contract"}, a footer {id:"footer-contract"} — read the one for the block's type before the first call.

Inputs: mode (required), blockId (required), summary (required), tags, +11 more. Returns: ok, notice, buildOk, warnings, +4 more

fabrement-update-cf7-formUpdate Contact Form 7 formAInspect

Update a Contact Form 7 form — send only what changes. template REPLACES the form body whole and re-derives the mail from the tags in it, so edit the markup get-cf7-form returns rather than sending a fragment: what you leave out is gone. messages patches only the keys sent ("" resets one to the default). get-cf7-form first. Rules: get-skill-doc {id:"forms-contract"} — read it before the first call.

Inputs: formId (required), title, subject, messages, +2 more. Returns: form

fabrement-update-menuUpdate menuAInspect

Rename a menu and/or REPLACE its items with the FULL new tree (omit items to keep them). Read the current tree with list-menus, edit, send the whole tree. Rules: get-skill-doc {id:"site-assets-contract"} — read it before the first call.

Inputs: menuId (required), name, items. Returns: menu

fabrement-update-post-typeUpdate post typeAInspect

Update a custom post type Fabrement created — send only what changes; the slug identifies it and cannot change (delete + create to rename). Takes effect immediately. Rules: get-skill-doc {id:"content-model-contract"} — read it before the first call.

Inputs: slug (required), plural, public, rewrite, +8 more. Returns: postType

fabrement-update-site-settingsUpdate site settingsAInspect

Site-level settings a build needs — siteTitle, tagline, frontPage (the HOME page id; the step every homepage build ends with), postsPage, notFoundPage (the page shown for missing addresses), permalinkStructure, siteIcon (favicon attachment id). Send only what changes; to read them, use get-site-settings. Nothing else is settable here by design. Rules: get-skill-doc {id:"site-settings-contract"} — read it before the first call.

Inputs: tagline, siteIcon, frontPage, postsPage, +3 more. Returns: changed, settings, warnings

fabrement-update-taxonomyUpdate taxonomyAInspect

Update a taxonomy Fabrement created — send only what changes; postTypes is the FULL set (replaces). Existing terms stay where they are. The slug and hierarchical cannot change: the slug is the identifier every term row points at, and it is invisible to visitors anyway — what they see is rewrite (the URL) and singular/plural (the name), both editable here. Rules: get-skill-doc {id:"content-model-contract"} — read it before the first call.

Inputs: slug (required), plural, public, rewrite, +4 more. Returns: taxonomy

fabrement-update-termUpdate termAInspect

Rename a term, change its slug/description or move it under another parent (0 = top level); posts keep their assignment. A slug or parent change moves the archive URL — the response note says what moved. Rules: get-skill-doc {id:"content-model-contract"} — read it before the first call.

Inputs: term (required), taxonomy (required), name, slug, +2 more. Returns: url, name, note, slug, +4 more

fabrement-upload-mediaUpload mediaAInspect

Upload one file into the media library from EXACTLY ONE source — sourceUrl (preferred), filePath (on the WordPress machine) or base64 (≤512 KB) — and get {id, url, …} for a block's media attribute. altText is REQUIRED for images. list-media first: it may already exist. Rules: get-skill-doc {id:"site-assets-contract"} — read it before the first call.

Inputs: title, base64, altText, filePath, +2 more. Returns: id, url, width, height, +3 more

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    Related MCP Servers

    Try in Browser

    Glama MCP Gateway

    Add one secure layer between your agents and this server.

    Resources