wp_elementor_list_pages
Lists WordPress pages and whether each has Elementor data. Optional text_search finds literal case-insensitive substrings in stored Elementor string settings (including nested/repeater settings), not rendered pages or dynamic output. Search defaults to public post types plus shared Elementor templates; post_type narrows the scope. Returns matching element IDs, setting paths and excerpts. offset/per_page paginate candidate posts, not matches: follow next_offset until null even when pages is empty. Use existing element-update tools to edit matches.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"site_id": "<site_id>"
},
"name": "wp_elementor_list_pages"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| offset | No | ||
| site_id | Yes | The connected site's id returned by list_sites. Call list_sites first; do not use a URL or WordPress post ID. | |
| per_page | No | ||
| post_type | No | Defaults to page without search, or all public post types plus elementor_library with search. Use elementor_library for shared templates, or any for the full search scope. | |
| text_search | No | Literal substring to find in Elementor string settings. Does not search theme mods or post content. | |
| include_context | No | Requires text_search. Example: text_search="Book Demo", include_context=true. Adds element_contexts with immediate parent, sibling position, nearest layout ancestor and narrow stored style overrides, NOT computed styles. Global style references are not resolved. |