class

OpenAI::FunctionCallOutputItemParam

Inherits JSON::Serializable < Reference < Object

The output of a function tool call.

Constructors

new(id : FunctionCallOutputItemParamId | Nil = nil, call_id : String = "", type_value : FunctionCallOutputItemParamType = FunctionCallOutputItemParamType::FunctionCallOutput, output : FunctionCallOutputItemParamOutput = "", status : FunctionCallOutputItemParamStatus | Nil = nil)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

call_id

The unique ID of the function tool call generated by the model.

Source
call_id=(call_id : String)

The unique ID of the function tool call generated by the model.

Source
id=(id : FunctionCallOutputItemParamId | Nil)
Source
output

Text, image, or file output of the function tool call.

Source
output=(output : FunctionCallOutputItemParamOutput)

Text, image, or file output of the function tool call.

Source
status
Source
status=(status : FunctionCallOutputItemParamStatus | Nil)
Source
type_value

The type of the function tool call output. Always function_call_output.

Source
type_value=(type_value : FunctionCallOutputItemParamType)

The type of the function tool call output. Always function_call_output.

Source
validate!
Source