langchain.js
    Preparing search index...

    Function createFunctionCallingExecutor

    • 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",
      >

      Use createReactAgent instead with tool calling.