grep
Search file contents with regex patterns and return path:line text matches; skips git-ignored, .git, node_modules, and .venv files by default.
Instructions
Regex search file contents. Returns path:line: text matches. Skips git-ignored files (and .git, node_modules, .venv) unless respect_gitignore=false. Use offset to page.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | . | |
| offset | No | ||
| pattern | Yes | ||
| file_glob | No | * | |
| ignore_case | No | ||
| max_results | No | ||
| respect_gitignore | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |