clip
Extract a video segment between specified start and end times, optionally as GIF, from a file or the currently playing media. Requires ffmpeg in PATH.
Instructions
Extract a video clip segment, optionally as GIF. Requires ffmpeg in PATH.
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": {
"start": "<start>",
"end": "<end>"
},
"name": "clip"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| end | Yes | End time in seconds | |
| gif | No | Export as GIF instead of MP4 | |
| file | No | Input file path (uses currently playing file if omitted) | |
| start | Yes | Start time in seconds | |
| output | No | Output file path (auto-generated if omitted) |