ResponseEventStream.OutputItemCustomToolCallOutput(String, BinaryData) 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 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.added → output_item.done.