rgb_to_hex
Convert RGB to hex color.
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": {
"r": "<r>",
"g": "<g>",
"b": "<b>"
},
"name": "rgb_to_hex"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| b | Yes | Blue (0-255) | |
| g | Yes | Green (0-255) | |
| r | Yes | Red (0-255) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| hex | Yes | ||
| rgb | Yes |