rotate_layer
Rotate a layer's cel in an Aseprite file by 90, 180, or 270 degrees clockwise. Specify the file, layer, and frame to apply the rotation.
Instructions
Rotate a layer cel 90, 180, or 270 degrees clockwise.
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>",
"frame_index": "<frame_index>"
},
"name": "rotate_layer"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| angle | No | ||
| filename | Yes | ||
| layer_name | Yes | ||
| frame_index | Yes |