ResponseEventStream.OutputItemComputerCall Method
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.
Convenience generator that yields the complete computer tool call output-item lifecycle.
Computer call outputs have no intermediate events — only output_item.added and
output_item.done.
public System.Collections.Generic.IEnumerable<Azure.AI.AgentServer.Responses.Models.ResponseStreamEvent> OutputItemComputerCall(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.ItemComputerToolCallStatus status);
member this.OutputItemComputerCall : string * Azure.AI.AgentServer.Responses.Models.ComputerAction * seq<Azure.AI.AgentServer.Responses.Models.ComputerCallSafetyCheckParam> * Azure.AI.AgentServer.Responses.Models.ItemComputerToolCallStatus -> seq<Azure.AI.AgentServer.Responses.Models.ResponseStreamEvent>
Public Iterator Function OutputItemComputerCall (callId As String, action As ComputerAction, pendingSafetyChecks As IEnumerable(Of ComputerCallSafetyCheckParam), status As ItemComputerToolCallStatus) As IEnumerable(Of ResponseStreamEvent)
Parameters
- callId
- String
The call ID of the computer tool call.
- action
- ComputerAction
The computer action to perform.
- pendingSafetyChecks
- IEnumerable<ComputerCallSafetyCheckParam>
The safety checks that must pass before execution.
- status
- ItemComputerToolCallStatus
The status of the computer tool call.
Returns
An enumerable of events: output_item.added → output_item.done.