gimp_convert_mode
Convert an image's color mode between RGB, grayscale, and indexed, specifying the palette size for indexed mode.
Instructions
Convierte el modo de color de la imagen. Para indexed, colors = nº de colores de la paleta.
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": {
"mode": "<mode>"
},
"name": "gimp_convert_mode"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | Yes | ||
| colors | No | ||
| image_id | No |