counterfactual_query
Analyze counterfactual graph queries by removing a specified edge. Returns reachable paths from seed to target that avoid that edge, without mutating the knowledge graph.
Instructions
3B.6 — "What if we remove edge (removeFrom → removeTo)? Is predict still reachable from seed?" Returns chains from seed to predict that DO NOT use the removed edge. Pure: does not mutate the graph.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| seed | Yes | ||
| predict | Yes | ||
| maxDepth | No | ||
| removeTo | Yes | ||
| removeFrom | Yes |