color_convert
Convert color codes between HEX (#RRGGBB) and RGB (rgb(r,g,b) or r,g,b) formats. Provide any value to receive its equivalent in the other format.
Instructions
颜色格式互转:HEX(#RRGGBB)↔ RGB(rgb(r,g,b) 或 r,g,b)
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": {
"value": "<value>"
},
"name": "color_convert"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| from | No | hex | |
| value | Yes |