ResponseEventStream.AddOutputItemMcpApprovalResponse 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.
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.