set_power
Control power state of Govee smart devices by sending on or off commands via API.
Instructions
Turn a Govee device on or off
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>",
"state": "<state>"
},
"name": "set_power"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| model | Yes | The device model | |
| state | Yes | Power state: 'on' or 'off' | |
| 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 |