| Package | Description |
|---|---|
| io.modelcontextprotocol.client | |
| org.noear.solon.ai.mcp.client |
| 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.
|
| Modifier and Type | Method and Description |
|---|---|
Function<List<McpSchema.Prompt>,reactor.core.publisher.Mono<Void>> |
McpClientProperties.getPromptsChangeConsumer() |
| Modifier and Type | Method and Description |
|---|---|
McpClientProvider.Builder |
McpClientProvider.Builder.promptsChangeConsumer(Function<List<McpSchema.Prompt>,reactor.core.publisher.Mono<Void>> promptsChangeConsumer)
提示语变更消费者
|
void |
McpClientProperties.setPromptsChangeConsumer(Function<List<McpSchema.Prompt>,reactor.core.publisher.Mono<Void>> promptsChangeConsumer) |
Copyright © 2025. All rights reserved.