Uses of Class
dev.langchain4j.mcp.client.DefaultMcpClient.Builder
Packages that use DefaultMcpClient.Builder
-
Uses of DefaultMcpClient.Builder in dev.langchain4j.mcp.client
Methods in dev.langchain4j.mcp.client that return DefaultMcpClient.BuilderModifier and TypeMethodDescriptionDefaultMcpClient.Builder.clientName
(String clientName) Sets the name that the client will use to identify itself to the MCP server in the initialization message.DefaultMcpClient.Builder.clientVersion
(String clientVersion) Sets the version string that the client will use to identify itself to the MCP server in the initialization message.DefaultMcpClient.Builder.logHandler
(McpLogMessageHandler logHandler) Sets the log message handler for the client.DefaultMcpClient.Builder.protocolVersion
(String protocolVersion) Sets the protocol version that the client will advertise in the initialization message.DefaultMcpClient.Builder.toolExecutionTimeout
(Duration toolExecutionTimeout) Sets the timeout for tool execution.DefaultMcpClient.Builder.toolExecutionTimeoutErrorMessage
(String toolExecutionTimeoutErrorMessage) Sets the error message to return when a tool execution times out.DefaultMcpClient.Builder.transport
(McpTransport transport) Constructors in dev.langchain4j.mcp.client with parameters of type DefaultMcpClient.Builder