detect_log_anomalies
Identify unusual patterns in log data by analyzing error frequency, repetition, and timestamps to detect potential issues in systems.
Instructions
Detect anomalies in log data using error frequency, pattern repetition, and timestamp analysis.
Args:
logs: Raw log content (newline-separated entries).
baseline_patterns: Optional expected error patterns for comparison.
severity_threshold: "low" (most sensitive), "medium", or "high" (least sensitive).
Returns:
Dict[str, Any]: Keys: anomaly_detected (bool), anomaly_details, analysis_summary.
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": {
"logs": "<logs>"
},
"name": "detect_log_anomalies"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| logs | Yes | ||
| baseline_patterns | No | ||
| severity_threshold | No | medium |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |