v0.2
v0.1
Preparing search index...
The search index is not available
LangChain.js - v0.2.8
LangChain.js
langchain-core/tools
DynamicStructuredToolInput
Interface DynamicStructuredToolInput<T>
Interface for the input parameters of the DynamicStructuredTool class.
interface
DynamicStructuredToolInput
<
T
>
{
description
:
string
;
func
:
(
(
input
:
TypeOf
<
T
>
,
runManager
?:
CallbackManagerForToolRun
,
config
?:
RunnableConfig
)
=>
Promise
<
string
>
)
;
name
:
string
;
schema
:
T
;
callbacks
?:
Callbacks
;
metadata
?:
Record
<
string
,
unknown
>
;
returnDirect
?:
boolean
;
tags
?:
string
[]
;
verbose
?:
boolean
;
}
Type Parameters
T
extends
ZodAny
=
ZodAny
Hierarchy (
view full
)
BaseDynamicToolInput
DynamicStructuredToolInput
Index
Properties
description
func
name
schema
callbacks?
metadata?
return
Direct?
tags?
verbose?
Properties
description
description
:
string
func
func
:
(
(
input
:
TypeOf
<
T
>
,
runManager
?:
CallbackManagerForToolRun
,
config
?:
RunnableConfig
)
=>
Promise
<
string
>
)
name
name
:
string
schema
schema
:
T
Optional
callbacks
callbacks
?:
Callbacks
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
Properties
description
func
name
schema
callbacks
metadata
return
Direct
tags
verbose
LangChain.js - v0.2.8
Loading...
Interface for the input parameters of the DynamicStructuredTool class.