Read Beaver Builder Layout


Returns a page's Beaver Builder layout as a tree of rows, column groups, columns and modules in the order they appear, with each node's ID, type, label and a short text summary of each module. Read-only. Beaver Builder keeps a draft (what its editor shows) and a published layout (what visitors see); choose with layout. Pass node_id to get one row or module with every content and style setting it holds, in the exact shape the update abilities accept. Returns layout_hash: pass it to a following edit so it is refused if someone changed the page in between.

Also known as: page builder layout, page structure, rows and modules, what is on this Beaver Builder page.

Property Value
Ability slug mosmcp/beaver-read-layout
Wire tool name mosmcp__beaver-read-layout
Category Beaver Builder (mosmcp-beaver-builder)
Plan Pro

 

Required access

Requirement Value
Capability edit_posts
Minimum default role Contributor
Annotations readOnly: true · destructive: false · idempotent: true · openWorld: false

 

Input schema

Field Type Required Default Description
post_id integer (min 1) Yes — The ID of the page or post built with Beaver Builder.
layout string (one of draft, published) draft "draft" (default; falls back to the published layout when there is no separate draft) or "published" (what visitors see).
node_id string — Optional. Only this node and what is inside it, with full content and style settings for its modules.

 

Output schema

Field Type Required Description
post_id integer Yes
title string
layout string Yes
builder_on boolean Whether Beaver Builder renders this page (otherwise visitors see its normal content).
has_unpublished_changes boolean
layout_hash string Yes Pass as expected_hash to an edit.
counts object
counts.rows integer
counts.columns integer
counts.modules integer
node_count integer
returned integer
nodes object[] Yes Nodes in page order, depth first; parent_id and depth give the tree.
nodes[].node_id string Yes
nodes[].parent_id string | null
nodes[].type string Yes row, column-group, column or module.
nodes[].depth integer Yes
nodes[].position integer
nodes[].child_count integer
nodes[].label string
nodes[].global boolean Part of a global saved template; edit the template in Beaver Builder instead.
nodes[].width number
nodes[].module_type string
nodes[].module_name string
nodes[].text string Plain-text summary of the module's content, trimmed.
nodes[].content object Content fields and values (only when node_id was given).
nodes[].style object Style settings and values (only when node_id was given).
edit_url string
view_url string
notes string[]

 


<< Previous Next >>
List Beaver Builder Saved Templates Update Beaver Builder Module Content

For more information about the Secure MCP Server for WordPress plugin, explore the following resources:

Product Overview | Pricing | Try for Free | Documentation

If you have any questions regarding plugin configuration, pricing plans or licensing, please contact us or mail us at aisupport@xecurify.com.