Class McpToolRegistration.OperationHandlerStage<A>

java.lang.Object
com.soklet.McpToolRegistration.OperationHandlerStage<A>
Type Parameters:
A - argument type
Enclosing class:
McpToolRegistration<A>

Handler-selection stage for the advanced operation-result path.

This path does not statically require Tasks because a handler may choose an inline result. A handler that conditionally creates a task must first check McpInvocationFeatures.getTaskCreationContext(). To declare that every invocation requires Tasks while retaining a typed eventual output schema, use McpToolRegistration.CompleteHandlerStage.operationHandler(McpToolHandler).

Author:
Mark Allen