Uses of Class
dev.langchain4j.mcp.protocol.McpClientMessage
Packages that use McpClientMessage
Package
Description
-
Uses of McpClientMessage in dev.langchain4j.mcp.client
Methods in dev.langchain4j.mcp.client that return McpClientMessageModifier and TypeMethodDescriptionMcpCallContext.message()Returns the value of themessagerecord component.Constructors in dev.langchain4j.mcp.client with parameters of type McpClientMessageModifierConstructorDescriptionMcpCallContext(@Nullable InvocationContext invocationContext, McpClientMessage message) McpCallContext(@Nullable InvocationContext invocationContext, McpClientMessage message, @Nullable Map<String, String> mcpParamHeaders) Creates an instance of aMcpCallContextrecord class. -
Uses of McpClientMessage in dev.langchain4j.mcp.client.transport
Methods in dev.langchain4j.mcp.client.transport with parameters of type McpClientMessageModifier and TypeMethodDescriptiondefault voidMcpTransport.sendMessage(McpClientMessage request) Sends a message that does not expect a reply and carries no per-call headers or_meta.default CompletableFuture<String> McpTransport.sendRequest(McpClientMessage request) Sends a JSON-RPC request that carries no per-call headers or_meta, and returns the server's response as unparsed JSON text. -
Uses of McpClientMessage in dev.langchain4j.mcp.protocol
Subclasses of McpClientMessage in dev.langchain4j.mcp.protocolModifier and TypeClassDescriptionclassCorresponds to theCallToolRequesttype from the MCP schema.classCorresponds to theCancelledNotificationtype from the MCP schema.classCorresponds to theJSONRPCNotificationtype from the MCP schema.classCorresponds to theJSONRPCRequesttype from the MCP schema.classCorresponds to theJSONRPCResponsetype from the MCP schema.classCorresponds to theGetPromptRequesttype from the MCP schema.classCorresponds to theInitializedNotificationtype from the MCP schema.classCorresponds to theInitializeRequesttype from the MCP schema.classCorresponds to theListPromptsRequesttype from the MCP schema.classCorresponds to theListResourcesRequesttype from the MCP schema.classCorresponds to theListResourceTemplatesRequesttype from the MCP schema.classCorresponds to theListToolsRequesttype from the MCP schema.classCorresponds to thePingRequesttype from the MCP schema.classCorresponds to theEmptyResulttype from the MCP schema (response to aPingRequest).classCorresponds to theReadResourceRequesttype from the MCP schema.classCorresponds to theRootsListChangedNotificationtype from the MCP schema.classCorresponds to theListRootsResulttype from the MCP schema.classCorresponds to theServerDiscoverRequesttype from the MCP schema.classOnly used with the legacy MCP protocol (versions up to 2025-11-25).classCorresponds to theSubscriptionsListenRequesttype from the MCP schema.classOnly used with the legacy MCP protocol (versions up to 2025-11-25).