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