reorder_nodes
Rearrange nodes within their parent by specifying a target index. Detached nodes are skipped; returns success and affected count.
Instructions
Reorder nodes within their current parent by inserting each at index (0 = bottom of the z-order). Detached nodes are skipped. Returns { ok, affected }.
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": {
"nodeIds": "<nodeIds>",
"index": "<index>"
},
"name": "reorder_nodes"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| index | Yes | Target index within the parent | |
| nodeIds | Yes | Node ids to reorder |