ResponseEventStream.OutputItemLocalShellCall Method

Definition

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.addedoutput_item.done.

Applies to