MCPApprovalRequestItemParam Constructors
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.
Overloads
| Name | Description |
|---|---|
| MCPApprovalRequestItemParam() |
Initializes a new instance of MCPApprovalRequestItemParam for deserialization. |
| MCPApprovalRequestItemParam(String, String, String) |
Initializes a new instance of MCPApprovalRequestItemParam. |
| MCPApprovalRequestItemParam(ItemType, IDictionary<String,BinaryData>, String, String, String) |
Initializes a new instance of MCPApprovalRequestItemParam. |
MCPApprovalRequestItemParam()
Initializes a new instance of MCPApprovalRequestItemParam for deserialization.
public MCPApprovalRequestItemParam();
Public Sub New ()
Applies to
MCPApprovalRequestItemParam(String, String, String)
Initializes a new instance of MCPApprovalRequestItemParam.
public MCPApprovalRequestItemParam(string serverLabel, string name, string arguments);
new Azure.AI.AgentServer.Contracts.Generated.OpenAI.MCPApprovalRequestItemParam : string * string * string -> Azure.AI.AgentServer.Contracts.Generated.OpenAI.MCPApprovalRequestItemParam
Public Sub New (serverLabel As String, name As String, arguments As String)
Parameters
- 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
serverLabel, name or arguments is null.
Applies to
MCPApprovalRequestItemParam(ItemType, IDictionary<String,BinaryData>, String, String, String)
Initializes a new instance of MCPApprovalRequestItemParam.
public MCPApprovalRequestItemParam(Azure.AI.AgentServer.Contracts.Generated.OpenAI.ItemType type, System.Collections.Generic.IDictionary<string,BinaryData> serializedAdditionalRawData, string serverLabel, string name, string arguments);
new Azure.AI.AgentServer.Contracts.Generated.OpenAI.MCPApprovalRequestItemParam : Azure.AI.AgentServer.Contracts.Generated.OpenAI.ItemType * System.Collections.Generic.IDictionary<string, BinaryData> * string * string * string -> Azure.AI.AgentServer.Contracts.Generated.OpenAI.MCPApprovalRequestItemParam
Public Sub New (type As ItemType, serializedAdditionalRawData As IDictionary(Of String, BinaryData), serverLabel As String, name As String, arguments As String)
Parameters
- type
- ItemType
- serializedAdditionalRawData
- IDictionary<String,BinaryData>
Keeps track of any properties unknown to the library.
- 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.