struct

OpenAI::ChatToolCall

Inherits JSON::Serializable / Struct / Value / Object

Constructors

new(id : String, type : String, function : ChatFunctionCall)
Source
new(pull : JSON::PullParser)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

clone
Source
copy_with(id _id = @id, type _type = @type, function _function = @function)
Source
function
id
type