Resize video
resize_videoResize a video by setting width and height in pixels, or use a percentage scale. When only one dimension is given, the other adjusts to preserve the aspect ratio.
Instructions
Scale a video to a new resolution. Give width and/or height in pixels (the missing one keeps aspect ratio), or a scale percentage.
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>"
},
"name": "resize_video"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| width | No | Target width in pixels | |
| height | No | Target height in pixels | |
| percent | No | Scale by percentage instead (e.g. 50 = half size) | |
| input_path | Yes | Path to the source video | |
| output_path | No | Where to write the result |