OpenAI::ComputerUsePreviewTool
Inherits JSON::Serializable < Reference < Object
A tool that controls a virtual computer. Learn more about the computer tool.
Constructors
new(pull : JSON::PullParser)
Sourcenew(type_value : ComputerUsePreviewToolType = ComputerUsePreviewToolType::ComputerUsePreview, environment : ComputerEnvironment = ComputerEnvironment::Windows, display_width : Int64 = 0, display_height : Int64 = 0)
Sourcenew(*, __pull_for_json_serializable pull : JSON::PullParser)
SourceInstance methods
type_value=(type_value : ComputerUsePreviewToolType)
The type of the computer use tool. Always computer_use_preview.