Trim video
trim_videoCut a segment from a video by start time and duration, saving it as a new MP4 while keeping the original file unchanged.
Instructions
Cut a segment from a video in ~/Videos and save a new MP4. Start and duration are seconds; original is 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": {
"input": "<input>",
"output": "<output>",
"start_seconds": "<start_seconds>",
"duration_seconds": "<duration_seconds>"
},
"name": "trim_video"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| input | Yes | ||
| output | Yes | ||
| quality | No | medium | |
| start_seconds | Yes | ||
| duration_seconds | Yes |