add_colors
Add color swatches to a brand kit's colors block. Supports name, hex, RGB, CMYK, and Pantone values. Up to 50 swatches per call.
Instructions
Add color swatches to a Colors block. Valid fields per swatch: name (required), hex (required, #rrggbb), rgb ("R, G, B"), cmyk ("C, M, Y, K"), pantone. There is NO usage field on color swatches — put usage guidance in the block note via set_block_note instead.
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": {
"kit_id": "<kit_id>",
"block_id": "<block_id>",
"colors": "<colors>"
},
"name": "add_colors"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kit_id | Yes | Kit UUID | |
| block_id | Yes | Block UUID (must be a colors block) | |
| colors | Yes | Array of color swatches to add (max 50) |