ai_log_triage
AI log triage (root cause from app logs) — Paste application or server logs (text=, or POST JSON {text} for long logs, or url= of a plain-text log file; up to the last 5,000 lines) and get an incident triage: offline pattern mining groups lines into templates (numbers, IPs, UUIDs, hex ids, URLs and quoted strings masked) with counts, level and first/last line; fatal/error/warn counts, error ratio, error bursts by minute, exception types, the first error, and a verdict HEALTHY / WARNINGS ONLY / DEGRADED / FAILING / CRITICAL. Then Workers AI names the likely root cause (earliest causal error, not the symptoms), confidence, impact, severity SEV1-SEV4 and next steps, citing pattern ids. ai=false returns only the offline report. JSON. Price: $0.012 USDC (Base, via x402).
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": {
"text": "<text>"
},
"name": "ai_log_triage"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | e.g. 2026-11-25T10:01:02Z ERROR Database connection failed: timeout after 5000ms host=10.0.0.5:5432 2026-11-25T10:01:03Z WARN retrying request attempt 2 2026-11-25T10:01:04Z ERROR GET /api/users 500 5012ms |