class

OpenAI::ComputerToolCallOutput

Inherits JSON::Serializable < Reference < Object

The output of a computer tool call.

Constructors

new(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)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

acknowledged_safety_checks

The safety checks reported by the API that have been acknowledged by the developer.

Source
acknowledged_safety_checks=(acknowledged_safety_checks : Array(ComputerCallSafetyCheckParam) | Nil)

The safety checks reported by the API that have been acknowledged by the developer.

Source
call_id

The ID of the computer tool call that produced the output.

Source
call_id=(call_id : String)

The ID of the computer tool call that produced the output.

Source
id

The ID of the computer tool call output.

Source
id=(id : String | Nil)

The ID of the computer tool call output.

Source
output
Source
output=(output : ComputerScreenshotImage)
Source
status

The status of the message input. One of in_progress, completed, or incomplete. Populated when input items are returned via API.

Source
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.

Source
type_value

The type of the computer tool call output. Always computer_call_output.

Source
type_value=(type_value : ComputerToolCallOutputType)

The type of the computer tool call output. Always computer_call_output.

Source