find_file
Locate files matching specific patterns in your codebase while automatically excluding gitignored items. Use wildcards to search directories and retrieve matching file lists in JSON format.
Instructions
Finds non-gitignored files matching the given file mask within the given relative path. Returns a JSON object with the list of matching files.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_mask | Yes | The filename or file mask (using the wildcards * or ?) to search for. | |
| relative_path | Yes | The relative path to the directory to search in; pass "." to scan the project root. |