generate_css
Generate CSS :root custom properties from a list of hex colors. Returns a ready-to-paste CSS block.
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": {
"colors": "<colors>"
},
"name": "generate_css"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | CSS variable prefix (default: "palette") | |
| colors | Yes | Array of hex color strings |