gimp.get_image_bitmap
Retrieve a GIMP image as MCP content, optionally scaling to max dimensions or cropping a specific region before output.
Instructions
Return a GIMP image as MCP image content with optional max-size scaling and region extraction.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "gimp.get_image_bitmap"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| image_id | No | Optional image ID. Defaults to the first open image. | |
| max_width | No | Optional maximum output width. | |
| max_height | No | Optional maximum output height. | |
| region | No | Optional crop region before scaling. |