OpenAI::CustomToolCall
Inherits JSON::Serializable < Reference < Object
A call to a custom tool created by the model.
Constructors
new(pull : JSON::PullParser)
Sourcenew(type_value : CustomToolCallType = CustomToolCallType::CustomToolCall, id : String | Nil = nil, call_id : String = "", name : String = "", input : String = "")
Sourcenew(*, __pull_for_json_serializable pull : JSON::PullParser)
SourceInstance methods
call_id=(call_id : String)
An identifier used to map this custom tool call to a tool call output.
type_value=(type_value : CustomToolCallType)
The type of the custom tool call. Always custom_tool_call.