Find File
find_fileSearch for files matching a specific pattern while automatically excluding gitignored files. Use wildcards to locate files in any directory of your project.
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
| 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. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |