Trim comp to work area
trim_comp_to_work_areaTrims a composition to its work area, moving layers and comp markers earlier so the work area start becomes time 0 while handling locked layers.
Instructions
Like Composition > Trim Comp to Work Area: the comp duration becomes the work area length and all layers (and comp markers) shift earlier so the work area start becomes time 0. Locked layers are handled.
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": "trim_comp_to_work_area"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| comp | No | Composition name, 'Folder/Name' path, or item id. Omit to use the active composition. | |
| shiftMarkers | No | Also shift comp markers (default true). |