crop_for_inspection
Crop a specific region of an image to zoom in for detailed inspection, enabling precise coordinate identification by vision models. Supports pixel or normalized coordinates with optional padding.
Instructions
Crop a region of an image and save it to a new file. Useful for iteratively zooming into a region so a vision model can give more precise coordinates. Bounding box can be in pixel or normalized [0, 1] coordinates; optional padding expands the crop on each side.
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>",
"bbox": "<bbox>"
},
"name": "crop_for_inspection"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bbox | Yes | ||
| path | Yes | ||
| padding | No | ||
| normalized | No | ||
| output_path | No |