wp_elementor_update_page
Replace a WordPress page's Elementor content by sending the full element tree as JSON, defining sections, columns, and widgets to update the page layout.
Instructions
Update the Elementor data for a page/post. Send the full element tree as JSON. The structure follows Elementor's hierarchy: sections (elType: "section") contain columns (elType: "column") which contain widgets (elType: "widget", widgetType: "heading"|"text-editor"|"image"|etc.). Each element has an "id" (8-char hex), "settings" object, and "elements" array for children. Always read the page first with wp_elementor_get_page to understand the current structure.
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": {
"id": "<id>",
"elements": "<elements>"
},
"name": "wp_elementor_update_page"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | The WordPress post/page ID | |
| elements | Yes | The full Elementor element tree (array of sections) | |
| page_settings | No | Optional page-level settings (layout, background, etc.) |