reorder_layers
Move a layer to a new z-order position to change which layers appear on top in your ASCII art animation.
Instructions
Move a layer from one z-order position to another. Index 0 = bottom layer.
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": {
"fromIndex": "<fromIndex>",
"toIndex": "<toIndex>"
},
"name": "reorder_layers"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fromIndex | Yes | Current index of the layer | |
| toIndex | Yes | Target index to move to |