Uses of Class
io.modelcontextprotocol.server.McpStatelessServerFeatures.AsyncToolSpecification.Builder
Packages that use McpStatelessServerFeatures.AsyncToolSpecification.Builder
-
Uses of McpStatelessServerFeatures.AsyncToolSpecification.Builder in io.modelcontextprotocol.server
Methods in io.modelcontextprotocol.server that return McpStatelessServerFeatures.AsyncToolSpecification.BuilderModifier and TypeMethodDescriptionMcpStatelessServerFeatures.AsyncToolSpecification.builder()Creates a new builder instance.McpStatelessServerFeatures.AsyncToolSpecification.Builder.callHandler(BiFunction<McpTransportContext, McpSchema.CallToolRequest, reactor.core.publisher.Mono<McpSchema.CallToolResult>> callHandler) Sets the call tool handler function.McpStatelessServerFeatures.AsyncToolSpecification.Builder.tool(McpSchema.Tool tool) Sets the tool definition.