ResponseEventStream.AddOutputItemMcpApprovalResponse Method

Definition

Creates an MCP approval response 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.OutputItemMcpApprovalResponseResource> AddOutputItemMcpApprovalResponse();
abstract member AddOutputItemMcpApprovalResponse : unit -> Azure.AI.AgentServer.Responses.OutputItemBuilder<Azure.AI.AgentServer.Responses.Models.OutputItemMcpApprovalResponseResource>
override this.AddOutputItemMcpApprovalResponse : unit -> Azure.AI.AgentServer.Responses.OutputItemBuilder<Azure.AI.AgentServer.Responses.Models.OutputItemMcpApprovalResponseResource>
Public Overridable Function AddOutputItemMcpApprovalResponse () As OutputItemBuilder(Of OutputItemMcpApprovalResponseResource)

Returns

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

Applies to