Find out why a run failed
diagnose_runWhy a workflow or agent run failed or is stuck (out of credits, an app connection, a rate limit, a timeout, wrong inputs, a step reading a missing value and so on), what to do about it, and whether running it again may help. Free: it reads the run, it does not run anything.
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": {
"run_id": "<run_id>"
},
"name": "diagnose_run"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| run_id | Yes | The run_id or request id. |