v0.2
v0.1
Preparing search index...
The search index is not available
LangChain.js - v0.2.5
LangChain.js
langchain-core/tools
DynamicToolInput
Interface DynamicToolInput<RunOutput>
Interface for the input parameters of the DynamicTool class.
interface
DynamicToolInput
<
RunOutput
>
{
description
:
string
;
func
:
(
(
input
,
runManager
?
,
config
?
)
=>
Promise
<
RunOutput
>
)
;
name
:
string
;
callbacks
?:
CallbackManager
|
(
BaseCallbackHandlerMethodsClass
|
BaseCallbackHandler
)
[]
;
metadata
?:
Record
<
string
,
unknown
>
;
returnDirect
?:
boolean
;
tags
?:
string
[]
;
verbose
?:
boolean
;
}
Type Parameters
RunOutput
=
any
Hierarchy (
view full
)
BaseDynamicToolInput
DynamicToolInput
Index
Properties
description
func
name
callbacks?
metadata?
return
Direct?
tags?
verbose?
Properties
description
description
:
string
func
func
:
(
(
input
,
runManager
?
,
config
?
)
=>
Promise
<
RunOutput
>
)
Type declaration
(
input
,
runManager
?
,
config
?
)
:
Promise
<
RunOutput
>
Parameters
input
:
string
Optional
runManager
:
CallbackManagerForToolRun
Optional
config
:
RunnableConfig
Returns
Promise
<
RunOutput
>
name
name
:
string
Optional
callbacks
callbacks
?:
CallbackManager
|
(
BaseCallbackHandlerMethodsClass
|
BaseCallbackHandler
)
[]
Optional
metadata
metadata
?:
Record
<
string
,
unknown
>
Optional
return
Direct
return
Direct
?:
boolean
Optional
tags
tags
?:
string
[]
Optional
verbose
verbose
?:
boolean
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
On This Page
description
func
name
callbacks
metadata
return
Direct
tags
verbose
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
Interface for the input parameters of the DynamicTool class.