← All atoms

grep

tool-definition · v1.0.0

Pattern search across files. Returns matching lines with file:line locations.

Tool signature

function grep(pattern: string, path: string, case_insensitive: boolean?, max_matches: number?) → array

Search for a regex pattern across files.

Parameters

Side effects

fs-read

Raw atom

/atoms/tool-definition/grep.json · schema