Knowledge graph traversal
get_knowledge_graphTraverse the knowledge graph from a seed component to discover its connections to other app elements. Returns nodes and edges within a configurable depth budget, providing a read-only view of component dependencies.
Instructions
Traverse the knowledge graph from a seed component or page. Returns { nodes: [{ id, label, node_type }], edges: [{ source_node_id, target_node_id, edge_type }] } within a depth budget (default 2, max 4 hops). Read-only. Use to see how a component connects to the rest of the app; use get_blast_radius for a bug's impact area, or get_graph_neighborhood for a tighter BFS around one node.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| seed | Yes | Starting graph node id or human-readable label to traverse from | |
| depth | No | BFS hops outward from seed — clamped to 4 in the handler (default 2) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| edges | Yes | Edges connecting the returned nodes | |
| nodes | Yes | Graph nodes within the depth budget |