Class for writing data to files on the disk. Extends the StructuredTool class.

Hierarchy

  • StructuredTool
    • WriteFileTool

Constructors

Properties

Constructors

Properties

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

Type declaration

  • file_path: ZodString
  • text: ZodString

Type declaration

  • file_path: string
  • text: string

Type declaration

  • file_path: string
  • text: string
store: BaseFileStore

Generated using TypeDoc