search_logs
Search the Homebridge log for matching lines. Returns up to limit most recent matches (ANSI-stripped). Useful for finding errors, warnings, or events involving a specific device.
Instructions
Search the Homebridge log for matching lines. Returns up to limit most recent matches (ANSI-stripped). Useful for finding errors, warnings, or events involving a specific device.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum matches to return, taken from the most recent (default 100, max 2000). | |
| regex | No | Treat pattern as a JavaScript regex (default: false, treats pattern as a literal substring). | |
| pattern | Yes | Substring or regex pattern to match against each log line. | |
| caseSensitive | No | Case-sensitive match (default: false). |