Skip to content

describeFileAccess

describeFileAccess(root, maxReadBytes, maxWriteBytes, allowRead?, denyRead?, allowWrite?, denyWrite?): FileAccessInfo

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

Report the bounds actually in effect after factory resolution. Pass factory-level values (including omitted / UNBOUNDED_ALLOW_READ); this applies the same [root] defaults createFileTools does.

string

number

number

FileAllowRead

readonly string[] | null

readonly string[]

readonly string[] | null

FileAccessInfo