search_code
Searches source and configuration files in a repository, returning file-and-line matches to support evidence-first engineering investigations.
Instructions
Bounded text search across supported source and configuration files; returns file-and-line evidence.
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": {
"repo_path": "<repo_path>",
"query": "<query>"
},
"name": "search_code"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | ||
| repo_path | Yes | ||
| max_results | No |