video_trim
Cut a video by selecting start and duration, trimming on keyframe boundaries to avoid re-encoding and preserve quality.
Instructions
Trim a video without re-encoding (fast, lossless cut on keyframe boundaries).
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": {
"video_path": "<video_path>",
"start": "<start>",
"duration": "<duration>"
},
"name": "video_trim"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| start | Yes | ||
| duration | Yes | ||
| video_path | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |