Package io.modelcontextprotocol.spec
Interface McpSchema.ElicitRequest
- All Superinterfaces:
McpSchema.Meta,McpSchema.Request
- All Known Implementing Classes:
McpSchema.ElicitFormRequest,McpSchema.ElicitUrlRequest
- Enclosing class:
- McpSchema
A request from the server to elicit additional information from the user, either
through the client or out-of-band.
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()Deprecated.Deprecated.UseMcpSchema.ElicitFormRequest.builder(String, Map)instead.message()meta()mode()Methods inherited from interface io.modelcontextprotocol.spec.McpSchema.Request
progressToken
-
Method Details
-
message
String message() -
meta
- Specified by:
metain interfaceMcpSchema.Meta- Returns:
- additional metadata related to this resource.
- See Also:
-
- Specification for notes on _meta usage
-
mode
String mode() -
builder
Deprecated.UseMcpSchema.ElicitFormRequest.builder(String, Map)instead. -
builder
@Deprecated static McpSchema.ElicitFormRequest.Builder builder(String message, Map<String, Object> requestedSchema) Deprecated.UseMcpSchema.ElicitFormRequest.builder(String, Map)instead.
-
McpSchema.ElicitFormRequest.builder(String, Map)instead.