mavis_search
Search workspace files for regex matches. Returns each match as a file:line:content entry, enabling precise code location.
Instructions
Search for a regex pattern across files in the workspace. Returns file:line:match lines. Uses ripgrep if available (fast), else falls back to node recursive search.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cwd | No | Subdirectory to search in. Default: workspace root. | |
| glob | No | File glob filter. E.g. "*.ts" or "src/**/*.js". Default: *. | |
| pattern | Yes | Regex pattern to search for. E.g. "TODO|FIXME" or "function\s+foo". | |
| max_results | No | Cap results. Default 100. | |
| case_insensitive | No | Case-insensitive search. Default false. |