log_search
Search a log file for a pattern to find matching entries, aiding in troubleshooting and monitoring. Optionally limit the number of results.
Instructions
Search a log file for a pattern. Requires log.read.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Path to log file | |
| lines | No | Max results (default: 50) | |
| pattern | Yes | Search pattern (case-insensitive) |