search
Search codebases using natural language, code, or exact symbols. Choose hybrid, BM25, or semantic mode; filter by language or file paths for precise results.
Instructions
Search a codebase with a natural-language, code, or exact-symbol query.
Use hybrid by default, bm25 for exact identifiers and literals, and
semantic for conceptual behavior. Optional language and filter_paths
filters narrow the index when the agent already knows where to look. Use
source for local paths or Git URLs and limit for result bounds. Results
include formatted text for context injection and structured fields.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| alpha | No | Optional hybrid semantic weight. Omit to let SIFS choose from query shape. | |
| explain | No | Include per-result ranking evidence such as BM25 rank, semantic rank, alpha, and boosted score. | |
| filter_languages | No | Optional exact language labels to search, such as rust or typescript. | |
| filter_paths | No | Optional repository-relative file paths to search. | |
| limit | No | Maximum number of ranked chunks to return. | |
| mode | No | Use hybrid by default, bm25 for exact symbols/literals, and semantic for conceptual queries. | hybrid |
| profile | No | Saved profile to use for source and search defaults. | |
| query | Yes | Natural language or code query. | |
| source | No | Git URL or local path to index and search. |