create_palette
Creates and selects a project palette from an ordered color list, keeping slot 0 first so day and night palettes can reuse the same slot order.
Instructions
Create a project palette from a list of colors (slot 0 first) and select it. Use the same slot order for a day and a night palette.
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": {
"name": "<name>",
"colors": "<colors>"
},
"name": "create_palette"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| width | No | Swatches per row in the palette panel, default 8 | |
| colors | Yes | Colors as #rrggbb, slot 0 first |