search_code
Performs semantic search over code and docs to find code by meaning, not exact text. Returns file path, line numbers, symbol, score, and snippet with optional path prefix.
Instructions
Semantic search over this repo's code and docs. Finds code by meaning (e.g. "where do we refuse a mismatched database"), not just exact text — use it before falling back to grep. Returns JSON: file_path, start/end lines, symbol, score, snippet. Optional path_prefix restricts results to a subtree (e.g. "src/").
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| k | No | ||
| query | Yes | ||
| path_prefix | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |