search_graph
Search code symbol graphs using BM25 or hybrid BM25+vector search to locate functions, classes, methods, and other symbols by project and query.
Instructions
Search over the symbol graph. BM25 by default; pass semantic:true for hybrid BM25+vector search (requires embeddings to be generated during index_repository).
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": {
"project_id": "<project_id>",
"query": "<query>"
},
"name": "search_graph"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kinds | No | Filter by symbol kinds: function, class, method, interface, variable, type, enum | |
| limit | No | Maximum results (default 20) | |
| query | Yes | Search query. Use semicolons for multi-query: "auth; JWT; token" | |
| semantic | No | Use hybrid BM25+vector search with RRF fusion. Only effective if embeddings were generated. | |
| project_id | Yes | Project ID |