1Fast file pattern matching tool that finds files by name/pattern, returning paths sorted by modification time (newest first).
 2
 3<usage>
 4- Provide glob pattern to match against file paths
 5- Optional starting directory (defaults to current working directory)
 6- Results sorted with most recently modified files first
 7</usage>
 8
 9<pattern_syntax>
10- '\*' matches any sequence of non-separator characters
11- '\*\*' matches any sequence including separators
12- '?' matches any single non-separator character
13- '[...]' matches any character in brackets
14- '[!...]' matches any character not in brackets
15</pattern_syntax>
16
17<examples>
18- '*.js' - JavaScript files in current directory
19- '**/*.js' - JavaScript files in any subdirectory
20- 'src/**/*.{ts,tsx}' - TypeScript files in src directory
21- '*.{html,css,js}' - HTML, CSS, and JS files
22</examples>
23
24<limitations>
25- Results limited to 100 files (newest first)
26- Does not search file contents (use Grep for that)
27- Hidden files (starting with '.') skipped
28</limitations>
29
30<cross_platform>
31- Path separators handled automatically (/ and \ work)
32- Uses ripgrep (rg) if available, otherwise Go implementation
33- Patterns should use forward slashes (/) for compatibility
34</cross_platform>
35
36<tips>
37- Combine with Grep: find files with Glob, search contents with Grep
38- For iterative exploration requiring multiple searches, consider Agent tool
39- Check if results truncated and refine pattern if needed
40</tips>