OpenRouter::Tool
Inherits JSON::Serializable < Reference < Object
Constructors
new(parser : JSON::PullParser)
Sourcenew(function : Function)
Sourcenew(name : String, description : String | Nil = nil, parameters : Array(FunctionParameter) = [] of FunctionParameter)
Sourcenew(*, __pull_for_json_serializable pull : JSON::PullParser)
SourceClass methods
Instance methods
function
Sourcefunction=(function : Function)
Sourcetype
Source