toggle
Turns a Matter smart-home device on or off. If the device is off, activates it at full brightness.
Instructions
Toggle a device on or off. If on, turns off. If off, turns on at full brightness.
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": {
"id": "<id>"
},
"name": "toggle"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes |