Get automation trace
get_automation_traceInspect past automation runs to diagnose failures, list recent runs, identify the last step reached, node errors, failed conditions, and get a plain English diagnosis.
Instructions
Inspect past runs of an automation to diagnose failures. Without run_id it lists recent runs and details the most recent one. Reports the last step reached, node level errors, failed conditions and a plain English diagnosis.
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": {
"automation_id": "<automation_id>"
},
"name": "get_automation_trace"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| run_id | No | A specific run id from the run list. Defaults to the most recent run. | |
| runs_limit | No | How many recent runs to list. | |
| only_failed | No | Pick the most recent run that did not finish cleanly. | |
| automation_id | Yes | The automation config id or entity id. |