ResponseEventStream.OutputItemLocalShellCall 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 local shell tool call lifecycle.
Local 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> OutputItemLocalShellCall(string callId, Azure.AI.AgentServer.Responses.Models.LocalShellExecAction action, Azure.AI.AgentServer.Responses.Models.ItemLocalShellToolCallStatus status);
member this.OutputItemLocalShellCall : string * Azure.AI.AgentServer.Responses.Models.LocalShellExecAction * Azure.AI.AgentServer.Responses.Models.ItemLocalShellToolCallStatus -> seq<Azure.AI.AgentServer.Responses.Models.ResponseStreamEvent>
Public Iterator Function OutputItemLocalShellCall (callId As String, action As LocalShellExecAction, status As ItemLocalShellToolCallStatus) As IEnumerable(Of ResponseStreamEvent)
Parameters
- callId
- String
The call ID for the shell call.
- action
- LocalShellExecAction
The shell exec action to perform.
- status
- ItemLocalShellToolCallStatus
The status of the shell tool call.
Returns
An enumerable of events: output_item.added → output_item.done.