Reorder Layer
ps_reorder_layerMove a layer to any position in the layer stack. Use absolute positioning (top/bottom) or relative moves (up/down), with optional target layer for precise placement.
Instructions
Moves a layer to a new position in the layer stack. Use "top"/"bottom" for absolute positioning, or "up"/"down" for relative moves. Optionally specify a targetLayer for relative placement.
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": {
"position": "<position>"
},
"name": "ps_reorder_layer"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| layerName | No | Layer to move — defaults to the active layer | |
| position | Yes | Where to move the layer in the stack | |
| targetLayer | No | Reference layer name for relative positioning |