Uses of Record Class
dev.langchain4j.mcp.client.McpCallContext
Packages that use McpCallContext
Package
Description
-
Uses of McpCallContext in dev.langchain4j.mcp.client
Subinterfaces with type arguments of type McpCallContext in dev.langchain4j.mcp.clientModifier and TypeInterfaceDescriptioninterfaceA functional interface that supplies HTTP headers for MCP client requests based on the givenMcpCallContext.Methods in dev.langchain4j.mcp.client with parameters of type McpCallContextModifier and TypeMethodDescriptiondefault voidMcpClientListener.afterExecuteTool(McpCallContext context, ToolExecutionResult result, Map<String, Object> rawResult) default voidMcpClientListener.afterPromptGet(McpCallContext context, McpGetPromptResult result, Map<String, Object> rawResult) default voidMcpClientListener.afterResourceGet(McpCallContext context, McpReadResourceResult result, Map<String, Object> rawResult) default voidMcpClientListener.beforeExecuteTool(McpCallContext context) default voidMcpClientListener.beforePromptGet(McpCallContext context) default voidMcpClientListener.beforeResourceGet(McpCallContext context) default voidMcpClientListener.onExecuteToolError(McpCallContext context, Throwable error) default voidMcpClientListener.onPromptGetError(McpCallContext context, Throwable error) default voidMcpClientListener.onResourceGetError(McpCallContext context, Throwable error) -
Uses of McpCallContext in dev.langchain4j.mcp.client.transport
Methods in dev.langchain4j.mcp.client.transport with parameters of type McpCallContextModifier and TypeMethodDescriptionvoidMcpTransport.executeOperationWithoutResponse(McpCallContext context) Sends a message that does not expect a response from the server - either a client-initiated notification or a response to a server-initiated request.CompletableFuture<com.fasterxml.jackson.databind.JsonNode> McpTransport.executeOperationWithResponse(McpCallContext context) Executes an operation that expects a response from the server. -
Uses of McpCallContext in dev.langchain4j.mcp.client.transport.docker
Methods in dev.langchain4j.mcp.client.transport.docker with parameters of type McpCallContextModifier and TypeMethodDescriptionvoidDockerMcpTransport.executeOperationWithoutResponse(McpCallContext context) CompletableFuture<com.fasterxml.jackson.databind.JsonNode> DockerMcpTransport.executeOperationWithResponse(McpCallContext context) -
Uses of McpCallContext in dev.langchain4j.mcp.client.transport.http
Methods in dev.langchain4j.mcp.client.transport.http with parameters of type McpCallContextModifier and TypeMethodDescriptionvoidHttpMcpTransport.executeOperationWithoutResponse(McpCallContext context) Deprecated, for removal: This API element is subject to removal in a future version.voidStreamableHttpMcpTransport.executeOperationWithoutResponse(McpCallContext context) CompletableFuture<com.fasterxml.jackson.databind.JsonNode> HttpMcpTransport.executeOperationWithResponse(McpCallContext context) Deprecated, for removal: This API element is subject to removal in a future version.CompletableFuture<com.fasterxml.jackson.databind.JsonNode> StreamableHttpMcpTransport.executeOperationWithResponse(McpCallContext context) -
Uses of McpCallContext in dev.langchain4j.mcp.client.transport.stdio
Methods in dev.langchain4j.mcp.client.transport.stdio with parameters of type McpCallContextModifier and TypeMethodDescriptionvoidStdioMcpTransport.executeOperationWithoutResponse(McpCallContext context) CompletableFuture<com.fasterxml.jackson.databind.JsonNode> StdioMcpTransport.executeOperationWithResponse(McpCallContext context) -
Uses of McpCallContext in dev.langchain4j.mcp.client.transport.websocket
Methods in dev.langchain4j.mcp.client.transport.websocket with parameters of type McpCallContextModifier and TypeMethodDescriptionvoidWebSocketMcpTransport.executeOperationWithoutResponse(McpCallContext context) CompletableFuture<com.fasterxml.jackson.databind.JsonNode> WebSocketMcpTransport.executeOperationWithResponse(McpCallContext context)