Build a 50-950 color palette from one color
swatch_make_scaleUse when the user asks for a palette, shades, tints, a design-token scale or a Tailwind-style 50 to 950 ramp from a brand color. Returns 11 steps that keep the hue, with the hex, contrast on white and on black, and the best text color for each step. Example: {"color": "#ff5a1f", "name": "brand"}.
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": {
"color": "<color>"
},
"name": "swatch_make_scale"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Token name used in the CSS and Tailwind output. Default "brand". | |
| color | Yes | Base color, e.g. "#ff5a1f". |