ae_selectLayers
Select layers by name or index in After Effects, and deselect others, so menu commands that act on the current selection can run correctly. Optionally target a specific composition.
Instructions
After Effects: select layers (and deselect others) — needed before menu commands that act on the selection (ae_executeCommand).
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": {
"layers": "<layers>"
},
"name": "ae_selectLayers"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| layers | Yes | Layer names or 1-based indexes. | |
| properties | No | also select these property paths on the first layer | |
| compositionName | No | Comp name; omit to use the active comp. |