move_layer
Reorder a layer within the stack by specifying up, down, top, or bottom direction, so you can change draw order and layer organization in Aseprite.
Instructions
Reorder a layer in the stack. direction is up | down | top | bottom
(bottom = stack index 1).
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>",
"direction": "<direction>"
},
"name": "move_layer"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | No | ||
| name | Yes | ||
| direction | Yes |