Rotate image
gimp_rotate_imageRotate an entire GIMP image by 90, 180, or 270 degrees clockwise, including canvas, layers, selection, and paths, in one lossless undo step.
Instructions
Rotate the whole image (canvas, layers, selection, paths) by 90, 180 or 270 degrees clockwise. Lossless. One undo step.
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>",
"angle": "<angle>"
},
"name": "gimp_rotate_image"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| angle | Yes | ||
| image | Yes | Image id from gimp_status, e.g. 'image:1@a1b2c3d4'. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | ||
| dirty | Yes | ||
| image | Yes | ||
| width | Yes | ||
| height | Yes |