td_diagnose_workflow
Diagnose workflow failures and performance issues by analyzing execution history to identify root causes, detect patterns, and provide fix recommendations.
Instructions
Health check for workflows - find why they're failing or slow.
Automated troubleshooting that analyzes execution history to identify
patterns, calculate health scores, and provide fix recommendations.
Common scenarios:
- Workflow suddenly failing - Find root cause
- Performance degradation - Identify slow tasks
- Reliability issues - Pattern analysis
- Pre-deployment check - Ensure workflow health
- Incident response - Quick failure diagnosis
Time windows: "30d", "7d", "24h" for trend analysis
Levels: "basic" (quick stats), "comprehensive" (full analysis)
Returns health score (0-10), failure patterns, and prioritized fixes.
Args:
    workflow_identifier: Workflow name, ID, or partial match
    time_window: Time period to analyze (e.g., "30d", "7d", "24h")
    diagnostic_level: "basic" for quick check, "comprehensive" for deep analysis
Returns:
    Health report with score, issues, trends, and optimization recommendations
Input Schema
| Name | Required | Description | Default | 
|---|---|---|---|
| diagnostic_level | No | basic | |
| time_window | No | 30d | |
| workflow_identifier | Yes | 
Input Schema (JSON Schema)
{
  "properties": {
    "diagnostic_level": {
      "default": "basic",
      "title": "Diagnostic Level",
      "type": "string"
    },
    "time_window": {
      "default": "30d",
      "title": "Time Window",
      "type": "string"
    },
    "workflow_identifier": {
      "title": "Workflow Identifier",
      "type": "string"
    }
  },
  "required": [
    "workflow_identifier"
  ],
  "type": "object"
}