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.initializationTimeout
(Duration initializationTimeout) Sets the timeout for initializing the client.DefaultMcpClient.Builder.logHandler
(McpLogMessageHandler logHandler) Sets the log message handler for the client.DefaultMcpClient.Builder.pingTimeout
(Duration pingTimeout) The timeout to apply when waiting for a ping response.DefaultMcpClient.Builder.promptsTimeout
(Duration promptsTimeout) Sets the timeout for prompt-related operations (listing prompts as well as rendering the contents of a prompt).DefaultMcpClient.Builder.protocolVersion
(String protocolVersion) Sets the protocol version that the client will advertise in the initialization message.DefaultMcpClient.Builder.reconnectInterval
(Duration reconnectInterval) The delay before attempting to reconnect after a failed connection.DefaultMcpClient.Builder.resourcesTimeout
(Duration resourcesTimeout) Sets the timeout for resource-related operations (listing resources as well as reading the contents of a resource).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