SIGN IN SIGN UP

feat(deepagents): add output_mode parameter to the grep tool (#724)

## Summary
- The grep tool's description mentioned output_mode, but it was never an
actual parameter the tool always returned one hardcoded format.
- Added output_mode (files_with_matches/content/count) as a real schema
parameter, using the existing formatGrepMatches helper.

## Test plan
- Added tests in fs.test.ts for files_with_matches and count modes.
- All tests pass.

Note: default output is now sorted by path with no blank lines between
file groups (minor formatting change, same info).

---------

Co-authored-by: Hunter Lovell <hunter@hntrl.io>
G
gethin-langchain committed
77e104f26a62ae34afbb1393edf191009d37280c
Parent: 239be7e
Committed by GitHub <noreply@github.com> on 8/6/2026, 7:13:21 AM