Expand description
Grep search tool - searches file contents using regex patterns.
When ripgrep (rg) is installed, it is used for fast searches with
automatic exclusion of VCS/build directories and binary files. If rg is
not available the tool falls back to a built-in regex walker.
Modules§
- prompt
- Rich LLM-facing descriptions for the grep_search tool.
Structs§
- Grep
Match - A single match result from grep search.
- Grep
Search - Searches file contents for regex patterns, returning matching lines with context.
- Grep
Search Result - Result of a grep search operation.
Functions§
- grep_
search - Standalone function for grep search (for use in tests and other modules). Attempts ripgrep first, then falls back to the built-in walker.