Module: OpenAI::Models::Responses::ResponseComputerToolCall::Action

Extended by:
Internal::Type::Union
Defined in:
lib/openai/models/responses/response_computer_tool_call.rb

Overview

A click action.

See Also:

Defined Under Namespace

Classes: Click, DoubleClick, Drag, Keypress, Move, Screenshot, Scroll, Type, Wait

Class Method Summary collapse

Instance Method Summary collapse

Methods included from Internal::Type::Union

==, ===, coerce, dump, hash, inspect, to_sorbet_type, variants

Methods included from Internal::Util::SorbetRuntimeSupport

#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type

Methods included from Internal::Type::Converter

#coerce, coerce, #dump, dump, #inspect, inspect, type_info

Class Method Details

.valuesArray<Symbol>

Returns:

  • (Array<Symbol>)


# File 'lib/openai/models/responses/response_computer_tool_call.rb', line 157

Instance Method Details

#initialize(text: , type: :type) ⇒ Object

Some parameter documentations has been truncated, see Type for more details.

An action to type in text.

Parameters:

  • text (String) (defaults to: )

    The text to type.

  • type (Symbol, :type) (defaults to: :type)

    Specifies the event type. For a type action, this property is



# File 'lib/openai/models/responses/response_computer_tool_call.rb', line 182