Apply many element edits at once
elementor_batch_editApply multiple Elementor page edits as one atomic change: insert, update, move, duplicate, delete, reorder, or wrap elements in order; if one fails, nothing is saved.
Instructions
Run a list of element operations against a page as one atomic change: insert, update, move, duplicate, delete, reorder and wrap. Operations apply in order, each seeing the result of the last. If any one fails the whole batch is abandoned and nothing is written. Prefer this over a series of single-element calls when building or restructuring a section — it is one read and one write instead of many, and it cannot leave the page half-changed.
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>",
"operations": "<operations>"
},
"name": "elementor_batch_edit"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| site | No | Configured site name. Omit to use the default site. | |
| label | No | Snapshot label describing this change. | |
| postId | Yes | WordPress post ID of the Elementor page, post or template. | |
| operations | Yes | Operations in order. Each is an object with "op" and its arguments: {"op":"insert","node":{...},"targetId":"abc","position":"append"}, {"op":"update","targetId":"abc","settings":{...},"mode":"merge"}, {"op":"move","targetId":"abc","referenceId":"def","position":"after"}, {"op":"duplicate","targetId":"abc"}, {"op":"delete","targetId":"abc"}, {"op":"reorder","targetId":"abc","order":["x","y"]}, {"op":"wrap","targetId":"abc","wrapper":{...}}. |