search_files
Search files and folders by name pattern using wildcards or regex for rapid results, replacing slower traditional methods like find or ls.
Instructions
Search for files and folders by name pattern using Everything Search (extremely fast). Supports wildcards (* and ?) and regex patterns. Use this instead of find, ls, or Glob for much faster results.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | Optional: Restrict search to this directory path | |
| regex | No | Use regular expression instead of wildcards (default: false) | |
| pattern | Yes | Search pattern (e.g., "*.js", "test*", "README.md"). Use * for any characters, ? for single character | |
| matchPath | No | Match pattern against full path instead of just filename (default: false) | |
| maxResults | No | Maximum number of results to return (default: 50) | |
| caseSensitive | No | Whether to match case (default: false) |