ItemComputerToolCall Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.
- action
- ComputerAction
- pendingSafetyChecks
- IEnumerable<ComputerCallSafetyCheckParam>
The pending safety checks for the computer call.
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.