mcp-easy-ai__wp_get_page_layout
Reads the layout of a post, page, template or UX Block built with a page builder (Elementor, WPBakery or Flatsome UX Builder) from the builder's own stored data, which post tools do not show. Detects the builder per item. Required: post_id. Optional: element (an address from a previous read; returns that element with its settings), depth (levels to expand, default 4, max 12), include_settings (each element's stored settings; default false). Returns { post_id, builder, builder_version, version, editable, element_count, elements: [{ address, type, label, text (excerpt), image, link, flags, children_count, children | has_children }] }; editable says whether wp_update_page_layout can change the item (edit_note says why not), and version is what that edit sends. Addresses are Elementor element ids, or dot-joined zero-based paths for shortcode builders. Flag atomic marks Elementor V4 elements, which Elementor's own abilities edit (see vendor_route); code marks elements that run HTML or script. … Through Royally: its server marks it read-only, so it runs straight away.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| depth | No | How many levels to expand (1 = root elements only). Default 4, max 12. | |
| element | No | Address of one element, as a previous read returned it (an Elementor id such as "a1b2c3d", or a path such as "0.1.2"). Returns that element with its settings and its children. | |
| post_id | Yes | ID of the post, page, template or UX Block. | |
| site_id | No | Site to run this tool on: 8ef2e52b-bd07-4671-a363-ebe8b480b65c (https://demo.royalplugins.com) | |
| include_settings | No | Include each element's stored settings or attributes. Default false (an element read with `element` always has them). |