generate-gradient
Generate color gradients between two or more colors with configurable interpolation spaces and optional CSS output for design and UI tasks.
Instructions
Generate a smooth color gradient between two or more colors with configurable interpolation space
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "generate-gradient"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| steps | No | Number of color stops in the gradient | |
| colors | No | Multiple color stops (for multi-stop gradient) | |
| endColor | No | Ending color (for 2-color gradient) | |
| includeCSS | No | Include CSS gradient string | |
| startColor | No | Starting color (for 2-color gradient) | |
| interpolationSpace | No | Color space for interpolation | oklch |