OpenRouter::ToolCall
Inherits JSON::Serializable < Struct < Value < Object
Constructors
new(id : String, name : String, arguments : Array(ToolCallArgument) = [] of ToolCallArgument, type : String = "function")
Sourcenew(pull : JSON::PullParser)
Sourcenew(*, __pull_for_json_serializable pull : JSON::PullParser)
SourceInstance methods
arguments
Sourcefunction_data
Sourcefunction_data=(function_data : ToolFunction)
Sourceid
Sourcetype
Source