Files
oak-gpui/crates/assistant_tools/src/grep_tool/description.md
T
Oleksiy SyvokonandBen Brandt 3884de937b assistant: Partial fix for HTML entities in tools params (#32148)
This problem seems to be specific to Opus 4. Eval shows improvement from
89% to 97%.

Closes: https://github.com/zed-industries/zed/issues/32060

Release Notes:

- N/A

Co-authored-by: Ben Brandt <benjamin.j.brandt@gmail.com>
2025-06-05 10:36:55 +00:00

713 B

Searches the contents of files in the project with a regular expression

  • Prefer this tool to path search when searching for symbols in the project, because you won't need to guess what path it's in.
  • Supports full regex syntax (eg. "log.*Error", "function\s+\w+", etc.)
  • Pass an include_pattern if you know how to narrow your search on the files system
  • Never use this tool to search for paths. Only search file contents with this tool.
  • Use this tool when you need to find files containing specific patterns
  • Results are paginated with 20 matches per page. Use the optional 'offset' parameter to request subsequent pages.
  • DO NOT use HTML entities solely to escape characters in the tool parameters.