list_layers
Retrieves a complete Aseprite layer tree, including nested group layers, stack order, visibility, and opacity, so you can inspect or edit every layer in a sprite.
Instructions
The full layer tree, top of stack first: name, path, kind
(image/group/tilemap), visibility, and opacity — including layers nested
in groups (which get_sprite_info lists only at the top level).
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "list_layers"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | No |