graphify_query
Run natural-language queries on a knowledge graph to explore codebase connections, with optional depth-first search and token budget control.
Instructions
Run a natural-language query against the graph.
Args: question: Natural-language question, e.g. "what connects attention to the optimizer?" dfs: True -> trace a specific path in depth. budget: If >0, cap the number of tokens returned (e.g. 1500).
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": {
"question": "<question>"
},
"name": "graphify_query"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| question | Yes | ||
| dfs | No | ||
| budget | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |