query_graph
Search a repository's code graph with BFS for broad context or DFS to trace paths, returning relevant nodes and edges as cited text within a token budget.
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 |
| repo | No | The project to read: its id or key, or with graphicle mcp a synced folder. Defaults to this connection's project. | |
| as_of | No | The code-graph episode to read: an episode id, a label such as a commit sha, latest or working. Defaults to the project's current code graph. | |
| depth | No | Traversal depth (1-6) | |
| question | Yes | Natural language question or keyword search | |
| token_budget | No | Max output tokens | |
| context_filter | No | Optional explicit edge-context filter, e.g. ['call', 'field'] |