List entity states
ha_list_statesRetrieve entity states from a Home Assistant instance, optionally filtering by domain and paging results with limit and offset. Use it to inspect current device states before issuing control commands.
Instructions
All entity states (entity_id, state, attributes). Args: domain (optional, e.g. "light"), limit (default 50), offset. Always pass a domain on a real install — the full list is huge.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "ha_list_states"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Max entities to return | |
| domain | No | Entity domain to filter on, e.g. "light", "sensor", "switch" | |
| offset | No | Entities to skip, for paging |