tool_image_editor
Adjust image brightness, contrast, and saturation, or apply a grayscale filter. Returns the edited image file for download or further use.
Instructions
[image] Image Editor
Parameters:
file (bytes): File
brightness (number): Brightness
contrast (number): Contrast
saturation (number): Saturation
grayscale (boolean): Grayscale
Outputs:
file (bytes): File
info (json): Info
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": "tool_image_editor"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | No | File (base64 file payload) | |
| info | No | Info | |
| contrast | No | Contrast | |
| grayscale | No | Grayscale | |
| brightness | No | Brightness | |
| saturation | No | Saturation |