Function: createFsGrepToolDriver()
ts
function createFsGrepToolDriver<THandle>(): ToolDriver<FsGrepToolNode<THandle>, THandle>;Defined in: fs/src/executors/fs-read-tool-drivers.ts:82
Creates the workspace-jailed ToolDriver for FsGrepToolNode (fs:grep / grep_files).
Searches workspace files matching args.glob against regular expression args.pattern and formats matching lines as path:lineNumber:lineText.
Type Parameters
| Type Parameter | Default type | Description |
|---|---|---|
THandle | unknown | Runtime handle type of the active isolation scope. |
Returns
ToolDriver<FsGrepToolNode<THandle>, THandle>
Frozen fs:grep tool driver.