Generate Theme from Color
generate_theme_from_colorGenerate a complete Material 3 color palette from a single base color, with options for light/dark mode, output format, and contrast level.
Instructions
Generate complete Material 3 color palette from a single base color
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": {
"baseColor": "<baseColor>"
},
"name": "generate_theme_from_color"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | light | |
| format | No | json | |
| baseColor | Yes | ||
| contrastLevel | No | Contrast level: -1 (reduced), 0 (standard), 1 (high) |