Uses of Class
dev.langchain4j.mcp.client.DefaultMcpClient.Builder
-
Uses of DefaultMcpClient.Builder in dev.langchain4j.mcp.client
Modifier 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.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)