ai_agent_trace
AI agent run debugger — Debug an AI agent run. Paste the trace (JSON steps, OpenAI-style messages with tool_calls and tool replies, or ReAct Action/Observation text) and get an offline verdict HEALTHY, REVIEW, LOOPING or FAILING with metrics (steps, tool calls, error rate, identical repeated calls, same-tool streaks, empty outputs, token estimate), plus a Workers AI diagnosis: summary, goal met, root cause, failed step, concrete fixes and system-prompt changes. Optional: goal=. Nothing stored. Price: $0.008 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": {
"trace": "<trace>"
},
"name": "ai_agent_trace"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| trace | Yes | e.g. Action: search Action Input: paris weather Observation: Error: 429 rate limit Action: search Action Input: paris weather Observation: Error: 429 rate limit |