resize
Adjust video or image dimensions by setting scale, width, height, or both. Provide one dimension to automatically preserve the aspect ratio.
Instructions
Resize a video/image clip.
Give exactly one of: scale (e.g. 0.5), width, height, or width+height. A single dimension preserves 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": {
"clip_id": "<clip_id>"
},
"name": "resize"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| scale | No | ||
| width | No | ||
| height | No | ||
| clip_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||