grep
Search for specific text patterns in files within a directory using regular expressions. Include file types to narrow results and locate relevant content efficiently.
Instructions
Search for text in files
Input Schema
Name | Required | Description | Default |
---|---|---|---|
include | No | File pattern to include in the search (e.g. "*.js", "*.{ts,tsx}") | |
path | No | The directory to search in. Defaults to the current working directory. | |
pattern | Yes | The regular expression pattern to search for in file contents |