mix_palette_colors
Blend two palette colors to create an in-between shade, storing the result as a new palette entry or overwriting an existing one.
Instructions
Blend two palette colors and store the result. The indexed-color way to make an in-between shade: t interpolates from color a (0) to color b (1). Appends a new entry by default, or overwrites into_index.
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": {
"doc_id": "<doc_id>",
"a": "<a>",
"b": "<b>"
},
"name": "mix_palette_colors"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| a | Yes | Palette index | |
| b | Yes | ||
| t | No | Blend amount, 0=a .. 1=b (default 0.5) | |
| name | No | ||
| doc_id | Yes | Document id | |
| into_index | No | Overwrite this existing entry instead of appending |