ElicitRequestParams

data class ElicitRequestParams(val message: String, val requestedSchema: ElicitRequestParams.RequestedSchema, val meta: RequestMeta? = null) : RequestParams(source)

Parameters for an elicitation/create request.

Constructors

Link copied to clipboard
constructor(message: String, requestedSchema: ElicitRequestParams.RequestedSchema, meta: RequestMeta? = null)

Types

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

A restricted JSON Schema for elicitation requests.

Properties

Link copied to clipboard

The message to present to the user. This should clearly explain what information is being requested and why.

Link copied to clipboard
@SerialName(value = "_meta")
open override val meta: RequestMeta?

Optional metadata for this request. May include a progressToken for out-of-band progress notifications.

Link copied to clipboard

A restricted subset of JSON Schema defining the structure of the requested data. Only top-level properties are allowed, without nesting.