Class for reading files from the disk. Extends the StructuredTool class.

Hierarchy

Constructors

Properties

Constructors

Properties

description: string = "Read file from disk"
name: string = "read_file"
schema: ZodObject<{
    file_path: ZodString;
}, "strip", ZodTypeAny, {
    file_path: string;
}, {
    file_path: string;
}> = ...

Type declaration

  • file_path: ZodString

Type declaration

  • file_path: string

Type declaration

  • file_path: string
store: BaseFileStore

Generated using TypeDoc