langchain.js
Preparing search index...
@langchain/langgraph
prebuilt
createFunctionCallingExecutor
Function createFunctionCallingExecutor
createFunctionCallingExecutor
<
Model
extends
object
>
(
__namedParameters
:
{
model
:
Model
;
tools
:
|
ToolExecutor
|
(
|
StructuredToolInterface
<
ToolInputSchemaBase
,
any
,
any
>
|
RunnableToolLike
<
InteropZodType
,
unknown
>
)
[]
;
}
,
)
:
CompiledStateGraph
<
FunctionCallingExecutorState
,
Partial
<
FunctionCallingExecutorState
>
,
"__start__"
|
"agent"
|
"action"
,
>
Type Parameters
Model
extends
object
Parameters
__namedParameters
:
{
model
:
Model
;
tools
:
|
ToolExecutor
|
(
|
StructuredToolInterface
<
ToolInputSchemaBase
,
any
,
any
>
|
RunnableToolLike
<
InteropZodType
,
unknown
>
)
[]
;
}
Returns
CompiledStateGraph
<
FunctionCallingExecutorState
,
Partial
<
FunctionCallingExecutorState
>
,
"__start__"
|
"agent"
|
"action"
,
>
Deprecated
Use
createReactAgent
instead with tool calling.
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
langchain.js
Loading...
Deprecated
Use createReactAgent instead with tool calling.