search
Search project files using ripgrep with a regex pattern. Filter by directory, file glob, and case sensitivity to find matching code 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.
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) |