Prompt capture
Grep tool description
10 model strings share this prompt, byte for byte.
1Content search built on ripgrep. Prefer this over `grep`/`rg` via Bash — results integrate with the permission UI and file links.
3- Full regex syntax (e.g. "log.*Error", "function\s+\w+"). Ripgrep, not grep — escape literal braces (`interface\{\}`).
4- Filter with `glob` (e.g. "**/*.tsx") or `type` (e.g. "js", "py", "rust").
5- `output_mode`: "content" (matching lines), "files_with_matches" (paths only, default), or "count".
6- `multiline: true` for patterns that span lines.