struct

MCP::Protocol::ElicitationSchema

Inherits JSON::Serializable < Struct < Value < Object

Top-level elicitation schema wrapper.

Constructors

new(properties : Hash(String, MCP::Protocol::PrimitiveSchema) = Hash(String, PrimitiveSchema).new, required : Nil | Array(String) = nil, title : Nil | String = nil, description : Nil | String = nil)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Class methods

builder

Start the fluent builder.

Source

Instance methods

description
Source
properties

Property definitions — must be primitive types only per MCP spec.

Source
required

List of property names that are required.

Source
title
Source
type
Source