Reorder child elements
elementor_reorder_childrenSet the order of a container's direct children by listing their element IDs; omitted IDs keep their relative order at the end, so you can move one item to the front without listing everything.
Instructions
Set the order of a container's direct children by listing their ids. Ids you leave out keep their relative order at the end, so you can move one item to the front without listing everything.
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>",
"order": "<order>"
},
"name": "elementor_reorder_children"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| site | No | Configured site name. Omit to use the default site. | |
| order | Yes | Child element ids in their new order. | |
| postId | Yes | WordPress post ID of the Elementor page, post or template. | |
| elementId | Yes | Elementor element id, as returned by elementor_get_outline. |