trim_clip
Adjust a timeline clip's source in/out points or timeline start/end boundaries with frame accuracy, then verify the resulting duration.
Instructions
Trim a timeline clip's source inPoint/outPoint or timeline start/end boundaries with frame accuracy, and verify the resulting clip duration.
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_clip"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| clip_name | No | Clip name. | |
| clip_index | No | 0-based clip index. | |
| track_type | No | Track type ('video' or 'audio'). | |
| track_index | No | 0-based track index. | |
| clip_node_id | No | Timeline clip nodeId. | |
| in_point_seconds | No | Optional new source In point in seconds. | |
| out_point_seconds | No | Optional new source Out point in seconds. | |
| timeline_end_seconds | No | Optional new timeline End point in seconds. |