Class McpToolRegistration<A>

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

@ThreadSafe public final class McpToolRegistration<A> extends Object
Immutable programmatic registration for one MCP tool.

Registration is staged: choose a name, choose typed, fixed raw-JSON, or authored-schema raw-JSON arguments, provide a handler, configure optional metadata, and explicitly call build(). Typed and authored schemas and their binding plans compile synchronously while the required inputs are still in hand. A typed-output stage can select an always-complete handler, an inline advanced handler, or a statically task-required operation handler while retaining the same output contract.

Author:
Mark Allen