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.
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": {
"directory": "<directory>"
},
"name": "check_recent_errors"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| directory | Yes | ||
| tail_lines | No | ||
| within_hours | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |