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