audit_trace
Full audit of an agent execution trace. Detects infinite loops, duplicate calls, tool errors, cost overruns, schema violations, and latency bottlenecks. Returns verdict (pass/review/block), score 0-100, and detailed findings.
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": "audit_trace"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| trace | Yes | Agent execution steps. Each step: {tool, input, output, model, ts, latency_ms, error} | |
| budget_usd | No | Cost cap in USD (default 5.0) | |
| tool_schemas | No | Per-tool required field schemas for input validation |