Uses of Class
io.modelcontextprotocol.server.McpStatelessServerFeatures.SyncToolSpecification.Builder
Packages that use McpStatelessServerFeatures.SyncToolSpecification.Builder
-
Uses of McpStatelessServerFeatures.SyncToolSpecification.Builder in io.modelcontextprotocol.server
Methods in io.modelcontextprotocol.server that return McpStatelessServerFeatures.SyncToolSpecification.BuilderModifier and TypeMethodDescriptionMcpStatelessServerFeatures.SyncToolSpecification.builder()McpStatelessServerFeatures.SyncToolSpecification.Builder.callHandler(BiFunction<McpTransportContext, McpSchema.CallToolRequest, McpSchema.CallToolResult> callHandler) Sets the call tool handler function.McpStatelessServerFeatures.SyncToolSpecification.Builder.tool(McpSchema.Tool tool) Sets the tool definition.