crop_image
Crop an image to a specified width, height, and offset. Directly applies the crop to the image in local GIMP.
Instructions
Crop an image to the supplied rectangle.
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": {
"image_id": "<image_id>",
"width": "<width>",
"height": "<height>"
},
"name": "crop_image"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| width | Yes | ||
| height | Yes | ||
| image_id | Yes | ||
| offset_x | No | ||
| offset_y | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||