resize_video
Resize videos to custom dimensions. Provide width, height, or only one; missing value is auto-computed to preserve aspect ratio.
Instructions
Resize a video to new dimensions. Provide width, height, or both. Omitted dimension is computed automatically to preserve aspect ratio.
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": {
"file_path": "<file_path>"
},
"name": "resize_video"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| width | No | Output width in pixels. Omit to scale proportionally from height. | |
| height | No | Output height in pixels. Omit to scale proportionally from width. | |
| file_path | Yes | Absolute path to the input video file | |
| output_path | No | Absolute path for the output file. Defaults to same directory with '_resized' suffix. |