set_color
Set a light's color by name or hex code to control Hue lighting, optionally targeting a specific light by ID or name.
Instructions
Set a light's color by name (rouge, bleu, orange, ...) or hex (#rrggbb).
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": "set_color"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| color | Yes | ||
| light_id | No | ||
| light_name | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |