ResponseEventStream.AddOutputItemMcpApprovalRequest Method

Definition

Creates an MCP approval request output item scope with the next output index and an auto-generated item ID.

public virtual Azure.AI.AgentServer.Responses.OutputItemBuilder<Azure.AI.AgentServer.Responses.Models.OutputItemMcpApprovalRequest> AddOutputItemMcpApprovalRequest();
abstract member AddOutputItemMcpApprovalRequest : unit -> Azure.AI.AgentServer.Responses.OutputItemBuilder<Azure.AI.AgentServer.Responses.Models.OutputItemMcpApprovalRequest>
override this.AddOutputItemMcpApprovalRequest : unit -> Azure.AI.AgentServer.Responses.OutputItemBuilder<Azure.AI.AgentServer.Responses.Models.OutputItemMcpApprovalRequest>
Public Overridable Function AddOutputItemMcpApprovalRequest () As OutputItemBuilder(Of OutputItemMcpApprovalRequest)

Returns

A new OutputItemBuilder<T> for the MCP approval request output item.

Applies to