is_valid_hex
Check if a string is a valid 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": {
"hex_color": "<hex_color>"
},
"name": "is_valid_hex"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| hex_color | Yes | Color string to validate |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| input | Yes | ||
| expanded | No | ||
| is_valid | Yes |