sage_grep
Search files with regex patterns; return compressed, grouped results including exact paths and line numbers. For large outputs, reduces context noise.
Instructions
Search files with compressed, grouped results (exact paths and line numbers kept). Prefer this over rg/grep when output may be large.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| glob | No | Filename filter, e.g. *.py | |
| paths | No | Paths to search | |
| pattern | Yes | Regex pattern | |
| ignore_case | No |