Locate code
search_codeLocate code paths, symbols, and line ranges across a repository to answer code questions and guide AI coding agents; read known files locally.
Instructions
Compact paths/symbols/ranges locator; known files can be read locally.
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_code"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | ||
| repo_path | No |