ItemComputerToolCall Constructor

Definition

Initializes a new instance of ItemComputerToolCall.

public ItemComputerToolCall(string id, string callId, Azure.AI.AgentServer.Responses.Models.ComputerAction action, System.Collections.Generic.IEnumerable<Azure.AI.AgentServer.Responses.Models.ComputerCallSafetyCheckParam> pendingSafetyChecks, Azure.AI.AgentServer.Responses.Models.OutputItemComputerToolCallStatus status);
new Azure.AI.AgentServer.Responses.Models.ItemComputerToolCall : string * string * Azure.AI.AgentServer.Responses.Models.ComputerAction * seq<Azure.AI.AgentServer.Responses.Models.ComputerCallSafetyCheckParam> * Azure.AI.AgentServer.Responses.Models.OutputItemComputerToolCallStatus -> Azure.AI.AgentServer.Responses.Models.ItemComputerToolCall
Public Sub New (id As String, callId As String, action As ComputerAction, pendingSafetyChecks As IEnumerable(Of ComputerCallSafetyCheckParam), status As OutputItemComputerToolCallStatus)

Parameters

id
String

The unique ID of the computer call.

callId
String

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

pendingSafetyChecks
IEnumerable<ComputerCallSafetyCheckParam>

The pending safety checks for the computer call.

status
OutputItemComputerToolCallStatus

The status of the item. One of in_progress, completed, or incomplete. Populated when items are returned via API.

Exceptions

id, callId, action or pendingSafetyChecks is null.

Applies to