Get logbook
ha_get_logbookRetrieve human-readable Home Assistant logbook entries for a time range or one entity to see when events occurred, who triggered them, and affected entity IDs.
Instructions
Human-readable history entries ("Light turned on by automation"). Args: start (default: 1 day ago), entity (optional), end. Returns entries with when, name, message, entity_id.
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 | No | ISO 8601 timestamp, e.g. 2026-10-17T00:00:00+07:00. End of the period. | |
| start | No | ISO 8601 timestamp, e.g. 2026-10-17T00:00:00+07:00. Start of the period. Defaults to 1 day before now. | |
| entity | No | Filter to one entity id |