search_files_code
Search for text patterns in files using regex. Filter by directory, file pattern, and case sensitivity for targeted results.
Instructions
Search for text patterns in files within a directory
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pattern | Yes | The text pattern to search for (regex supported) | |
| directory | No | The directory to search in | . |
| maxResults | No | Maximum number of results to return | |
| filePattern | No | File pattern to match (glob pattern) | **/* |
| caseSensitive | No | Whether the search should be case sensitive |