acr_diagnose_failure
Diagnose AI agent failure root causes by analyzing failed spans and error logs, scoped to a specific run or agent when needed.
Instructions
Diagnose the root cause of an agent failure by analyzing failed spans and error logs.
Args: run_id: Specific run ID to diagnose. If omitted, diagnoses the most recent failed run. agent_name: Optional agent name to narrow search when run_id is omitted.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "acr_diagnose_failure"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| run_id | No | ||
| agent_name | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |