Uses of Record Class
io.modelcontextprotocol.spec.McpSchema.Prompt
Packages that use McpSchema.Prompt
Package
Description
-
Uses of McpSchema.Prompt in io.modelcontextprotocol.client
Method parameters in io.modelcontextprotocol.client with type arguments of type McpSchema.PromptModifier and TypeMethodDescriptionMcpClient.AsyncSpec.promptsChangeConsumer(Function<List<McpSchema.Prompt>, reactor.core.publisher.Mono<Void>> promptsChangeConsumer) Adds a consumer to be notified when the available prompts change.McpClient.SyncSpec.promptsChangeConsumer(Consumer<List<McpSchema.Prompt>> promptsChangeConsumer) Adds a consumer to be notified when the available prompts change. -
Uses of McpSchema.Prompt in io.modelcontextprotocol.server
Methods in io.modelcontextprotocol.server that return McpSchema.PromptModifier and TypeMethodDescriptionMcpServerFeatures.AsyncPromptSpecification.prompt()Returns the value of thepromptrecord component.McpServerFeatures.SyncPromptSpecification.prompt()Returns the value of thepromptrecord component.Constructors in io.modelcontextprotocol.server with parameters of type McpSchema.PromptModifierConstructorDescriptionAsyncPromptSpecification(McpSchema.Prompt prompt, BiFunction<McpAsyncServerExchange, McpSchema.GetPromptRequest, reactor.core.publisher.Mono<McpSchema.GetPromptResult>> promptHandler) Creates an instance of aAsyncPromptSpecificationrecord class.SyncPromptSpecification(McpSchema.Prompt prompt, BiFunction<McpSyncServerExchange, McpSchema.GetPromptRequest, McpSchema.GetPromptResult> promptHandler) Creates an instance of aSyncPromptSpecificationrecord class. -
Uses of McpSchema.Prompt in io.modelcontextprotocol.spec
Methods in io.modelcontextprotocol.spec that return types with arguments of type McpSchema.PromptModifier and TypeMethodDescriptionMcpSchema.ListPromptsResult.prompts()Returns the value of thepromptsrecord component.Constructor parameters in io.modelcontextprotocol.spec with type arguments of type McpSchema.PromptModifierConstructorDescriptionListPromptsResult(List<McpSchema.Prompt> prompts, String nextCursor) Creates an instance of aListPromptsResultrecord class.