Function: createFsReadToolDriver()
ts
function createFsReadToolDriver<THandle>(): ToolDriver<FsReadToolNode<THandle>, THandle>;Defined in: fs/src/executors/fs-read-tool-drivers.ts:30
Creates the workspace-jailed ToolDriver for FsReadToolNode (fs:read / read_file).
Emits synchronous FsToolEffect read records (mutatesScope: false) and reads UTF-8 file text after verifying realpathSync containment inside the active worktree.
Type Parameters
| Type Parameter | Default type | Description |
|---|---|---|
THandle | unknown | Runtime handle type of the active isolation scope. |
Returns
ToolDriver<FsReadToolNode<THandle>, THandle>
Frozen fs:read tool driver.