toggle_light
Toggle a light on or off by providing the device ID. Control relay devices configured as lights in the Sinum smart home system.
Instructions
Toggles the state of a light (on/off) for devices of type relay with purpose === light
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>"
},
"name": "toggle_light"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| device_id | Yes | ID of the device to toggle |