Table of Contents

Class ElicitRequestParams.RequestSchema

Namespace
ModelContextProtocol.Protocol
Assembly
ModelContextProtocol.Core.dll

Represents a request schema used in an elicitation request.

public class ElicitRequestParams.RequestSchema
Inheritance
ElicitRequestParams.RequestSchema
Inherited Members

Properties

Properties

Gets or sets the properties of the schema.

[JsonPropertyName("properties")]
public IDictionary<string, ElicitRequestParams.PrimitiveSchemaDefinition> Properties { get; set; }

Property Value

IDictionary<string, ElicitRequestParams.PrimitiveSchemaDefinition>

Required

Gets or sets the required properties of the schema.

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

Property Value

IList<string>

Type

Gets the type of the schema.

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

Property Value

string

Remarks

This is always "object".