ElicitRequestFormParams

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

Represents form mode parameters for an elicitation/create request.

Collects non-sensitive structured data from the user via a form presented by the client.

Constructors

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

Properties

Link copied to clipboard
open override val message: String

The message to present to the user describing what information is being requested.

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

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

Link copied to clipboard

The elicitation mode discriminator, always "form".

Link copied to clipboard

A restricted subset of JSON Schema. Only top-level properties are allowed, without nesting.

Link copied to clipboard

If specified, the caller is requesting task-augmented execution. The request will return a CreateTaskResult immediately, and the actual result can be retrieved later via tasks/result.