Skip to content

FileToolProviderContext

Defined in: packages/tools/src/file/provider.ts:128

optional allowRead?: FileAllowRead

Defined in: packages/tools/src/file/provider.ts:135

Overrides options.allowRead for this call. Omitted means [root] (when options also omit it). UNBOUNDED_ALLOW_READ is host-wide; null means nothing can be read.


optional allowWrite?: string[]

Defined in: packages/tools/src/file/provider.ts:140

Overrides options.allowWrite for this call. Omitted keeps the options default ([root] when both omit). [] — no writes.


optional denyRead?: string[]

Defined in: packages/tools/src/file/provider.ts:142

Overrides options.denyRead for this call.


optional denyWrite?: string[]

Defined in: packages/tools/src/file/provider.ts:144

Overrides options.denyWrite for this call.


optional maxReadBytes?: number

Defined in: packages/tools/src/file/provider.ts:146

Overrides options.maxReadBytes for this call.


optional maxWriteBytes?: number

Defined in: packages/tools/src/file/provider.ts:148

Overrides options.maxWriteBytes for this call.


optional root?: string

Defined in: packages/tools/src/file/provider.ts:130

Overrides options.root for this call.