Get Data Structure Guide is a WordPress ability from Page Builder: Pagelayer – Drag and Drop website builder — usable via Easy MCP AI, which connects Claude, ChatGPT, and any AI assistant to your site.
Install Free Plugin →Get Data Structure Guide
Read-onlyDocumentation ability explaining the pagelayer_data node format, global color tokens, and the render-time gated-attribute rule.
Requires the Pagelayer plugin on WordPress 6.9+ (or another source of wp_register_ability()) for the Abilities API — registration is skipped entirely via a function_exists() guard when it isn't available, and ability categories similarly require wp_register_ability_category(). Most abilities require the 'edit_posts' capability; update-global-styles, create-menu, and delete-menu require 'manage_options'. search-images additionally needs a Pexels API key configured on the Pagelayer AI Agents settings page, and get-library-sections/import-library-section call Pagelayer's own hosted library API. Four near-duplicate abilities (get-widget, get-widgets-summary, edit-layout, navigator) are registered in source with mcp_public:false — fully callable over the REST Abilities API but intentionally left out of the advertised MCP tool list as duplicates of get-widget-schema, list-widgets, update-page, and get-page respectively — and are excluded from this listing.
What it does
Returns Pagelayer's own reference documentation for how to author layout data: the node/attrs/content JSON shape, the $-prefixed global style token syntax, hierarchy rules (rows need column children), responsive attribute suffixing, and the rule that a gated attribute (one with a "req" dependency) is silently discarded at render if its companion isn't also set explicitly. The default topic ("core") covers just what's needed to edit existing content; topic "quality"/"widgets"/"navigation"/"workflow"/"all" returns progressively more — the enforced content-quality gate, widget-choice guidance, header/menu rules, and the full build workflow respectively — since the full guide is too large to send on every call.
See it in action
You ask your AI assistant
"Explain the Pagelayer node data format and how gated attributes work before I build a page."
Inputs
| Name | Type | Required | Description |
|---|---|---|---|
| topic | string | No | core (default) | quality | widgets | navigation | workflow | all. |
Returns
An object whose shape depends on topic — by default description, fast_path_sections, node_format, styling_never_inline, hierarchy_rules, global_reference_syntax, dependent_attributes, responsive_properties, and a more_topics hint; other topic values return a narrower slice or the full documentation object.
Permission
Requires the 'edit_posts' capability.
More Page Builder: Pagelayer – Drag and Drop website builder abilities
Add Element
Insert a new element node into a page at a given parent container and index.
Begin Transaction
Snapshot a page's current layout and content as a backup before a multi-step editing sequence.
Change Element Styles
Batch-apply style property changes to page elements matched by ID, pagelayer-id, or widget tag.
Commit Transaction
Discard a page's transaction backup, finalizing the changes made since begin-transaction.
Create / Update Navigation Menu
Create a WordPress nav menu from a list of items (or rebuild an existing one of the same name), optionally with nested Mega Menu content, and assign it to a theme location.
Create Design UI Sections
Append new section nodes onto an existing page without touching what's already there.