Table of Contents

Class ElicitRequestParams.TitledMultiSelectEnumSchema

Namespace
ModelContextProtocol.Protocol
Assembly
ModelContextProtocol.Core.dll

Represents a schema for multiple-selection enumeration with display titles for each option.

public sealed class ElicitRequestParams.TitledMultiSelectEnumSchema : ElicitRequestParams.PrimitiveSchemaDefinition
Inheritance
ElicitRequestParams.TitledMultiSelectEnumSchema
Inherited Members

Properties

Default

Gets or sets the default values for the enum.

[JsonPropertyName("default")]
public IList<string>? Default { get; set; }

Property Value

IList<string>

Items

Gets or sets the schema for items in the array.

[JsonPropertyName("items")]
public required ElicitRequestParams.TitledEnumItemsSchema Items { get; set; }

Property Value

ElicitRequestParams.TitledEnumItemsSchema

MaxItems

Gets or sets the maximum number of items that can be selected.

[JsonPropertyName("maxItems")]
public int? MaxItems { get; set; }

Property Value

int?

MinItems

Gets or sets the minimum number of items that can be selected.

[JsonPropertyName("minItems")]
public int? MinItems { get; set; }

Property Value

int?

Type

Gets or sets the type of the schema.

[JsonPropertyName("type")]
public override string Type { get; set; }

Property Value

string