get_selection
Retrieves the active composition, selected timeline layers, and project panel selection so you know what the user has selected before making changes. Call before mutations.
Instructions
Returns active comp, currently selected timeline layers, and project panel selection. Cheap — call before mutations to know what user has selected.
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 |
|---|---|---|---|
| instance | No | Target a specific AE when more than one is connected (e.g. "2026", "2025", or a major like "26"). Omit when only one AE is open — see list_instances. |