Edit Image
edit_imageOpen an image in an interactive viewer to crop, rotate, or flip it, then save the changes as a new image. Edits the original file persistently.
Instructions
Open an image for interactive editing (crop, rotate, flip).
The user edits in the viewer UI and saves as a new image. Always edits the original image — resource template transforms are ephemeral and LLM-facing; editor transforms are persistent and user-facing.
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>"
},
"name": "edit_image"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| image_id | Yes | ID of the image to edit. Use ``image://list`` to browse available image IDs. |