Uses of Class
dev.langchain4j.mcp.McpToolProvider.Builder
-
Uses of McpToolProvider.Builder in dev.langchain4j.mcp
Modifier and TypeMethodDescriptionstatic McpToolProvider.Builder
McpToolProvider.builder()
McpToolProvider.Builder.failIfOneServerFails
(boolean failIfOneServerFails) If this is true, then the tool provider will throw an exception if it fails to list tools from any of the servers.McpToolProvider.Builder.mcpClients
(McpClient... mcpClients) The list of MCP clients to use for retrieving tools.McpToolProvider.Builder.mcpClients
(List<McpClient> mcpClients) The list of MCP clients to use for retrieving tools.