design_reorder_layers
Move a design layer to a new position in the z-order stack by specifying its layer ID and target index.
Instructions
Move a design layer to a new position in the z-order 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": {
"layerId": "<layerId>",
"newIndex": "<newIndex>"
},
"name": "design_reorder_layers"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| layerId | Yes | ID of the layer to move | |
| newIndex | Yes | New position (0 = bottom, n-1 = top) | |
| sketchId | No | Target sketch ID (default: selected sketch) |