grep_files_with_matches
Search and list files containing a specific pattern in a target directory. Supports regex, case sensitivity, whole word matching, file extensions, and exclusion patterns for precise results.
Instructions
List only the names of files that contain the pattern
Input Schema
Name | Required | Description | Default |
---|---|---|---|
case_sensitive | No | Whether the search should be case sensitive | |
exclude_patterns | No | Exclude files matching these patterns | |
file_extensions | No | Only search files with these extensions | |
pattern | Yes | Regular expression pattern or plain text to search for | |
target | Yes | Directory path to search in | |
whole_words | No | Match whole words only |