List layers
cavalry_list_layersRetrieve a structured list of layers in the active composition, including id, name, type, and parent, with optional filters by layer type or top-level status.
Instructions
List layers in the active composition with their id, name, type and parent.
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": "cavalry_list_layers"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | No | Only return layers of this type, e.g. "basicShape", "textShape", "group". | |
| topLevel | No | Only return top-level layers. Defaults to false. |