ResponseEventStream.OutputItemCustomToolCallOutput(String, BinaryData) Method

Definition

Convenience generator that yields the complete custom tool call output lifecycle. Custom tool 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> OutputItemCustomToolCallOutput(string callId, BinaryData output);
member this.OutputItemCustomToolCallOutput : string * BinaryData -> seq<Azure.AI.AgentServer.Responses.Models.ResponseStreamEvent>
Public Iterator Function OutputItemCustomToolCallOutput (callId As String, output As BinaryData) As IEnumerable(Of ResponseStreamEvent)

Parameters

callId
String

The call ID of the custom tool call this output is for.

output
BinaryData

The output data from the custom tool call.

Returns

An enumerable of events: output_item.addedoutput_item.done.

Applies to