reorder_node
Reorder a Figma node's position in the layer stack within its parent. Move to front, back, forward, or backward, or set a specific index. No reparenting.
Instructions
Change the z-order (layer order) of a node within its parent. Distinct from insert_child which re-parents a node — reorder_node changes position within the same parent.
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": {
"nodeId": "<nodeId>"
},
"name": "reorder_node"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| nodeId | Yes | The ID of the node to reorder | |
| position | No | Move to front/back or one step forward/backward | |
| index | No | Direct index position within parent's children (0 = bottom). Overrides position if both provided. |