v0.2
v0.1
Preparing search index...
The search index is not available
LangChain.js - v0.2.14
LangChain.js
langchain/tools
ReadFileTool
Class ReadFileTool
Class for reading files from the disk. Extends the StructuredTool class.
Hierarchy (
view full
)
Toolkit
ReadFileTool
Index
Constructors
constructor
Properties
description
name
schema
store
Constructors
constructor
new
Read
File
Tool
(
__namedParameters
)
:
ReadFileTool
Parameters
__namedParameters
:
ReadFileParams
Returns
ReadFileTool
Properties
description
description
:
string
= "Read file from disk"
name
name
:
string
= "read_file"
schema
schema
:
ZodObject
<
{
file_path
:
ZodString
;
}
,
"strip"
,
ZodTypeAny
,
{
file_path
:
string
;
}
,
{
file_path
:
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 reading files from the disk. Extends the StructuredTool class.