get_subgraph
Visualize connections around a specific fact by retrieving its subgraph from the knowledge graph, returning nodes with depth and edges with relations up to a specified maximum hop 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) |