Gate Graph Query
gate_graph_queryQuery symbol dependency graphs to find dependencies, dependents, file symbols, stats, and graphify hubs; searches auto-fallback to graphify maps when no symbol hits.
Instructions
Symbol graph + graphify map. graphify_map/search/hubs for communities. search auto-fallback. See gate_help recommended_stack.
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": {
"query": "<query>"
},
"name": "gate_graph_query"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | Symbol name, file name, or search term to query | |
| rebuild | No | Force rebuild the graph (invalidates cache) | |
| queryType | No | Symbol: search | depends_on | dependents | file_symbols | stats | symbol_map | export_html. Graphify map (nested graphify-out/): graphify_hubs | graphify_search | graphify_map. search auto-fallback to graphify when 0 symbol hits. | search |
| projectRoot | No | Project root directory (defaults to cwd) | |
| tokenBudget | No | Token budget for queryType=symbol_map (default 1200) |