Get entity state
ha_get_stateRetrieve full state and attributes for Home Assistant entities to read exact current values before changing them or writing automation logic.
Instructions
Get the full state and attributes for one or more entities. Use this to read exact current values before changing them or writing template/automation logic.
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_ids": "<entity_ids>"
},
"name": "ha_get_state"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| entity_ids | Yes | One or more entity_ids, e.g. ['light.kitchen','sensor.outside_temp']. | |
| instance_id | No | Optional: the instance you mean (as listed by vomehome_list_instances). When given, the call is refused if this session is targeting a different home, instead of answering from it. |