Search code
searchFind code by meaning or keyword and return ranked results with file paths and line ranges, so you can locate definitions and answer without opening files.
Instructions
Find code by meaning or by keyword: "where is...", "how does... work",
"find the code that...", "what handles...". Returns ranked results with file
path and line range. The first three carry the whole function or class, so you
can answer without opening the file. A query can hold exact names
(parse_config RetryPolicy): their definitions come first. For the whole code
of a result that is cut, call find_symbol with its name. Source files rank
before test files unless the query asks for tests. For an exact string or a
file you already know, your built-in grep or read is just as good.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Max results (default 10) | |
| query | Yes | What to find, in plain words or code terms. Exact names (parse_config) first |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||