Function: createFsEditToolDriver()
ts
function createFsEditToolDriver<THandle>(): ToolDriver<FsEditToolNode<THandle>, THandle>;Defined in: fs/src/executors/fs-write-tool-drivers.ts:26
Creates the workspace-jailed ToolDriver for FsEditToolNode (fs:edit / edit_file).
Emits synchronous FsToolEffect write descriptors (mutatesScope: true) populated with existingPathsAtBaseRef and proposedContent, and replaces oldString with newString.
Type Parameters
| Type Parameter | Default type | Description |
|---|---|---|
THandle | unknown | Runtime handle type of the active isolation scope. |
Returns
ToolDriver<FsEditToolNode<THandle>, THandle>
Frozen fs:edit tool driver.