| Package | Description |
|---|---|
| io.modelcontextprotocol.client | |
| io.modelcontextprotocol.spec |
| Modifier and Type | Method and Description |
|---|---|
McpClient.SyncSpec |
McpClient.SyncSpec.promptsChangeConsumer(Consumer<List<McpSchema.Prompt>> promptsChangeConsumer)
Adds a consumer to be notified when the available prompts change.
|
McpClient.AsyncSpec |
McpClient.AsyncSpec.promptsChangeConsumer(Function<List<McpSchema.Prompt>,reactor.core.publisher.Mono<Void>> promptsChangeConsumer)
Adds a consumer to be notified when the available prompts change.
|
| Constructor and Description |
|---|
ListPromptsResult(List<McpSchema.Prompt> prompts,
String nextCursor) |
Copyright © 2025. All rights reserved.