ae_trimLayer
Set an After Effects layer’s inPoint, outPoint, or duration and optionally slide it by adjusting startTime, using layer name or index and the active or named comp.
Instructions
After Effects: set a layer inPoint/outPoint (or duration) and/or startTime (slides the layer).
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": "ae_trimLayer"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| layer | Yes | Layer name or 1-based index. | |
| inPoint | No | ||
| duration | No | ||
| outPoint | No | ||
| startTime | No | ||
| compositionName | No | Comp name; omit to use the active comp. |