device.state
Reads the current state and attributes of a single entity by its ID, letting AI agents check device status before deciding on control actions.
Instructions
Read current state and attributes of one entity.
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": {
"entity_id": "<entity_id>"
},
"name": "device.state"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| entity_id | Yes |