Class ElicitRequestParams.NumberSchema
- Namespace
- ModelContextProtocol.Protocol
- Assembly
- ModelContextProtocol.Core.dll
Represents a schema for a number or integer type.
public sealed class ElicitRequestParams.NumberSchema : ElicitRequestParams.PrimitiveSchemaDefinition
- Inheritance
-
ElicitRequestParams.NumberSchema
- Inherited Members
Properties
Description
Gets or sets a description for the number input.
[JsonPropertyName("description")]
public string? Description { get; set; }
Property Value
Maximum
Gets or sets the maximum allowed value.
[JsonPropertyName("maximum")]
public double? Maximum { get; set; }
Property Value
Minimum
Gets or sets the minimum allowed value.
[JsonPropertyName("minimum")]
public double? Minimum { get; set; }
Property Value
Title
Gets or sets a title for the number input.
[JsonPropertyName("title")]
public string? Title { get; set; }
Property Value
Type
Gets the type of the schema.
[JsonPropertyName("type")]
public string Type { get; set; }
Property Value
Remarks
This should be "number" or "integer".