resize
Set a video's width and/or height; the other dimension follows the aspect ratio by default and rounds to an even number.
Instructions
Resize a video. Give width and/or height; with keep_aspect (default) the other dimension follows the aspect ratio and is rounded to an even number.
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": "<input>",
"output": "<output>"
},
"name": "resize"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| input | Yes | Path to the file (relative or absolute) | |
| width | No | ||
| height | No | ||
| output | Yes | ||
| keep_aspect | No |