ha_get_logbook
Retrieve logbook entries for a specified time period, with optional entity filter to track specific device events.
Instructions
Get logbook entries (activity log) for a time period, optionally filtered by entity
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 |
|---|---|---|---|
| entity_id | No | Filter by entity ID. Omit for all entries. | |
| start_time | No | ISO 8601 start time. Defaults to 1 day ago. | |
| end_time | No | ISO 8601 end time. Defaults to now. |