FileAccessInfo
Defined in: packages/tools/src/file/provider.ts:35
The describeFileEnv tool’s payload — see createFileToolProvider.
Properties
Section titled “Properties”allowRead
Section titled “allowRead”allowRead:
ModelAllowRead
Defined in: packages/tools/src/file/provider.ts:42
Paths readFile may read, or UNBOUNDED_ALLOW_READ when reads are not confined.
Always the resolved default — omitted allowRead reports [root]; null reports [].
allowWrite
Section titled “allowWrite”allowWrite:
string[]
Defined in: packages/tools/src/file/provider.ts:49
Paths writeFile / editFile may write. Omitted factory allowWrite reports [root];
[] reports no writes.
denyRead
Section titled “denyRead”denyRead:
string[]
Defined in: packages/tools/src/file/provider.ts:44
Paths hidden from readFile. Empty when the caller set none.
denyWrite
Section titled “denyWrite”denyWrite:
string[]
Defined in: packages/tools/src/file/provider.ts:51
Paths denied for writes. Empty when the caller set none.
maxReadBytes
Section titled “maxReadBytes”maxReadBytes:
number
Defined in: packages/tools/src/file/provider.ts:52
maxWriteBytes
Section titled “maxWriteBytes”maxWriteBytes:
number
Defined in: packages/tools/src/file/provider.ts:53
root:
string
Defined in: packages/tools/src/file/provider.ts:37
Relative-path base and omit-default for allow lists.