LangGraph.js API Reference
Back to documentation
Preparing search index...
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
Back to documentation
LangGraph.js API Reference
Loading...
Deprecated
Use createReactAgent instead with tool calling.