Skip to content

Interface: LocalCommandToolNode<THandle> ​

Defined in: core/dist/ast/domain/local-command-tool-node.d.ts:11

Passive AST node adapting a LocalCommandNode into a post-flight-diffed ToolASTNode (cmd.asTool()).

Sets effectTracking: 'subprocess-post-flight' so workspace mutations are always verified via CheckpointableScope.diffEffects().

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
commandreadonlyLocalCommandNode<unknown, unknown, THandle>Underlying one-shot command node invoked by the tool.-core/dist/ast/domain/local-command-tool-node.d.ts:13
descriptionreadonlystringHuman- and LLM-readable description of the tool's behavior.BaseToolASTNode.descriptioncore/dist/ast/base/base-tool-ast-node.d.ts:19
effectTrackingreadonly"subprocess-post-flight"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
typereadonly"node:command-tool"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.