ResponseEventStream.OutputItemFunctionShellCallOutput Method

Definition

Convenience generator that yields the complete function shell call output lifecycle. Function shell 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> OutputItemFunctionShellCallOutput(string callId, Azure.AI.AgentServer.Responses.Models.LocalShellCallOutputStatusEnum status, System.Collections.Generic.IEnumerable<Azure.AI.AgentServer.Responses.Models.FunctionShellCallOutputContent> output, long? maxOutputLength = default);
member this.OutputItemFunctionShellCallOutput : string * Azure.AI.AgentServer.Responses.Models.LocalShellCallOutputStatusEnum * seq<Azure.AI.AgentServer.Responses.Models.FunctionShellCallOutputContent> * Nullable<int64> -> seq<Azure.AI.AgentServer.Responses.Models.ResponseStreamEvent>
Public Iterator Function OutputItemFunctionShellCallOutput (callId As String, status As LocalShellCallOutputStatusEnum, output As IEnumerable(Of FunctionShellCallOutputContent), Optional maxOutputLength As Nullable(Of Long) = Nothing) As IEnumerable(Of ResponseStreamEvent)

Parameters

callId
String

The call ID of the function shell call this output is for.

status
LocalShellCallOutputStatusEnum

The output status.

output
IEnumerable<FunctionShellCallOutputContent>

The output content from the shell call.

maxOutputLength
Nullable<Int64>

Optional maximum output length.

Returns

An enumerable of events: output_item.addedoutput_item.done.

Applies to