concept_search
Find code by describing an idea rather than a symbol name. Uses repository identifiers and comments to return ranked file:line locations, with optional call-graph tracing.
Instructions
FUZZY search for a concept you can't name ("how does auth work"). Mines a dictionary from the repo's own identifier+comment co-occurrence (no embeddings, nothing sent) → ranked file:line. Use when you don't know the symbol name. flow=true traces the top hit's call graph.
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": {
"q": "<q>"
},
"name": "concept_search"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| q | Yes | Concept/intent phrase (concrete nouns work best). | |
| flow | No | Also trace the top hit along the call graph. | |
| maxResults | No | ||
| projectPath | No |