class

OpenAI::ComputerScreenshotImage

Inherits JSON::Serializable < Reference < Object

A computer screenshot image used with the computer use tool.

Constructors

new(type_value : ComputerScreenshotImageType = ComputerScreenshotImageType::ComputerScreenshot, image_url : String | Nil = nil, file_id : String | Nil = nil)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

file_id

The identifier of an uploaded file that contains the screenshot.

Source
file_id=(file_id : String | Nil)

The identifier of an uploaded file that contains the screenshot.

Source
image_url

The URL of the screenshot image.

Source
image_url=(image_url : String | Nil)

The URL of the screenshot image.

Source
type_value

Specifies the event type. For a computer screenshot, this property is always set to computer_screenshot.

Source
type_value=(type_value : ComputerScreenshotImageType)

Specifies the event type. For a computer screenshot, this property is always set to computer_screenshot.

Source