analyze_trace
Full diagnostic: loop detection, cost breakdown, stuck-state classification, and fix recommendations for an AI agent trace.
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": "analyze_trace"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| trace | Yes | Ordered array of agent steps (role, tool, input, output, tokens, model) | |
| pricing | No |