glob
Find files matching glob patterns with recursive directory support, returning sorted paths while skipping hidden and vendor directories.
Instructions
Finds files matching a glob pattern. Supports ** for recursive directory matching. Returns matching file paths sorted by modification time (newest first). Skips hidden directories (.git, etc.) and common vendor directories. Use relative_paths=true to return paths relative to the search directory (saves tokens).
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pattern | Yes | Glob pattern to match files (e.g. **/*.go or src/**/*.ts) | |
| path | No | Directory to search in (absolute path). Defaults to current directory if empty | |
| relative_paths | No | Return paths relative to the search directory instead of absolute paths. Saves tokens in output. Default: false |