struct

MCP::Protocol::BooleanSchema

Inherits JSON::Serializable < Struct < Value < Object

Constructors

new(title : Nil | String = nil, description : Nil | String = nil, default : Bool | Nil = nil)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

default
Source
description(val : String) : self
Source
description
Source
title(val : String) : self
Source
title
Source
type
Source
with_default(val : Bool) : self
Source