query_graph
Search a project knowledge graph using BFS or DFS to return relevant nodes and edges as text context for question answering.
Instructions
Search the knowledge graph using BFS or DFS. Returns relevant nodes and edges as text context.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | bfs=broad context, dfs=trace a specific path | bfs |
| depth | No | Traversal depth (1-6) | |
| question | Yes | Natural language question or keyword search | |
| project_path | No | Absolute path to a project directory containing graphify-out/graph.json. Optional — defaults to the graph this server was started with. | |
| token_budget | No | Max output tokens | |
| context_filter | No | Optional explicit edge-context filter, e.g. ['call', 'field'] |