graph_query_tool
Run structured graph queries (neighbors, reachability, node details) against stored data without re-extraction.
Instructions
Execute a structured graph query against the persistent store. Supports query types: 'neighbors' (get adjacent nodes), 'reachability' (check if source reaches target via Kameda O(1) index), and 'node' (get node details). Uses stored graph data without re-extraction.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"projectId": "<projectId>",
"workingDirectory": "<workingDirectory>",
"queryType": "<queryType>"
},
"name": "graph_query_tool"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| nodeId | No | ||
| edgeKind | No | ||
| direction | No | outgoing | |
| projectId | Yes | ||
| queryType | Yes | ||
| targetNodeId | No | ||
| workingDirectory | Yes |