graph_query
Explore codebase knowledge by traversing neighbor nodes via BFS or identifying Louvain community groups per project.
Instructions
Query the knowledge graph.
Args: chunk_id: Chunk ID to start traversal from (required for neighbors mode) project: Project ID (required for communities mode) mode: "neighbors" for BFS traversal, "communities" for Louvain groups depth: BFS depth for neighbors mode (1-3)
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "graph_query"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | neighbors | |
| depth | No | ||
| project | No | ||
| chunk_id | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |