get_entity_state
Retrieve the current state and attributes of a Home Assistant entity, such as a light or sensor, to monitor device status and conditions.
Instructions
Get the current state and attributes of a specific 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_entity_state"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| entity_id | Yes | The entity ID (e.g., 'light.living_room') |