ResponseEventStream.OutputItemFunctionShellCallOutput 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 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.
The output status.
The output content from the shell call.
Returns
An enumerable of events: output_item.added → output_item.done.