search
Find specific text in project files via regex search with ripgrep. Filter by glob, path, and case to pinpoint matching lines.
Instructions
Search project files using ripgrep, with grep fallback. Fast regex search. Paths are confined to the project root unless JAMBAVAN_ALLOW_OUTSIDE_ROOT=1.
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": {
"pattern": "<pattern>"
},
"name": "search"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | Directory or file to search in (default: project root) | |
| pattern | Yes | Regex pattern to search | |
| max_results | No | Max matching lines to return (default: 50) | |
| file_pattern | No | Glob to filter files, e.g. "*.ts" | |
| case_sensitive | No | Case sensitive search (default: false) |