Class AsyncMcpToolListChangedMethodCallback

java.lang.Object
org.springaicommunity.mcp.method.changed.tool.AbstractMcpToolListChangedMethodCallback
org.springaicommunity.mcp.method.changed.tool.AsyncMcpToolListChangedMethodCallback
All Implemented Interfaces:
Function<List<io.modelcontextprotocol.spec.McpSchema.Tool>,reactor.core.publisher.Mono<Void>>

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