Concatenate clips
concatJoin multiple video or audio clips end-to-end into a single file. Use copy mode for same-codec inputs (lossless) or reencode mode to normalize mismatched codecs and resolutions.
Instructions
Join multiple clips end-to-end into one file. Use mode='copy' (default) when all inputs share the same codec/resolution (fast, lossless); use mode='reencode' to normalize mismatched inputs.
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": {
"inputs": "<inputs>",
"output": "<output>"
},
"name": "concat"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | copy = stream copy (same codecs); reencode = normalize. | copy |
| inputs | Yes | Paths of the clips to join, in order. | |
| output | Yes | Path for the joined output file. | |
| overwrite | No | Overwrite the output file if it already exists. |