move_layer
Reorder a named layer in an Aseprite document by moving it to a specified stack index, controlling layer order for pixel art composition.
Instructions
Reorders a layer position in the layer stack.
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>",
"targetIndex": "<targetIndex>"
},
"name": "move_layer"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Layer name to move | |
| targetIndex | Yes | Destination stack index |