createHarnessSearchTools
Purpose and behavior
Section titled “Purpose and behavior”Create the search toolset: search runs git grep with an extended regular expression over tracked and non-ignored text files and returns path:line:text matches, 200 at most per call. It is read-only and declares its path for permission rules.
Complete example and detailed rules.
Parameters and properties
Section titled “Parameters and properties”optionsOptionalFileSelectionOptions | undefinedChoose Git-aware or plain-filesystem search.options.selectionOptional"git" | "filesystem" | undefinedDefaults to git for legacy calls; filesystem performs bounded sandbox traversal without Git or .gitignore filtering.

