semantic_search
Search code by meaning with natural-language queries to locate relevant files, functions, and classes, ranked by relevance for codebase exploration.
Instructions
Search the code by meaning with a natural-language query. Returns files, functions and classes, best first.
Args: query: For example "authentication middleware". file_filter: Optional glob, for example "*.py". branch: Remote service only. Local search reads the working tree. mode: "auto" (default), "keyword", or "vector" (waits for embeddings).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | auto | |
| query | Yes | ||
| top_k | No | ||
| branch | No | ||
| workspace | No | Project path (default: this project) | |
| max_tokens | No | ||
| file_filter | No |