class OpenRouter::FunctionParameter

Defined in:

openrouter/types/tool.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(name : String, type : String, description : String, required : Bool = false) #

[View source]

Instance Method Detail

def description : String #

[View source]
def description=(description : String) #

[View source]
def name : String #

[View source]
def name=(name : String) #

[View source]
def required : Bool #

[View source]
def required=(required : Bool) #

[View source]
def to_json(io : IO) #

[View source]
def to_json(json : JSON::Builder) #

[View source]
def type : String #

[View source]
def type=(type : String) #

[View source]