timeline_trim_clip
Adjust a clip's in and out trim handles on the timeline to set new start and end points, while leaving the crop filter untouched.
Instructions
Adjust the in/out trim handles of a timeline clip (not the crop filter).
Args: track_id: Track containing the clip. clip_index: 0-based index of the clip within the track. in_point: New trim-in in seconds. None = leave unchanged. out_point: New trim-out in seconds. None = leave unchanged.
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": {
"track_id": "<track_id>",
"clip_index": "<clip_index>"
},
"name": "timeline_trim_clip"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| in_point | No | ||
| track_id | Yes | ||
| out_point | No | ||
| clip_index | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||