Uses of Record Class
io.modelcontextprotocol.server.McpServerFeatures.SyncPromptSpecification
Packages that use McpServerFeatures.SyncPromptSpecification
-
Uses of McpServerFeatures.SyncPromptSpecification in io.modelcontextprotocol.server
Methods in io.modelcontextprotocol.server with parameters of type McpServerFeatures.SyncPromptSpecificationModifier and TypeMethodDescriptionvoidMcpSyncServer.addPrompt(McpServerFeatures.SyncPromptSpecification promptSpecification) Add a new prompt handler.McpServer.SyncSpecification.prompts(McpServerFeatures.SyncPromptSpecification... prompts) Registers multiple prompts with their handlers using varargs.Method parameters in io.modelcontextprotocol.server with type arguments of type McpServerFeatures.SyncPromptSpecificationModifier and TypeMethodDescriptionMcpServer.SyncSpecification.prompts(List<McpServerFeatures.SyncPromptSpecification> prompts) Registers multiple prompts with their handlers using a List.McpServer.SyncSpecification.prompts(Map<String, McpServerFeatures.SyncPromptSpecification> prompts) Registers multiple prompts with their handlers using a Map.