grep_search
Search workspace files by exact regex or substring to return matching lines with context, line numbers, and paths; filter by glob and case sensitivity.
Instructions
Exact regex or substring search across files in the workspace. Returns matching lines with context lines, line numbers, and file paths. Supports path_glob filtering (e.g. 'src/**/*.py') and case sensitivity.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pattern | Yes | ||
| sub_dir | No | ||
| path_glob | No | ||
| workspace | No | default | |
| max_matches | No | ||
| context_lines | No | ||
| case_sensitive | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||