class MCProtocol::ToolInputSchema

Overview

A JSON Schema object defining the expected parameters for the tool.

Included Modules

Defined in:

mcprotocol/tool.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(pull : JSON::PullParser) #

[View source]
def self.new(properties : JSON::Any | Nil = Nil, required : Array(String) | Nil = Nil, type : String = "object") #

[View source]

Instance Method Detail

def properties : JSON::Any | Nil #

[View source]
def required : Array(String) | Nil #

[View source]
def type : String #

[View source]