Class SyncMcpPromptListChangedMethodCallback

java.lang.Object
org.springaicommunity.mcp.method.changed.prompt.AbstractMcpPromptListChangedMethodCallback
org.springaicommunity.mcp.method.changed.prompt.SyncMcpPromptListChangedMethodCallback
All Implemented Interfaces:
Consumer<List<io.modelcontextprotocol.spec.McpSchema.Prompt>>

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