grep_file
Search a file using regex patterns, returning matching lines with line numbers and optional surrounding context.
Instructions
Regex-search a single file, returning matching lines with numbers.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| pattern | Yes | ||
| max_matches | No | ||
| context | No | ||
| ignore_case | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||