repo_search_code
Search repository code files for symbol names, function signatures, or string patterns to locate references and trace implementation details.
Instructions
Search repository code files for symbol names, function signatures, or string patterns.
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": "repo_search_code"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| root | No | Root directory to search (default workspace root) | |
| query | Yes | Search text or regex pattern | |
| maxResults | No | Max results (default 50) |