reorder_layer
Move a layer to a new position in the layer list by name, using an absolute index or placement before or after another layer.
Instructions
Reorder a layer by name.
Provide exactly one of:
index: absolute target index
before: move before this layer name
after: move after this layer name
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": {
"name": "<name>"
},
"name": "reorder_layer"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| index | No | ||
| before | No | ||
| after | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||