Class ElicitRequestParams.PrimitiveSchemaDefinition
- Namespace
- ModelContextProtocol.Protocol
- Assembly
- ModelContextProtocol.Core.dll
Represents restricted subset of JSON Schema: ElicitRequestParams.StringSchema, ElicitRequestParams.NumberSchema, ElicitRequestParams.BooleanSchema, or ElicitRequestParams.EnumSchema.
[JsonConverter(typeof(ElicitRequestParams.PrimitiveSchemaDefinition.Converter))]
public abstract class ElicitRequestParams.PrimitiveSchemaDefinition
- Inheritance
-
ElicitRequestParams.PrimitiveSchemaDefinition
- Derived
- Inherited Members
Properties
Description
Gets or sets a description for the schema.
[JsonPropertyName("description")]
public string? Description { get; set; }
Property Value
Title
Gets or sets a title for the schema.
[JsonPropertyName("title")]
public string? Title { get; set; }
Property Value
Type
Gets the type of the schema.
[JsonPropertyName("type")]
public abstract string Type { get; set; }