trim_clip
Adjust a clip's source in and out points on a timeline track by setting trim durations in seconds, modifying its head or tail.
Instructions
Change a timeline clip's source in/out points (trim its head/tail), in seconds of source media time.
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": {
"trackIndex": "<trackIndex>",
"clipIndex": "<clipIndex>",
"trackType": "<trackType>"
},
"name": "trim_clip"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| clipIndex | Yes | ||
| inSeconds | No | ||
| trackType | Yes | Which track type to target | |
| outSeconds | No | ||
| trackIndex | Yes | ||
| sequenceName | No |