返回文档
正在准备搜索索引...
搜索索引不可用
API 参考
API 参考
langgraph/prebuilt
ToolExecutorArgs
接口 ToolExecutorArgs
已弃用
请改用
ToolNode
。
interface
ToolExecutorArgs
{
invalidToolMsgTemplate
?:
string
;
tools
:
(
StructuredToolInterface
<
ToolInputSchemaBase
,
any
,
any
>
|
RunnableToolLike
<
InteropZodType
,
unknown
>
)
[]
;
}
索引
属性
invalid
Tool
Msg
Template?
tools
属性
可选
invalid
Tool
Msg
Template
invalid
Tool
Msg
Template
?:
string
默认值
{
INVALID_TOOL_MSG_TEMPLATE
}
Copy
tools
tools
:
(
StructuredToolInterface
<
ToolInputSchemaBase
,
any
,
any
>
|
RunnableToolLike
<
InteropZodType
,
unknown
>
)
[]
设置
成员可见性
受保护
继承
外部
主题
操作系统
浅色
深色
本页内容
invalid
Tool
Msg
Template
tools
API 参考
加载中...
已弃用
请改用 ToolNode。