Uses of Class
org.springframework.ai.mcp.AsyncMcpToolCallback.Builder
Packages that use AsyncMcpToolCallback.Builder
Package
Description
Core support for Model Context Protocol (MCP) integration in Spring AI.
-
Uses of AsyncMcpToolCallback.Builder in org.springframework.ai.mcp
Methods in org.springframework.ai.mcp that return AsyncMcpToolCallback.BuilderModifier and TypeMethodDescriptionstatic AsyncMcpToolCallback.BuilderAsyncMcpToolCallback.builder()Creates a builder for constructing AsyncMcpToolCallback instances.AsyncMcpToolCallback.Builder.mcpClient(io.modelcontextprotocol.client.McpAsyncClient mcpClient) Sets the MCP client for tool execution.AsyncMcpToolCallback.Builder.prefixedToolName(String prefixedToolName) Sets the prefixed tool name for the tool definition.AsyncMcpToolCallback.Builder.tool(io.modelcontextprotocol.spec.McpSchema.Tool tool) Sets the MCP tool to adapt.AsyncMcpToolCallback.Builder.toolContextToMcpMetaConverter(ToolContextToMcpMetaConverter toolContextToMcpMetaConverter) Sets the converter for tool context to MCP metadata transformation.