Table of Contents

Class ElicitRequestParams.TitledSingleSelectEnumSchema

Namespace
ModelContextProtocol.Protocol
Assembly
ModelContextProtocol.Core.dll

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

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

Properties

Default

Gets or sets the default value for the enum.

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

Property Value

string

OneOf

Gets or sets the list of enum options with their constant values and display titles.

[JsonPropertyName("oneOf")]
public IList<ElicitRequestParams.EnumSchemaOption> OneOf { get; set; }

Property Value

IList<ElicitRequestParams.EnumSchemaOption>

Type

Gets or sets the type of the schema.

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

Property Value

string