Glob Tool - Find Files by Pattern

Finds indexed files and directories with FFF. Use kind=glob for wildcards like *.ts, **/*.json, and src/**/test.*; use file, directory, or mixed for ranked discovery. Respects ignore files by default and returns matching paths with relevance metadata when available.

What It Does

Finds indexed files and directories with FFF. Use kind=glob for wildcards like *.ts, **/*.json, and src/**/test.*; use file, directory, or mixed for ranked discovery. Respects ignore files by default and returns matching paths with relevance metadata when available.

Why It Matters

In a large project, finding the right file is half the battle. Glob lets the AI quickly locate all TypeScript files, find test files, discover configs, or identify files matching any naming convention - without manually searching through Finder or running terminal commands.

Example Prompts

Find all TypeScript test files in this project
Find every .env file in my projects folder
Find all package.json files in my projects folder
List all Markdown files in this repository

Example Output

Glob: **/*.test.ts Found 14 files: src/utils/__tests__/parser.test.ts src/utils/__tests__/format.test.ts src/components/__tests__/Button.test.ts ... 14 test files found across 4 directories.

Safety & Control

Glob is a read-only search operation that returns file and directory paths - it doesn't read file contents or modify anything. Approval depends on your selected tool approval mode. Use a specific project or folder path instead of a broad root.

vs Other AI Apps

No other Mac AI app has built-in file pattern searching. ChatGPT and Claude can suggest find commands, but they can't run them. Chapeta's Glob tool gives the AI the ability to quickly locate files by pattern - essential for understanding projects and finding the right files to work with.

Start using Glob in Chapeta

Get Early Access

Chapeta is almost ready. Be first to try the fastest way to use AI on your Mac.

We'll only email you when Chapeta launches. Privacy policy

You're on the list!

We'll email you as soon as Chapeta is ready to download. Thanks for your interest.