get_state
Retrieve the current status of any Home Assistant entity, such as lights or sensors, to monitor device states and conditions.
Instructions
Get the current state of a Home Assistant 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": "get_state"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| entity_id | Yes | The entity ID to get state for (e.g., light.living_room) |