restore_image
Fix damaged or low-quality images by describing the restoration in natural language.
Instructions
Restore or enhance an existing 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": {
"prompt": "<prompt>",
"file": "<file>"
},
"name": "restore_image"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| prompt | Yes | The text prompt describing the restoration to perform | |
| file | Yes | The filename of the input image to restore | |
| preview | No | Automatically open generated images in default viewer |