Class ReadFileTool

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

Hierarchy

  • StructuredTool
    • ReadFileTool

Constructors

Properties

Constructors

  • Parameters

    • __namedParameters: ReadFileParams

    Returns ReadFileTool

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

Generated using TypeDoc