close_image
Close an image in GIMP, optionally saving it as XCF first to preserve editable work before removal.
Instructions
Close an image, optionally saving as XCF first.
Parameters:
image_index: Index of the image to close (default 0)
save_first: If True, save as XCF before closing (default False)
Returns status dict.
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": "close_image"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| save_first | No | ||
| image_index | No |