query_graph
Traverse a security knowledge graph with BFS or DFS to extract relevant nodes and edges for investigating code security issues.
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'] |