ResponseEventStream.OutputItemFunctionShellCall 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 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.added → output_item.done.