Find anomalous log lines
analyze_logsRanks log lines by severity and unusual wording, surfacing anomalies worst first. Use to identify critical entries without reading the whole file.
Instructions
Score a log file's lines by severity and how unusual their wording is, and return the anomalies, worst first. Deterministic — no model call, no API key. Call this when you have a log file and want the handful of lines worth reading rather than the whole file.
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": {
"logFile": "<logFile>"
},
"name": "analyze_logs"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| logFile | Yes | Absolute path to the log file | |
| threshold | No | Anomaly score cutoff, 0-1 (default 0.5) |