get_subgraph
Retrieves a knowledge graph subgraph centered on a specific fact for visualization, returning nodes and edges up to a chosen depth while filtering by access level.
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) | |
| access_level | No | Caller's visibility tier: only nodes at this level or below are included (public < trusted < private) | private |