resize_video
Resize videos to exact dimensions or by scale factor. Specify width and height, or a scale like 0.5 or 2 for proportional resizing.
Instructions
Resize a video.
Use either: width + height OR: scale
Example: scale=0.5 scale=2
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 |
|---|---|---|---|
| scale | No | ||
| width | No | ||
| height | No | ||
| input_path | Yes | ||
| output_path | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||