bricks_move_element
Reposition a Bricks Builder element to a new parent or adjust its order within the parent's children array.
Instructions
Move an element to a different parent or position within parent's children array.
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": {
"post_id": "<post_id>",
"element_id": "<element_id>",
"new_parent_id": "<new_parent_id>"
},
"name": "bricks_move_element"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| site | No | Site key for multi-site support. Available: main. Defaults to "main". | |
| post_id | Yes | The page/post ID | |
| post_type | No | Post type slug. Use "pages" for pages, "posts" for posts, or any registered CPT slug (e.g., "product", "portfolio"). Defaults to "pages". | |
| element_id | Yes | The element ID to move | |
| new_parent_id | Yes | The new parent element ID or 0 for root | |
| position | No | Position index in new parent's children (optional, defaults to end) |