Skip to content

FileToolsOptions

Defined in: file/tools.ts:18

optional maxReadBytes?: number

Defined in: file/tools.ts:25

Refuse to read a file over this many bytes. Default 1,000,000 (1 MB).


optional maxWriteBytes?: number

Defined in: file/tools.ts:27

Refuse to write more than this many bytes. Default 1,000,000 (1 MB).


root: string

Defined in: file/tools.ts:23

Directory every path is confined to. Resolved (and symlink-checked) lazily on first tool call, not at createFileTools time.