search_code
Perform a fast git grep inside the repository, allowing regex matching by default or substring search.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Full name of the repository (owner/name) | |
| path | No | Directory or file path to limit the search scope | |
| query | Yes | Search pattern or query to pass to git grep | |
| ignoreCase | No | Ignore case distinctions in both the PATTERN and the input files (-i) | |
| contextLines | No | Print num lines of output context (-C) | |
| fixedStrings | No | Use fixed strings for patterns (don’t interpret pattern as a regex) (-F) | |
| extendedRegexp | No | Use extended regular expressions (-E) |