raster_crop
Crop an image to a specified rectangle using inclusive pixel coordinates for the left, top, right, and bottom edges.
Instructions
Crop image to the specified rectangle (inclusive pixel coordinates).
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": {
"path": "<path>",
"left": "<left>",
"top": "<top>",
"right": "<right>",
"bottom": "<bottom>"
},
"name": "raster_crop"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| top | Yes | ||
| left | Yes | ||
| path | Yes | ||
| right | Yes | ||
| bottom | Yes | ||
| output | No |