crop
Cut a rectangular region from a video using x/y coordinates and width/height, then save the result to a new file.
Instructions
Crop a video to a rectangle. width/height/x/y in pixels; must fit inside the source frame.
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>",
"width": "<width>",
"height": "<height>"
},
"name": "crop"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | No | ||
| y | No | ||
| input | Yes | Path to the file (relative or absolute) | |
| width | Yes | ||
| height | Yes | ||
| output | Yes |