Select layers
select_layersSelect layers in an After Effects composition by name, index, or ID, and optionally deselect all others to isolate the layers needed for editing.
Instructions
Select layers in a composition (other layers are deselected unless deselectOthers=false).
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": "select_layers"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| comp | No | Composition name, 'Folder/Name' path, or item id. Omit to use the active composition. | |
| layers | No | Layers: array of layer refs, or 'selected' (default) or 'all'. | |
| deselectOthers | No | Default true. |