Uses of Interface
dev.langchain4j.agentic.internal.McpClientBuilder
Packages that use McpClientBuilder
-
Uses of McpClientBuilder in dev.langchain4j.agentic.internal
Methods in dev.langchain4j.agentic.internal that return McpClientBuilderModifier and TypeMethodDescriptionMcpClientBuilder.activationCondition(String description, Predicate<AgenticScope> activationCondition) Sets the condition, with its description, under which the agent runs when it is invoked as a subagent of an agentic system.default McpClientBuilder<T> McpClientBuilder.activationCondition(Predicate<AgenticScope> activationCondition) Sets the condition under which the agent runs when it is invoked as a subagent of an agentic system.McpClientBuilder.async(boolean async) Sets whether the agent should be invoked asynchronously, allowing the workflow to continue without waiting for the agent's result.McpClientBuilder.description(String description) Sets the description of the agent, used by the supervisor and the other planners to decide when to invoke it.Sets the names of the input parameters of the MCP tool, read from the agentic scope when the agent is invoked.McpClientBuilder.listener(AgentListener agentListener) <T> McpClientBuilder<T> McpService.DummyMcpService.mcpBuilder(Supplier<Object> mcpClientSupplier, Class<?> mcpClientType, Class<T> agentServiceClass) <T> McpClientBuilder<T> McpService.mcpBuilder(Supplier<Object> mcpClientSupplier, Class<?> mcpClientType, Class<T> agentServiceClass) Creates the builder of an MCP client agent.Sets the name of the agent, from which its id in the reports, in the agents list sent to a supervisor and in the error handler context is derived.McpClientBuilder.resolutionTimeout(Duration resolutionTimeout) Sets the time given to the resolution of the MCP tool, that is the creation of the MCP client by its supplier and the listing of the tools of the MCP server, which happens the first time the tool is needed, normally on the first invocation of the agent.Sets the name of the MCP tool bound by the agent. -
Uses of McpClientBuilder in dev.langchain4j.agentic.mcp
Classes in dev.langchain4j.agentic.mcp that implement McpClientBuilderMethods in dev.langchain4j.agentic.mcp that return McpClientBuilderModifier and TypeMethodDescriptionDefaultMcpClientBuilder.activationCondition(String description, Predicate<AgenticScope> activationCondition) DefaultMcpClientBuilder.async(boolean async) static McpClientBuilder<UntypedAgent> Creates a builder for an untyped MCP client agent.static <T> McpClientBuilder<T> Creates a builder for a typed MCP client agent implementing the given agent service interface.static McpClientBuilder<UntypedAgent> Creates a builder for an untyped MCP client agent whose MCP client is created lazily.static <T> McpClientBuilder<T> Creates a builder for a typed MCP client agent implementing the given agent service interface, whose MCP client is created lazily.DefaultMcpClientBuilder.description(String description) DefaultMcpClientBuilder.listener(AgentListener agentListener) <T> McpClientBuilder<T> DefaultMcpService.mcpBuilder(Supplier<Object> mcpClientSupplier, Class<?> mcpClientType, Class<T> agentServiceClass) DefaultMcpClientBuilder.resolutionTimeout(Duration resolutionTimeout)