OpenAI::FunctionCallOutputItemParam
Inherits JSON::Serializable < Reference < Object
The output of a function tool call.
Constructors
new(pull : JSON::PullParser)
Sourcenew(id : FunctionCallOutputItemParamId | Nil = nil, call_id : String = "", type_value : FunctionCallOutputItemParamType = FunctionCallOutputItemParamType::FunctionCallOutput, output : FunctionCallOutputItemParamOutput = "", status : FunctionCallOutputItemParamStatus | Nil = nil)
Sourcenew(*, __pull_for_json_serializable pull : JSON::PullParser)
SourceInstance methods
id
Sourceid=(id : FunctionCallOutputItemParamId | Nil)
Sourceoutput=(output : FunctionCallOutputItemParamOutput)
Text, image, or file output of the function tool call.
status
Sourcestatus=(status : FunctionCallOutputItemParamStatus | Nil)
Sourcetype_value=(type_value : FunctionCallOutputItemParamType)
The type of the function tool call output. Always function_call_output.
validate!
Source