set_color
Set a Govee device to any color by specifying red, green, and blue values.
Instructions
Set the color of a Govee device using RGB values
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": {
"device_id": "<device_id>",
"model": "<model>",
"r": "<r>",
"g": "<g>",
"b": "<b>"
},
"name": "set_color"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| b | Yes | Blue value (0-255) | |
| g | Yes | Green value (0-255) | |
| r | Yes | Red value (0-255) | |
| model | Yes | The device model | |
| backend | No | API backend to use: 'v1' (default), 'v2', or 'lan'. Omit to use the server default. | |
| device_id | Yes | The device MAC address / ID |