ExtensionsOpenAIModelFactory.OutputItemComputerToolCallOutput Method

Definition

Computer tool call output.

public static Azure.AI.Extensions.OpenAI.OutputItemComputerToolCallOutput OutputItemComputerToolCallOutput(string id = default, Azure.AI.Extensions.OpenAI.AgentReference agentReference = default, string responseId = default, string callId = default, System.Collections.Generic.IEnumerable<Azure.AI.Extensions.OpenAI.ComputerCallSafetyCheckParam> acknowledgedSafetyChecks = default, Azure.AI.Extensions.OpenAI.ComputerScreenshotImage output = default, Azure.AI.Extensions.OpenAI.ItemFieldComputerToolCallOutputStatus? status = default);
static member OutputItemComputerToolCallOutput : string * Azure.AI.Extensions.OpenAI.AgentReference * string * string * seq<Azure.AI.Extensions.OpenAI.ComputerCallSafetyCheckParam> * Azure.AI.Extensions.OpenAI.ComputerScreenshotImage * Nullable<Azure.AI.Extensions.OpenAI.ItemFieldComputerToolCallOutputStatus> -> Azure.AI.Extensions.OpenAI.OutputItemComputerToolCallOutput
Public Shared Function OutputItemComputerToolCallOutput (Optional id As String = Nothing, Optional agentReference As AgentReference = Nothing, Optional responseId As String = Nothing, Optional callId As String = Nothing, Optional acknowledgedSafetyChecks As IEnumerable(Of ComputerCallSafetyCheckParam) = Nothing, Optional output As ComputerScreenshotImage = Nothing, Optional status As Nullable(Of ItemFieldComputerToolCallOutputStatus) = Nothing) As OutputItemComputerToolCallOutput

Parameters

id
String
agentReference
AgentReference

The agent that created the item.

responseId
String

The response on which the item is created.

callId
String

The ID of the computer tool call that produced the output.

acknowledgedSafetyChecks
IEnumerable<ComputerCallSafetyCheckParam>

The safety checks reported by the API that have been acknowledged by the developer.

status
Nullable<ItemFieldComputerToolCallOutputStatus>

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

Returns

A new OutputItemComputerToolCallOutput instance for mocking.

Applies to