ElicitResult

data class ElicitResult(val action: ElicitResult.Action, val content: JsonObject? = null, val meta: JsonObject? = null) : ClientResult(source)

Represents the client's response to an ElicitRequest.

Constructors

Link copied to clipboard
constructor(action: ElicitResult.Action, content: JsonObject? = null, meta: JsonObject? = null)

Types

Link copied to clipboard

The user's response action to an elicitation request.

Properties

Link copied to clipboard

The user action in response to the elicitation.

Link copied to clipboard

The submitted form data, only present when action is Action.Accept and mode was form. Contains values matching the requested schema. Omitted for URL mode responses.

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

Optional metadata for this response.