53 public override void Annotate(Dictionary<string, object?> Schema)
55 base.Annotate(Schema);
71 StringBuilder sb =
new StringBuilder();
73 sb.Append(base.AnnotatedDescription);
Provides meta-data about a parameter.
string? Title
Title of parameter.
string? Description
Description of parameter.
virtual string GetHtmlAttributeValue(object Value)
Gets the HTML attribute value for a parameter, if any.
Abstract base class for MCP-parameters that have a range of valid values.
object? MinValue
Minimum value of the range.
override void Annotate(Dictionary< string, object?> Schema)
Annotates a schema object with information in the attribute.
McpRangeParameterAttribute(string? Title, string? Description)
Abstract base class for MCP-parameters that have a range of valid values.
override string AnnotatedDescription
Annotated description of parameter.
McpRangeParameterAttribute(string? Title, string? Description, object? MinValue, object? MaxValue)
Abstract base class for MCP-parameters that have a range of valid values.
override void GetHtmlInputAttributes(Dictionary< string, string > Attributes)
Gets HTML input attributes for the parameter, if any.
object? MaxValue
Maximum value of the range.
Class managing a script expression.
static string ToExpressionString(object Value)
Converts an object to a string, that can be parsed as part of an expression.