search_repo
Search a cloned Git repository for text or regex matches. Narrow results by specifying a subdirectory or file glob to isolate relevant files.
Instructions
Search for text or regex in the cloned repo. Optional path (subdir) and fileGlob (e.g. *.ts). Call ensure_repo first. Resets idle timer.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | Subdir to search (optional) | |
| query | Yes | Search string or regex (e.g. /pattern/) | |
| fileGlob | No | File glob e.g. *.ts (optional) |