Skip to main content

Interface: FilesystemToolsOptions

Defined in: filesystem.ts:69

Properties​

describe?​

optional describe?: Partial<Record<FilesystemToolName, string>>

Defined in: filesystem.ts:87

Model-facing descriptions that replace the defaults, by tool name.


elevateRoot?​

optional elevateRoot?: string

Defined in: filesystem.ts:80

A second root a call reaches by passing outside_workspace: true. Such a call always needs approval, and describeApproval reports it as elevated. Without it the tools offer no such argument.


ignoreFilter?​

optional ignoreFilter?: IgnoreFilter

Defined in: filesystem.ts:85

Leaves entries out of list_directory output to keep it lean. Explicit reads, writes and edits are not gated by it.


root​

root: string | (() => string)

Defined in: filesystem.ts:74

Paths resolve against this directory and must stay inside it. A function is read on every call (the static tools use the process's cwd).