get_color_scale
从一个基准色生成 50 到 900 的 10 级色阶(500 等于基准色本身),每阶附白字与黑字的实测对比度;format 可取 list / json / css / tailwind。
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": {
"color": "<color>"
},
"name": "get_color_scale"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| color | Yes | 基准色,如 #4c8df6 | |
| format | No | 输出形态,默认 list |