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.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"pattern": "<pattern>"
},
"name": "search_logs"
}
}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). |