Get the structured system log
get_system_logRetrieve grouped Home Assistant error and warning logs with occurrence counts, source, and last message to identify recurring issues without scanning raw logs.
Instructions
Errors and warnings Home Assistant has logged, grouped with occurrence counts, source and the last message. Easier to scan than the raw error log.
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_system_log"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| level | No | ||
| limit | No | ||
| query | No | Text matched against logger name and message. |