crop
Extract a specific video region by specifying width, height, and x/y offset for precise framing.
Instructions
Crop video to a specific region. Specify width, height, and position offset.
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>",
"width": "<width>",
"height": "<height>"
},
"name": "crop"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | No | X offset from top-left (default: 0, use -1 for center) | |
| y | No | Y offset from top-left (default: 0, use -1 for center) | |
| input | Yes | Input video file path | |
| width | Yes | Crop width in pixels | |
| height | Yes | Crop height in pixels | |
| output | No | Output file path |