Search code
searchLocate code by meaning or keyword and return ranked file and line results, with exact-name definitions surfaced first.
Instructions
Find code by meaning or keyword: "where is...", "how does... work",
"find the code that...". Returns ranked results with file and line range; the
first three carry the whole function or class. Exact names in the query
(parse_config RetryPolicy) bring their definitions first. For the full code of
a cut result, call find_symbol.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"query": "<query>"
},
"name": "search"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Max results | |
| query | Yes | What to find, in plain words or code terms |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||