check_recent_errors
Scan the tail of recently written logs to detect error signatures, focusing only on fresh entries within a configurable time window so older resolved failures stay out of the report.
Instructions
Scan the tail of recently-written logs for error signatures.
Only recent files and only their last lines, so that failures fixed last week do not keep reappearing in the report.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| directory | Yes | ||
| tail_lines | No | ||
| within_hours | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |