set_color
Set the RGB color of one or more WiZ bulbs by providing target, red, green, and blue values. Optionally adjust brightness.
Instructions
Set the RGB color of one or more WiZ bulbs
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": {
"target": "<target>",
"r": "<r>",
"g": "<g>",
"b": "<b>"
},
"name": "set_color"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| b | Yes | Blue channel 0-255 | |
| g | Yes | Green channel 0-255 | |
| r | Yes | Red channel 0-255 | |
| target | Yes | Bulb name, IP address, or "all" to target every discovered bulb | |
| brightness | No | Brightness level 1-100 (optional) |