ResponseEventStream.OutputItemFunctionShellCall Method

Definition

Convenience generator that yields the complete function shell call lifecycle. Function shell calls have no intermediate events — only output_item.added and output_item.done.

public System.Collections.Generic.IEnumerable<Azure.AI.AgentServer.Responses.Models.ResponseStreamEvent> OutputItemFunctionShellCall(string callId, Azure.AI.AgentServer.Responses.Models.FunctionShellAction action, Azure.AI.AgentServer.Responses.Models.LocalShellCallStatus status, Azure.AI.AgentServer.Responses.Models.FunctionShellCallEnvironment environment);
member this.OutputItemFunctionShellCall : string * Azure.AI.AgentServer.Responses.Models.FunctionShellAction * Azure.AI.AgentServer.Responses.Models.LocalShellCallStatus * Azure.AI.AgentServer.Responses.Models.FunctionShellCallEnvironment -> seq<Azure.AI.AgentServer.Responses.Models.ResponseStreamEvent>
Public Iterator Function OutputItemFunctionShellCall (callId As String, action As FunctionShellAction, status As LocalShellCallStatus, environment As FunctionShellCallEnvironment) As IEnumerable(Of ResponseStreamEvent)

Parameters

callId
String

The call ID for the function shell call.

action
FunctionShellAction

The function shell action to perform.

status
LocalShellCallStatus

The status of the function shell call.

environment
FunctionShellCallEnvironment

The execution environment for the shell call.

Returns

An enumerable of events: output_item.addedoutput_item.done.

Applies to