Package org.springframework.ai.mcp.annotation.method.elicitation
package org.springframework.ai.mcp.annotation.method.elicitation
Method callbacks and specifications for MCP elicitation (user input) requests.
-
ClassDescriptionAbstract base class for creating callbacks around elicitation methods.AbstractMcpElicitationMethodCallback.AbstractBuilder<T extends AbstractMcpElicitationMethodCallback.AbstractBuilder<T,
R>, R> Abstract builder for creating McpElicitationMethodCallback instances.Exception thrown when there is an error invoking an elicitation method.Class for creating Function callbacks around elicitation methods that return Mono.Builder for creating AsyncMcpElicitationMethodCallback instances.A reactive elicitation handler for the connections that speak the 2026-07-28 ("modern") MCP revision, the counterpart ofAsyncElicitationSpecification.Class for creating Function callbacks around elicitation methods.Builder for creating SyncMcpElicitationMethodCallback instances.An elicitation handler for the connections that speak the 2026-07-28 ("modern") MCP revision, the counterpart ofSyncElicitationSpecification.