grep
Search file contents by regex in a directory, using optional glob filters, case insensitivity, and result caps to locate matching lines quickly.
Instructions
Search file contents by regex.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| glob | No | Glob filter, e.g. '*.py' | |
| path | No | Directory under the server root to search | . |
| pattern | Yes | Regular expression pattern | |
| max_results | No | Maximum results to return | |
| case_insensitive | No | Case-insensitive search |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |