crop_video
Cut a video to a rectangular region using pixel offsets and dimensions. Provide width, height, x, and y to define the crop area; width and height must be even numbers.
Instructions
Cut a video to a rectangular region. Width/height must be even numbers.
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": {
"video_path": "<video_path>",
"width": "<width>",
"height": "<height>",
"x": "<x>",
"y": "<y>"
},
"name": "crop_video"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | Yes | Left offset in pixels | |
| y | Yes | Top offset in pixels | |
| width | Yes | Crop width in pixels | |
| height | Yes | Crop height in pixels | |
| video_path | Yes | Local path to the video |