OutputItemMcpApprovalRequest(String, String, String, String) Constructor
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.
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.