Layer details
get_layer_infoFetches complete details for an After Effects layer—switches, timing, parent, transforms with keyframes/expressions, effects, masks, source item, and bounds—at a chosen time.
Instructions
Everything about one layer: switches, timing, parent, blending/matte, transform values at a time (with keyframe counts and expressions), effect and mask names, source item, quality, content rectangle (sourceRect) and comp-space bounds (2D layers).
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": {
"layer": "<layer>"
},
"name": "get_layer_info"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| comp | No | Composition name, 'Folder/Name' path, or item id. Omit to use the active composition. | |
| time | No | Time at which values/bounds are read (default current comp time). | |
| layer | Yes | Layer: 1-based index, layer name, or {id}/{index}/{name}. 'selected' = first selected layer. | |
| allTransform | No | Include unmodified transform properties too (orientation, X/Y rotation...). |