rca_graph_add_edge
Add a directed causal edge to a graph while enforcing acyclic structure to maintain a DAG.
Instructions
Add a directed causal edge (source → target) to a graph. Automatically rejects edges that would create a cycle (DAG enforcement).
Args: params (EdgeOpInput): graph_id, source, target, weight [0,1], confidence [0,1], method
Returns: str: JSON confirmation or cycle-detection error
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| params | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |