trim_clip
Adjusts a timeline clip's in and out points to shorten it, using a clip ID plus optional in, out, or duration values.
Instructions
Adjusts the in and out points of a clip on the timeline, effectively shortening it.
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": {
"clipId": "<clipId>"
},
"name": "trim_clip"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| clipId | Yes | The ID of the clip on the timeline to trim | |
| inPoint | No | The new in point in seconds from the start of the clip | |
| duration | No | Alternative: set the desired timeline duration in seconds; cannot be combined with outPoint | |
| outPoint | No | The new out point in seconds from the start of the clip; cannot be combined with duration |