OpenAI::ComputerToolCallOutput
Inherits JSON::Serializable < Reference < Object
The output of a computer tool call.
Constructors
new(pull : JSON::PullParser)
Sourcenew(type_value : ComputerToolCallOutputType = ComputerToolCallOutputType::ComputerCallOutput, id : String | Nil = nil, call_id : String = "", acknowledged_safety_checks : Array(ComputerCallSafetyCheckParam) | Nil = nil, output : ComputerScreenshotImage = ComputerScreenshotImage.new, status : ComputerToolCallOutputStatus | Nil = nil)
Sourcenew(*, __pull_for_json_serializable pull : JSON::PullParser)
SourceInstance methods
acknowledged_safety_checks
The safety checks reported by the API that have been acknowledged by the developer.
The safety checks reported by the API that have been acknowledged by the developer.
output
Sourceoutput=(output : ComputerScreenshotImage)
Sourcestatus
The status of the message input. One of in_progress, completed, or
incomplete. Populated when input items are returned via API.
status=(status : ComputerToolCallOutputStatus | Nil)
The status of the message input. One of in_progress, completed, or
incomplete. Populated when input items are returned via API.
type_value=(type_value : ComputerToolCallOutputType)
The type of the computer tool call output. Always computer_call_output.