Skip to content
Français

createHarnessSearchTools

import { createHarnessSearchTools } from "@elie-laloum/outpost";

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.

HarnessToolset

export declare function createHarnessSearchTools(): HarnessToolset;