split_video
Split a video into equal-duration parts without re-encoding. Outputs lossless segments named with _part_NNN suffix.
Instructions
Split a video into equal-duration segments. Segments are created without re-encoding (lossless). Output files are named with a _part_NNN suffix.
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": {
"file_path": "<file_path>",
"segment_duration": "<segment_duration>"
},
"name": "split_video"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_path | Yes | Absolute path to the input video file | |
| output_dir | No | Directory to write segments to. Defaults to same directory as input file. | |
| output_format | No | Output format for segments: mp4, mkv, webm, avi, or mov. Defaults to same format as input. | |
| segment_duration | Yes | Duration of each segment in seconds (e.g. 60 for one-minute segments) |