Search Elements
elementor_find_elementsSearch a WordPress page's Elementor elements by widget type, CSS class, element ID, or content text; combine filters with AND logic to locate specific widgets.
Instructions
Search for elements within a page by widget type, CSS class, element ID, or content text. All filters are combined with AND logic.
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": {
"postId": "<postId>"
},
"name": "elementor_find_elements"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| postId | Yes | WordPress post/page ID | |
| cssClass | No | Filter by CSS class name (partial match) | |
| elementId | No | Filter by custom element ID (_element_id setting) | |
| widgetType | No | Filter by widget type (e.g. heading, html, image, text-editor, video, form) | |
| contentText | No | Search in element content text (case-insensitive, searches title/html/editor/custom_css) |