ComputerCallOutputItem class

A computer use tool call output item.

Inheritance
Annotations
  • @immutable

Constructors

ComputerCallOutputItem({required String id, required String callId, ComputerAction? action, List<ComputerAction>? actions, List<Map<String, dynamic>>? pendingSafetyChecks, ItemStatus? status, String? createdBy})
Creates a ComputerCallOutputItem.
const
ComputerCallOutputItem.fromJson(Map<String, dynamic> json)
Creates a ComputerCallOutputItem from JSON.
factory

Properties

action ComputerAction?
The action to perform (legacy singular format).
final
actions List<ComputerAction>?
The actions to perform (batched format).
final
callId String
The call ID for this computer call.
final
createdBy String?
The identifier of the actor that created the item.
final
hashCode int
The hash code for this object.
no setteroverride
id String
Unique identifier.
final
pendingSafetyChecks List<Map<String, dynamic>>?
Pending safety checks.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
status ItemStatus?
Item status.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
Converts to JSON.
override
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
override