Table of Contents

Class ComputerToolCall

Namespace
OpenAI.Responses
Assembly
OpenAI-DotNet.dll
public sealed class ComputerToolCall : BaseResponse, IResponseItem, IServerSentEvent, IListItem
Inheritance
ComputerToolCall
Implements
Inherited Members

Properties

Action

An action for the computer use tool call.

[JsonInclude]
[JsonPropertyName("action")]
public IComputerAction Action { get; }

Property Value

IComputerAction

CallId

An identifier used when responding to the tool call with output.

[JsonInclude]
[JsonPropertyName("call_id")]
public string CallId { get; }

Property Value

string

ComputerScreenShot

A computer screenshot image used with the computer use tool.

[JsonInclude]
[JsonPropertyName("output")]
public ComputerScreenShot ComputerScreenShot { get; }

Property Value

ComputerScreenShot

Id

The unique ID of this response item.

[JsonInclude]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
[JsonPropertyName("id")]
public string Id { get; }

Property Value

string

Object

[JsonInclude]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
[JsonPropertyName("object")]
public string Object { get; }

Property Value

string

PendingSafetyChecks

The pending safety checks for the computer call.

[JsonInclude]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
[JsonPropertyName("pending_safety_checks")]
public IReadOnlyList<ComputerToolCallSafetyCheck> PendingSafetyChecks { get; }

Property Value

IReadOnlyList<ComputerToolCallSafetyCheck>

Status

The status of the response item.

[JsonInclude]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
[JsonPropertyName("status")]
public ResponseStatus Status { get; }

Property Value

ResponseStatus

Type

[JsonInclude]
[JsonIgnore(Condition = JsonIgnoreCondition.Never)]
[JsonPropertyName("type")]
public ResponseItemType Type { get; }

Property Value

ResponseItemType