FileToolProviderContext
Defined in: packages/tools/src/file/provider.ts:128
Properties
Section titled “Properties”allowRead?
Section titled “allowRead?”
optionalallowRead?: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.
allowWrite?
Section titled “allowWrite?”
optionalallowWrite?: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.
denyRead?
Section titled “denyRead?”
optionaldenyRead?:string[]
Defined in: packages/tools/src/file/provider.ts:142
Overrides options.denyRead for this call.
denyWrite?
Section titled “denyWrite?”
optionaldenyWrite?:string[]
Defined in: packages/tools/src/file/provider.ts:144
Overrides options.denyWrite for this call.
maxReadBytes?
Section titled “maxReadBytes?”
optionalmaxReadBytes?:number
Defined in: packages/tools/src/file/provider.ts:146
Overrides options.maxReadBytes for this call.
maxWriteBytes?
Section titled “maxWriteBytes?”
optionalmaxWriteBytes?:number
Defined in: packages/tools/src/file/provider.ts:148
Overrides options.maxWriteBytes for this call.
optionalroot?:string
Defined in: packages/tools/src/file/provider.ts:130
Overrides options.root for this call.