trim_clip
Trim a clip by setting a new timeline start or end. Trimming the start cuts the clip's head while keeping media in sync, so you can adjust in and out points precisely.
Instructions
Trim a clip by setting a new timeline start and/or end. Start trims the head (media stays in sync).
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 |
|---|---|---|---|
| id | No | Stable clip id from sequence_state (preferred; survives other edits) | |
| end | No | New end on the timeline (seconds) | |
| clip | No | Clip index on that track (shifts after edits; prefer id) | |
| kind | No | Track type | video |
| start | No | New start on the timeline (seconds) | |
| track | No | Track index, 0 = V1/A1 | |
| linked | No | Also apply to the linked audio/video partner (same source, same start/end) | |
| sequence | No | Sequence name or ID. Defaults to the active sequence. |