validate_color
Check if a color string is valid for LIFX smart lights before applying it to ensure proper lighting control.
Instructions
Validate a color string
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": {
"token": "<token>",
"color": "<color>"
},
"name": "validate_color"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| token | Yes | LIFX API token | |
| color | Yes | Color string to validate |