Create checkpoint
gimp_create_checkpointSaves a full checkpoint of the current image state—layers, text, masks, filters, and selection—so you can restore it later, enabling undo/redo.
Instructions
Keep a full copy of the image's current state (layers, text, masks, filters, selection) so it can be restored later: this is how to undo/redo. Copies are hidden from image lists and use memory; at most 20 per 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": {
"image": "<image>"
},
"name": "gimp_create_checkpoint"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| image | Yes | Image id from gimp_status, e.g. 'image:1@a1b2c3d4'. | |
| label | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| image | Yes | Image the checkpoint belongs to (follows restorations). | |
| label | Yes | ||
| width | Yes | ||
| height | Yes | ||
| created | Yes | Unix time. | |
| checkpoint | Yes |