Delete Element
elementor_delete_elementDeletes an Elementor page element and all child elements, returning the parent container ID. Use for irreversible removal of unwanted elements from a WordPress page.
Instructions
Delete an element and all its children from a page. This is destructive and cannot be undone. Returns the parent container ID.
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>",
"elementId": "<elementId>"
},
"name": "elementor_delete_element"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| postId | Yes | WordPress post/page ID | |
| elementId | Yes | Element ID to delete |