layer_reorder
Adjust a layer’s stacking order in the visual z-index stack to bring it to the front, send it to the back, or move it forward or backward.
Instructions
Reorders a layer in the visual z-index stack ("bring_to_front", "send_to_back", "bring_forward", "send_backward").
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>",
"action": "<action>"
},
"name": "layer_reorder"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | ||
| layerId | Yes | Layer ID |