file_search
Locate files by glob name patterns, regex content, size range, and modification dates within a specified directory, returning only matching results.
Instructions
Search for files by name pattern (glob), content (regex), size range, and/or date range.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dir_path | Yes | Absolute path to the directory to search | |
| max_size | No | Maximum file size in bytes | |
| min_size | No | Minimum file size in bytes | |
| max_results | No | Maximum number of results to return (default: 100) | |
| name_pattern | No | Glob pattern for file names (e.g. "**/*.ts", "*.json") | |
| modified_after | No | ISO date string - only files modified after this date | |
| content_pattern | No | Regex pattern to search within file contents | |
| modified_before | No | ISO date string - only files modified before this date |