v0.2
v0.1
Preparing search index...
The search index is not available
LangChain.js - v0.2.14
LangChain.js
langchain/tools
WriteFileTool
Class WriteFileTool
Class for writing data to files on the disk. Extends the StructuredTool class.
Hierarchy (
view full
)
Toolkit
WriteFileTool
Index
Constructors
constructor
Properties
description
name
schema
store
Constructors
constructor
new
Write
File
Tool
(
__namedParameters
)
:
WriteFileTool
Parameters
__namedParameters
:
WriteFileParams
Returns
WriteFileTool
Properties
description
description
:
string
= "Write file from disk"
name
name
:
string
= "write_file"
schema
schema
:
ZodObject
<
{
file_path
:
ZodString
;
text
:
ZodString
;
}
,
"strip"
,
ZodTypeAny
,
{
file_path
:
string
;
text
:
string
;
}
,
{
file_path
:
string
;
text
:
string
;
}
>
= ...
store
store
:
BaseFileStore
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
description
name
schema
store
LangChain.js - v0.2.14
Loading...
Class for writing data to files on the disk. Extends the StructuredTool class.