get_error_log
Retrieve and filter Home Assistant error logs to diagnose issues with integrations, error levels, or recent timeframes.
Instructions
Get the Home Assistant error log (WebSocket API). Stacktraces truncated by default.
Args: limit: Max records (1-100, default: 50) integration: Filter by integration (e.g. "mqtt", "zwave") level: Filter by level: "ERROR" or "WARNING" since_minutes: Only errors from last N minutes truncate_traces: Truncate stacktraces to 3 lines (default: True)
Examples: get_error_log(integration="mqtt") get_error_log(level="ERROR", since_minutes=60)
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| integration | No | ||
| level | No | ||
| since_minutes | No | ||
| truncate_traces | No |