Table of Contents

Class ElicitRequestParams.BooleanSchema

Namespace
ModelContextProtocol.Protocol
Assembly
ModelContextProtocol.Core.dll

Represents a schema for a Boolean type.

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

Properties

Default

Gets or sets the default value for the Boolean.

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

Property Value

bool?

Description

Gets or sets a description for the Boolean.

[JsonPropertyName("description")]
public string? Description { get; set; }

Property Value

string

Title

Gets or sets a title for the Boolean.

[JsonPropertyName("title")]
public string? Title { get; set; }

Property Value

string

Type

Gets the type of the schema.

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

Property Value

string

Remarks

This is always "boolean".