Search
searchFind code answers to 'where is/how does/find' questions via hybrid indexing, with automatic live-grep fallback when results are sparse.
Instructions
Use for any "where is/how does/find" code question — preferred over
Grep/Glob, and usually answerable from the returned code_snippet without
a follow-up Read. Falls back to live grep automatically when hybrid
results are sparse. Returns a non-null warning if the index looked
stale (a background reindex is triggered; results still return now).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | Search mode: 'hybrid', 'vector', or 'bm25' | hybrid |
| limit | No | Max results (default 10, max 100) | |
| query | Yes | Natural language or code query (e.g. 'retry logic') | |
| rerank | No | FlashRank reranking (default True) | |
| language | No | Filter by language (e.g. 'python') | |
| live_grep | No | Force live-grep fallback (rg/grep) | |
| symbol_type | No | Filter by type (e.g. 'function', 'class') |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||