siteorigin-panelsSiteOrigin Page Builder Abilities
Page building integration. Visual layout of pages and posts through a builder.
edit_posts 2Available Tools (2)
siteorigin_get_page_outlineedit_postsRead the structural outline of a SiteOrigin Page Builder layout without rendering it. Returns the row / cell / widget hierarchy as a nested tree with widget classes, index addresses (row, cell, widget_index - use them with siteorigin_get_widget), and short text snippets from text-bearing widgets. Reads both storage paths: the classic panels_data meta layout and any Layout Blocks, each labelled with its storage and block_index. Read-only; requires edit_posts generally and read_post on the target.
Parameter Schema2 parameters
{
"type": "object",
"properties": {
"post_id": {
"type": "integer",
"description": "Post or page ID to inspect."
},
"depth": {
"type": "integer",
"description": "Maximum outline nesting depth. Default 4, max 10."
}
},
"required": [
"post_id"
]
}siteorigin_get_widgetedit_postsRead one SiteOrigin Page Builder widget by its index address (row, cell, widget_index) from siteorigin_get_page_outline. Choose which layout to address with storage ("meta" for the classic layout, "block" plus block_index for a Layout Block). Returns the widget class, its raw settings, and its index address. An address that no longer exists returns found=false. Read-only; requires edit_posts generally and read_post on the target.
Parameter Schema6 parameters
{
"type": "object",
"properties": {
"post_id": {
"type": "integer",
"description": "Post or page ID to inspect."
},
"row": {
"type": "integer",
"description": "Row (grid) index within the layout."
},
"cell": {
"type": "integer",
"description": "Cell index within the row."
},
"widget_index": {
"type": "integer",
"description": "Widget index within the cell."
},
"storage": {
"type": "string",
"enum": [
"meta",
"block"
],
"description": "Which layout to address. Default meta (the classic panels_data layout)."
},
"block_index": {
"type": "integer",
"description": "For storage=block, the 0-based Layout Block index from siteorigin_get_page_outline. Default 0."
}
},
"required": [
"post_id",
"row",
"cell",
"widget_index"
]
}