Get logbook
ha_get_logbookRetrieve human-readable Home Assistant logbook entries, optionally filtered to one entity and ISO 8601 time window, to see what happened and when.
Instructions
Return human-readable logbook entries (what happened and when), optionally filtered to a single entity and time window. Times are ISO 8601; with a start_time and no end_time it runs up to now (Home Assistant on its own would stop 24 hours after the start).
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_get_logbook"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| end_time | No | ISO 8601 end timestamp. | |
| entity_id | No | Restrict to a single entity_id. | |
| start_time | No | ISO 8601 start timestamp. | |
| 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. |