Back to documentation
Preparing search index...
The search index is not available
API Reference
API Reference
langgraph/prebuilt
createFunctionCallingExecutor
Function createFunctionCallingExecutor
create
Function
Calling
Executor
<
Model
>
(
__namedParameters
)
:
CompiledStateGraph
<
FunctionCallingExecutorState
,
Partial
<
FunctionCallingExecutorState
>
,
typeof
START
|
"agent"
|
"action"
>
Type Parameters
Model
extends
object
Parameters
__namedParameters
:
{
model
:
Model
;
tools
:
(
RunnableToolLike
<
ZodType
<
any
,
ZodTypeDef
,
any
>
,
unknown
>
|
StructuredToolInterface
<
ZodObjectAny
>
)
[]
|
ToolExecutor
;
}
model
:
Model
tools
:
(
RunnableToolLike
<
ZodType
<
any
,
ZodTypeDef
,
any
>
,
unknown
>
|
StructuredToolInterface
<
ZodObjectAny
>
)
[]
|
ToolExecutor
Returns
CompiledStateGraph
<
FunctionCallingExecutorState
,
Partial
<
FunctionCallingExecutorState
>
,
typeof
START
|
"agent"
|
"action"
>
Deprecated
Use
createReactAgent
instead with tool calling.
Settings
Member Visibility
Protected
Private
Inherited
External
Theme
OS
Light
Dark
API Reference
Loading...
Deprecated
Use createReactAgent instead with tool calling.