get_subgraph
Fetch a subgraph around a specific fact to visualize its relationships. Outputs nodes with depth and edges with source, target, and relation, up to max_depth.
Instructions
Knowledge Graph: Get a subgraph centered on a fact for visualization. Returns {nodes, edges} where nodes have {id, depth} and edges have {source, target, relation}.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fact_id | Yes | The Qdrant point ID to center the subgraph on | |
| max_depth | No | Maximum hops (default 2) |