Get selection
get_selectionRetrieve the current After Effects selection—active project item, composition, selected layers, properties, keyframes, and project items—for read-only inspection or automation.
Instructions
What is selected right now: active project item, the comp (given or active), its selected layers, selected properties (path + layer) with their selected keyframes (index + time in seconds), and selected project items. Read-only.
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": "get_selection"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| comp | No | Composition name, 'Folder/Name' path, or item id. Omit to use the active composition. | |
| limit | No | Max selected properties to list (default 100). | |
| detail | No | Full layer descriptions and property values instead of brief refs (default false). |