ResponseEventStream.OutputItemApplyPatchCall Method

Definition

Convenience generator that yields the complete apply-patch tool call lifecycle. Apply-patch calls have no intermediate events — only output_item.added and output_item.done.

public System.Collections.Generic.IEnumerable<Azure.AI.AgentServer.Responses.Models.ResponseStreamEvent> OutputItemApplyPatchCall(string callId, Azure.AI.AgentServer.Responses.Models.ApplyPatchCallStatus status, Azure.AI.AgentServer.Responses.Models.ApplyPatchFileOperation operation);
member this.OutputItemApplyPatchCall : string * Azure.AI.AgentServer.Responses.Models.ApplyPatchCallStatus * Azure.AI.AgentServer.Responses.Models.ApplyPatchFileOperation -> seq<Azure.AI.AgentServer.Responses.Models.ResponseStreamEvent>
Public Iterator Function OutputItemApplyPatchCall (callId As String, status As ApplyPatchCallStatus, operation As ApplyPatchFileOperation) As IEnumerable(Of ResponseStreamEvent)

Parameters

callId
String

The call ID for the apply-patch call.

status
ApplyPatchCallStatus

The status of the apply-patch call.

operation
ApplyPatchFileOperation

The file operation to apply.

Returns

An enumerable of events: output_item.addedoutput_item.done.

Applies to