resize_palette
Resize the color palette to a specific number of colors for precise control over image color depth.
Instructions
Resize the palette to a specific number of colors.
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": {
"size": "<size>"
},
"name": "resize_palette"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| size | Yes | Number of colors in palette |