find
Search files by glob pattern and return relative paths, respecting .gitignore and truncating results to 1000 or 50KB.
Instructions
Search for files by glob pattern. Returns matching file paths relative to the search directory. Respects .gitignore. Output is truncated to 1000 results or 50KB (whichever is hit first).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | Directory to search in (default: current directory) | |
| limit | No | Maximum number of results (default: 1000) | |
| pattern | Yes | Glob pattern to match files, e.g. '*.ts', '**/*.json', or 'src/**/*.spec.ts' |