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
11- '\*' matches any sequence of non-separator characters
12- '\*\*' matches any sequence including separators
13- '?' matches any single non-separator character
14- '[...]' matches any character in brackets
15- '[!...]' matches any character not in brackets
16  </pattern_syntax>
17
18<examples>
19- '*.js' - JavaScript files in current directory
20- '**/*.js' - JavaScript files in any subdirectory
21- 'src/**/*.{ts,tsx}' - TypeScript files in src directory
22- '*.{html,css,js}' - HTML, CSS, and JS files
23</examples>
24
25<limitations>
26- Results limited to 100 files (newest first)
27- Does not search file contents (use Grep for that)
28- Hidden files (starting with '.') skipped
29</limitations>
30
31<cross_platform>
32
33- Path separators handled automatically (/ and \ work)
34- Uses ripgrep (rg) if available, otherwise Go implementation
35- Patterns should use forward slashes (/) for compatibility
36  </cross_platform>
37
38<tips>
39- Combine with Grep: find files with Glob, search contents with Grep
40- For iterative exploration requiring multiple searches, consider Agent tool
41- Check if results truncated and refine pattern if needed
42</tips>