Search text or regex across project code
search_codeSearch code in approved projects using ripgrep for speed, with automatic exclusion of generated, dependency, and secret files. Supports glob patterns, regex, and case-insensitive queries.
Instructions
High-speed code search using ripgrep when available, with a safe built-in fallback. Generated, dependency, and secret files are ignored.
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": {
"project": "<project>",
"query": "<query>"
},
"name": "search_code"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| glob | No | **/* | |
| query | Yes | ||
| regex | No | ||
| project | Yes | Project key from list_projects. | |
| maxResults | No | ||
| caseSensitive | No |