RequestedSchema

data class RequestedSchema(val properties: JsonObject, val required: List<String>? = null)(source)

A restricted JSON Schema for elicitation requests.

Only supports top-level primitive properties without nesting. Each property represents a field in the form or dialog presented to the user.

Constructors

Link copied to clipboard
constructor(properties: JsonObject, required: List<String>? = null)

Properties

Link copied to clipboard

A map of property names to their schema definitions. Each property must be a primitive type (string, number, boolean).

Link copied to clipboard

Optional list of property names that must be provided by the user. If omitted, all fields are considered optional.

Link copied to clipboard

Always "object" for elicitation schemas.