struct OpenRouter::FunctionDescription

Defined in:

openrouter/types/tool.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(name : String, description : String | Nil = nil) #

[View source]

Instance Method Detail

def description : String | Nil #

[View source]
def name : String #

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

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

[View source]