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