reorder_node
Change a Figma node's stacking order within its parent using relative actions or an absolute index (0 = bottom) to control overlap and layer position.
Instructions
Change a node's Z-order within its parent. Use action for relative moves or index for an absolute position (0 = bottom of stack).
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 |
|---|---|---|---|
| index | No | Absolute stack index (0 = bottom). Overrides action if both provided. | |
| action | No | Relative reorder action | |
| nodeId | Yes | Figma node ID |