OpenAIComputerUseTool class
Computer use built-in tool
Enables the model to interact with computers through mouse and keyboard actions. Currently in research preview with limited availability.
- Implemented types
Constructors
Properties
- displayHeight → int
-
Display height for computer use
final
- displayWidth → int
-
Display width for computer use
final
- environment → String
-
Environment type (e.g., 'browser', 'desktop')
final
- hashCode → int
-
The hash code for this object.
no setteroverride
-
parameters
→ Map<
String, dynamic> ? -
Additional parameters for computer use
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- type → OpenAIBuiltInToolType
-
The type of built-in tool
no setteroverride
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
Convert tool to JSON format for API requests
override
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override