generate_gradient
Generate an interpolated gradient between two hex colors. Returns color stops and a ready-to-use CSS linear-gradient string.
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": {
"color1": "<color1>",
"color2": "<color2>"
},
"name": "generate_gradient"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| steps | No | Number of gradient stops (2–20, default 5) | |
| color1 | Yes | Start hex color | |
| color2 | Yes | End hex color |