git_grep
Find lines in Git-tracked files without shell access. Specify repository and pattern, with optional path, revision, and context to refine results.
Instructions
Search tracked content without invoking a shell.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | ||
| target | No | working | |
| context | No | ||
| pattern | Yes | ||
| revision | No | ||
| patternType | No | fixed | |
| repositoryId | Yes | ID returned by git_list_repositories |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| error | No | ||
| output | Yes | ||
| truncated | Yes |