FileToolsOptions
Defined in: file/tools.ts:18
Properties
Section titled “Properties”maxReadBytes?
Section titled “maxReadBytes?”
optionalmaxReadBytes?:number
Defined in: file/tools.ts:25
Refuse to read a file over this many bytes. Default 1,000,000 (1 MB).
maxWriteBytes?
Section titled “maxWriteBytes?”
optionalmaxWriteBytes?: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.