v0.2
v0.1
Preparing search index...
The search index is not available
LangChain.js - v0.2.5
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
;
}
>
= ...
Type declaration
file_
path
:
ZodString
Type declaration
file_
path
:
string
Type declaration
file_
path
:
string
store
store
:
BaseFileStore
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
On This Page
constructor
description
name
schema
store
LangChain.js - v0.2.5
langchain-anthropic
langchain-azure-openai
langchain-cloudflare
langchain-cohere
langchain-community
agents/toolkits
aws_sfn
base
connery
caches
cloudflare_kv
ioredis
momento
upstash_redis
callbacks/handlers
llmonitor
lunary
upstash_ratelimit
chains/graph_qa/cypher
chat_models
alibaba_tongyi
Loading...
Generated using
TypeDoc
Class for reading files from the disk. Extends the StructuredTool class.