search_code
Search project files for text or regex patterns. Filter results by file pattern to find matching lines across the codebase.
Instructions
Proje dosyalarında metin/regex araması yapar.
Args: path: Proje kök dizini query: Aranacak metin veya regex pattern file_pattern: Dosya filtresi (ör: ".py", "src/.ts")
Returns: Eşleşen dosyalar ve satırlar
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": {
"path": "<path>",
"query": "<query>"
},
"name": "search_code"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| query | Yes | ||
| file_pattern | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |