| Package | Description |
|---|---|
| io.modelcontextprotocol.client | |
| io.modelcontextprotocol.server | |
| io.modelcontextprotocol.spec |
| Modifier and Type | Method and Description |
|---|---|
McpClient.SyncSpec |
McpClient.SyncSpec.elicitation(Function<McpSchema.ElicitRequest,McpSchema.ElicitResult> elicitationHandler)
Sets a custom elicitation handler for processing elicitation message requests.
|
McpClient.AsyncSpec |
McpClient.AsyncSpec.elicitation(Function<McpSchema.ElicitRequest,reactor.core.publisher.Mono<McpSchema.ElicitResult>> elicitationHandler)
Sets a custom elicitation handler for processing elicitation message requests.
|
| Modifier and Type | Method and Description |
|---|---|
reactor.core.publisher.Mono<McpSchema.ElicitResult> |
McpAsyncServerExchange.createElicitation(McpSchema.ElicitRequest elicitRequest)
Creates a new elicitation.
|
McpSchema.ElicitResult |
McpSyncServerExchange.createElicitation(McpSchema.ElicitRequest elicitRequest)
Creates a new elicitation.
|
| Modifier and Type | Method and Description |
|---|---|
McpSchema.ElicitRequest |
McpSchema.ElicitRequest.Builder.build() |
Copyright © 2025. All rights reserved.