rca_dtree_start
Launch a guided diagnostic session that asks targeted questions to determine the root cause of equipment faults, supporting both predefined guides and FMEA-generated trees.
Instructions
š Starter+ ā Begin an interactive diagnostic session using a decision tree guide. Returns a question ā answer with rca_dtree_answer, one call per question, until the session resolves to a diagnosis.
Two modes:
guide_id = ā Use a specific json_dtree guide
guide_id = "auto" ā Auto-generate tree from FMEA results (requires fmea_result_id pointing to a completed FMEA analysis)
session_id resume behavior (non-obvious): if you pass a session_id that's yours and not yet resolved, this returns its CURRENT question ā guide_id/equipment_id/symptom are ignored entirely in that case. If the session_id is missing, already resolved, or belongs to someone else, it's silently treated as if you'd omitted it: a brand-new session starts fresh under that same session_id (or a fresh UUID if you didn't supply one) ā you won't get an error, so a typo'd ID quietly starts over rather than resuming.
Args: params (DTreeStartInput): - guide_id: guide UUID or "auto" - equipment_id: equipment being diagnosed - symptom: initial fault description - session_id: optional; see resume behavior above - fmea_result_id: required when guide_id="auto"
Returns: str: JSON with session_id, question, options (yes/no/unknown), progress_pct
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| params | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |