Interface: LocalCommandToolNode<THandle>
Defined in: ast/domain/local-command-tool-node.ts:12
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
BaseToolASTNode<"node:command-tool","subprocess-post-flight",THandle>
Type Parameters
| Type Parameter | Default type | Description |
|---|---|---|
THandle | unknown | Isolation scope handle type. |
Properties
| Property | Modifier | Type | Description | Inherited from | Defined in |
|---|---|---|---|---|---|
__handleBrand? | readonly | BivariantCallback<[handle: THandle], void> | Phantom type brand binding the tool to its compatible scope handle type. | BaseToolASTNode.__handleBrand | ast/base/base-tool-ast-node.ts:30 |
command | readonly | LocalCommandNode<unknown, unknown, THandle> | Underlying one-shot command node invoked by the tool. | - | ast/domain/local-command-tool-node.ts:15 |
description | readonly | string | Human- and LLM-readable description of the tool's behavior. | BaseToolASTNode.description | ast/base/base-tool-ast-node.ts:24 |
effectTracking | readonly | "subprocess-post-flight" | Static indicator of whether effects are predicted pre-flight or diffed post-flight. | BaseToolASTNode.effectTracking | ast/base/base-tool-ast-node.ts:28 |
inputSchema | readonly | ZodTypeAny | Zod schema validating tool call arguments before execution. | BaseToolASTNode.inputSchema | ast/base/base-tool-ast-node.ts:26 |
name | readonly | string | Wire-level tool function name exposed to the LLM. | BaseToolASTNode.name | ast/base/base-tool-ast-node.ts:22 |
type | readonly | "node:command-tool" | Unique string-literal discriminant of the tool node. | BaseToolASTNode.type | ast/base/base-tool-ast-node.ts:20 |