Class SyncMcpToolListChangedMethodCallback

java.lang.Object
org.springaicommunity.mcp.method.changed.tool.AbstractMcpToolListChangedMethodCallback
org.springaicommunity.mcp.method.changed.tool.SyncMcpToolListChangedMethodCallback
All Implemented Interfaces:
Consumer<List<io.modelcontextprotocol.spec.McpSchema.Tool>>

public final class SyncMcpToolListChangedMethodCallback extends AbstractMcpToolListChangedMethodCallback implements Consumer<List<io.modelcontextprotocol.spec.McpSchema.Tool>>
Class for creating Consumer callbacks around tool list changed consumer methods. This class provides a way to convert methods annotated with McpToolListChanged into callback functions that can be used to handle tool list change notifications. It supports methods with a single List<McpSchema.Tool> parameter.
Author:
Christian Tzolov