Trim to work area
trim_layers_to_work_areaTrim selected or specified layers' in/out points to the composition work area, using only their intersection. Layers fully outside the work area are skipped.
Instructions
Trim layers' in/out points to the comp work area (intersection). Layers fully outside the work area are skipped.
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_layers_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. | |
| layers | No | Layers: array of layer refs, or 'selected' (default) or 'all'. |