glob_files
Find files and directories recursively using glob patterns. Returns absolute paths to all matched items, solving the problem of locating files when exact paths are unknown.
Instructions
Perform recursive pattern-based searches for files and directories. Accepts glob-style patterns matching paths relative to the search root. Use simple patterns like '.ext' for current directory matches, or '**/.ext' for deep subdirectory searches. Returns absolute paths to all discovered items. Excellent for locating files when exact paths are unknown. Only searches within allowed directories.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Directory to search | |
| pattern | Yes | Glob pattern: *.js, **/*.test.ts | |
| excludePatterns | No | Exclude patterns |