anyindex_search
Search your entire locally indexed codebase by meaning or exact name to find functions, classes, and features. Returns file paths and line numbers when the answer is not in context.
Instructions
Semantic and keyword search over the ENTIRE locally indexed codebase. Every indexed file is already available to you — do not ask the user to paste code, and do not read files directory-by-directory looking for it. Use this when the answer is not in your current context, when you need to locate a function, class or feature by name or by meaning, or when you need to understand how parts of the project fit together. Skip it when the answer is already in context, or for general programming questions unrelated to this repository. Each result carries file path and line numbers. If no results come back, the code may not exist here — say so instead of inventing it.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | hybrid | |
| topK | No | Maximum number of results. Counts files, not chunks: you get at most one chunk per file, so fewer results may come back. Use get_file_outline for the rest of a file. | |
| query | Yes | Natural language query, or an exact symbol name |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| hits | Yes | ||
| index | Yes | ||
| total | Yes |