OutputItemMcpApprovalRequest(String, String, String, String) Constructor

Definition

Initializes a new instance of OutputItemMcpApprovalRequest.

public OutputItemMcpApprovalRequest(string id, string serverLabel, string name, string arguments);
new Azure.AI.AgentServer.Responses.Models.OutputItemMcpApprovalRequest : string * string * string * string -> Azure.AI.AgentServer.Responses.Models.OutputItemMcpApprovalRequest
Public Sub New (id As String, serverLabel As String, name As String, arguments As String)

Parameters

id
String

The unique ID of the approval request.

serverLabel
String

The label of the MCP server making the request.

name
String

The name of the tool to run.

arguments
String

A JSON string of arguments for the tool.

Exceptions

id, serverLabel, name or arguments is null.

Applies to