query_graph
Run read-only SQL queries on the symbol graph to inspect symbols, relationships, and indexed files.
Instructions
Execute a custom SQL query on the symbol graph (read-only)
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": "query_graph"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | SQL query (SELECT only). Tables: symbols, edges, indexed_files | |
| project | No | Project name to filter | default |