search_code
Find code by describing what you need in plain language. This tool uses semantic search to locate relevant snippets across your codebase.
Instructions
Search the codebase using natural language.
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 |
|---|---|---|---|
| limit | No | Maximum number of results to return. | |
| query | Yes | Natural language search query (e.g., "how does authentication work"). | |
| score_threshold | No | Minimum similarity score (0-1). Lower = more results. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||