beaver-builderBeaver Builder Abilities
Page building integration. Visual layout of pages and posts through a builder.
edit_posts 2Available Tools (2)
beaver_get_page_outlineedit_postsRead the structural outline of a Beaver Builder layout without rendering it. Returns the row / column-group / column / module hierarchy as a nested tree with stable node IDs (address them with beaver_get_node), module types, and short text snippets from text-bearing modules. Reads the published layout by default; pass status=draft to read the draft instead. Read-only; requires edit_posts generally and read_post on the target.
Parameter Schema3 parameters
{
"type": "object",
"properties": {
"post_id": {
"type": "integer",
"description": "Post or page ID to inspect."
},
"status": {
"type": "string",
"enum": [
"published",
"draft"
],
"description": "Which layout to read. Default published."
},
"depth": {
"type": "integer",
"description": "Maximum outline nesting depth. Default 6, max 20."
}
},
"required": [
"post_id"
]
}beaver_get_nodeedit_postsRead one Beaver Builder node (row, column-group, column, or module) by its stable node ID from beaver_get_page_outline. Returns the node type, module type for modules, depth, parent, position, and the raw settings object. A node ID that no longer exists returns found=false. Read-only; requires edit_posts generally and read_post on the target.
Parameter Schema3 parameters
{
"type": "object",
"properties": {
"post_id": {
"type": "integer",
"description": "Post or page ID to inspect."
},
"node_id": {
"type": "string",
"description": "Node ID from beaver_get_page_outline."
},
"status": {
"type": "string",
"enum": [
"published",
"draft"
],
"description": "Which layout to read. Default published."
}
},
"required": [
"post_id",
"node_id"
]
}