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