get_run_failure_summary
Diagnose failed Dagster runs in one call by consolidating status, step stats, error logs, and automated suggestions.
Instructions
Get a consolidated failure diagnosis for a run in a single call.
This is the BEST tool to use when investigating a failed or canceled run. It combines status, step stats, and error logs into one response, avoiding the need to call get_run_status + get_run_logs + get_run_stats separately.
Returns:
status, job_name, duration_seconds
failed_steps: list of {step_key, duration, error} for each failed step
root_cause_error: the RunFailureEvent error (if any)
all_step_durations: timing for every step (not just failed ones)
suggestions: automated diagnostic hints (e.g. 'Multiple steps failed', 'Step was retried before failing', 'Run was canceled')
If the run did not fail, returns {message: 'Run did not fail.'}.
When to use: always prefer this over get_run_logs for failed runs. Use get_run_logs only when you need the full event stream.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| env | No | ||
| run_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||