wp_elementor_remove_element
Remove Elementor widgets, sections, or containers by element ID. Confirm when safe mode is on to complete removal.
Instructions
Remove a widget, section, or container by element ID. confirm:true required when safe mode is on.
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": {
"page_id": "<page_id>",
"element_id": "<element_id>"
},
"name": "wp_elementor_remove_element"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| confirm | No | ||
| page_id | Yes | ||
| element_id | Yes |