merge_videos
Concatenate two or more video files into one, preserving order and auto-scaling clips to match differing resolutions or codecs.
Instructions
Concatenate two or more video files into one, in the given order. Clips are auto-scaled to match so different resolutions/codecs can be joined.
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_paths": "<input_paths>",
"output_path": "<output_path>"
},
"name": "merge_videos"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| input_paths | Yes | Ordered list of video paths to join. Relative paths resolve against MEDIA_DIR (defaults to the server's working directory); absolute paths are used as-is. | |
| output_path | Yes | Destination path for the merged video. Relative paths resolve against MEDIA_DIR (defaults to the server's working directory); absolute paths are used as-is. |