get-layer-clip-frames
Retrieve a layer's clip start/end frames, source frame range, and duration in frames using a composition index and layer name or index in After Effects.
Instructions
Get a layer's clip start/end frames, source frame range, and duration in frames.
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": {
"compIndex": "<compIndex>"
},
"name": "get-layer-clip-frames"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| compIndex | Yes | 1-based composition index. | |
| layerName | No | Target layer name if not using layerIndex. | |
| layerIndex | No | Target layer index. |