Function: createFsWriteToolDriver()
ts
function createFsWriteToolDriver<THandle>(): ToolDriver<FsWriteToolNode<THandle>, THandle>;Defined in: fs/src/executors/fs-write-tool-drivers.ts:50
Creates the workspace-jailed ToolDriver for FsWriteToolNode (fs:write / write_file).
Emits synchronous FsToolEffect write descriptors (mutatesScope: true) populated with existingPathsAtBaseRef and proposedContent, and writes UTF-8 text to disk.
Type Parameters
| Type Parameter | Default type | Description |
|---|---|---|
THandle | unknown | Runtime handle type of the active isolation scope. |
Returns
ToolDriver<FsWriteToolNode<THandle>, THandle>
Frozen fs:write tool driver.