List layers
list_layersLists composition layers with compact fields and optional filters by type, name, selection, or enabled state; use detail mode to return full layer properties.
Instructions
List the layers of a composition (compact: index, id, name, type, enabled, locked, in/out, parent index, label). Filter by type, name substring, selection or enabled state. detail=true returns the full layer description per layer.
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 |
|---|---|---|---|
| comp | No | Composition name, 'Folder/Name' path, or item id. Omit to use the active composition. | |
| name | No | Case-insensitive substring of the layer name. | |
| type | No | Only these layer types. | |
| limit | No | Max layers returned (default 500). | |
| detail | No | Full description per layer (transform, blending, matte, source...). | |
| enabledOnly | No | Only layers with the video (eye) switch on. | |
| selectedOnly | No | Only selected layers. |