Get error log
get_error_logFetch the tail of Home Assistant's error log to diagnose problems, optionally filtering by log level, line count, or text/regex pattern.
Instructions
Fetch the tail of the Home Assistant error log, optionally keeping only lines that match a filter.
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": "get_error_log"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| level | No | Keep only lines at this log level. | |
| lines | No | How many lines from the end to return. | |
| filter | No | Case insensitive substring or regular expression. Only matching lines are kept. |