Switch a smart plug
hive_set_plugSwitch a Hive smart plug on or off by name or ID, with an optional preview that shows the exact requests before anything changes. Confirm what's plugged in before turning it off.
Instructions
Switch a Hive smart plug on or off. Check what's plugged in with the user before switching it 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": {
"on": "<on>"
},
"name": "hive_set_plug"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| on | Yes | true to switch the plug on, false to switch it off | |
| plug | No | Smart plug, by name or ID (see hive_list_smart_devices). Can be left out when there's only one | |
| dry_run | No | Preview only: check the call and return the exact requests it would send to Hive, without sending them. Nothing is changed |