Skip to content

Interface: FsGrepToolNode<THandle> ​

Defined in: core/dist/ast/domain/fs-grep-tool-node.d.ts:11

Passive AST node for the workspace-jailed content search tool (fs:grep).

Searches workspace files inside the active isolation scope against regular expression patterns and returns matching lines with file and line numbers.

Extends ​

Type Parameters ​

Type ParameterDefault typeDescription
THandleunknownIsolation scope handle type.

Properties ​

PropertyModifierTypeDescriptionInherited fromDefined in
__handleBrand?readonlyBivariantCallback<[handle: THandle], void>Phantom type brand binding the tool to its compatible scope handle type.BaseToolASTNode.__handleBrandcore/dist/ast/base/base-tool-ast-node.d.ts:25
descriptionreadonlystringHuman- and LLM-readable description of the tool's behavior.BaseToolASTNode.descriptioncore/dist/ast/base/base-tool-ast-node.d.ts:19
effectTrackingreadonly"declared"Static indicator of whether effects are predicted pre-flight or diffed post-flight.BaseToolASTNode.effectTrackingcore/dist/ast/base/base-tool-ast-node.d.ts:23
inputSchemareadonlyZodTypeAnyZod schema validating tool call arguments before execution.BaseToolASTNode.inputSchemacore/dist/ast/base/base-tool-ast-node.d.ts:21
namereadonlystringWire-level tool function name exposed to the LLM.BaseToolASTNode.namecore/dist/ast/base/base-tool-ast-node.d.ts:17
runnerreadonlyNodeRunnerNodeRunner pool associated with the filesystem tool bundle.-core/dist/ast/domain/fs-grep-tool-node.d.ts:13
typereadonly"fs:grep"Unique string-literal discriminant of the tool node.BaseToolASTNode.typecore/dist/ast/base/base-tool-ast-node.d.ts:15

Released under the MIT License.