CreateElicitationRequest

data class CreateElicitationRequest(val message: String, val requestedSchema: CreateElicitationRequest.RequestedSchema, val _meta: JsonObject = EmptyJsonObject) : ServerRequest, WithMeta(source)

Sent from the server to create an elicitation from the client.

Constructors

Link copied to clipboard
constructor(message: String, requestedSchema: CreateElicitationRequest.RequestedSchema, _meta: JsonObject = EmptyJsonObject)

Types

Link copied to clipboard
data class RequestedSchema(val properties: JsonObject = EmptyJsonObject, val required: List<String>? = null)

Properties

Link copied to clipboard
open override val _meta: JsonObject

The protocol reserves this result property to allow clients and servers to attach additional metadata to their responses.

Link copied to clipboard
Link copied to clipboard
open override val method: Method

Functions

Link copied to clipboard

Converts the request to a JSON-RPC request.