Skip to content

Interface: FsEditToolNode<THandle> ​

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

Passive AST node for the workspace-jailed file editing tool (fs:edit).

Applies exact string replacements to an existing file inside the active isolation scope and emits a declared FsToolEffect write record.

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-edit-tool-node.d.ts:13
typereadonly"fs:edit"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.