image_crop
Crop a pixel-defined region from a symbol's captured PNG and return the cropped image as a PNG.
Instructions
Crop a pixel region of a symbol's image.png and return it as a PNG image.
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": {
"output_dir": "<output_dir>",
"symbol": "<symbol>",
"x": "<x>",
"y": "<y>",
"width": "<width>",
"height": "<height>"
},
"name": "image_crop"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | Yes | ||
| y | Yes | ||
| width | Yes | ||
| height | Yes | ||
| symbol | Yes | ||
| output_dir | Yes |