Class WriteFileTool

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

Hierarchy

  • StructuredTool
    • WriteFileTool

Constructors

Properties

Constructors

  • Parameters

    • __namedParameters: WriteFileParams

    Returns WriteFileTool

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

Generated using TypeDoc