get_state
Retrieves the current state of a smart-home device or group using an ID, name, room and type, or group name.
Instructions
Get the current state of a device or group of devices. Accepts device id, name, room+type, or group name.
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": {
"target": "<target>"
},
"name": "get_state"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| target | Yes | Device identifier — id, name, group, or 'room type' (e.g. 'bedroom lights', 'Kitchen Light') |