reorder_layer
Move a layer to a specified position in the layer stack of an Aseprite file. Adjust order by providing a 1-based target index.
Instructions
Move a layer to a new position in the layer stack.
Args: filename: Aseprite file to modify layer_name: Layer to move position: Target stack position, 1-based where 1 is the 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": {
"filename": "<filename>",
"layer_name": "<layer_name>",
"position": "<position>"
},
"name": "reorder_layer"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filename | Yes | ||
| layer_name | Yes | ||
| position | Yes |