CSS gradient generator
gradient_generatorBuild a CSS linear or radial gradient background declaration from two or more colors. Runs on smart-tools.xyz.
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": "gradient_generator"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | No | Gradient type (default linear) | |
| angle | No | Angle in degrees for linear gradients, 0–360 (default 90) | |
| colors | Yes | Color stops, e.g. ["#1a7f5a", "#0d3b66"] (at least 2) | |
| locale | No | Language for the source_url link (default en) |