Back to documentation
  • Preparing search index...
  • The search index is not available
API Reference
  • API Reference
  • langgraph/prebuilt
  • createFunctionCallingExecutor

Function createFunctionCallingExecutor

  • createFunctionCallingExecutor<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.

    • Defined in libs/langgraph/dist/prebuilt/chat_agent_executor.d.ts:12

Settings

Member Visibility

Theme

API Reference
  • Loading...

Generated using TypeDoc