Convert video format
convert_videoRe-encode a video into MP4, WebM, MOV, or MKV with adjustable quality.
Instructions
Re-encode a video to another container/format (mp4, webm, mov, mkv) with a quality setting.
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_path": "<input_path>",
"format": "<format>"
},
"name": "convert_video"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| format | Yes | Target format | |
| quality | No | Encoding quality (default medium). Higher quality = bigger file. | |
| input_path | Yes | Path to the source video | |
| output_path | No | Where to write the result |