MCPApproval 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 |
|---|---|
| MCPApproval(MCPApprovalPerTool) |
Create an instance of an MCPApproval with custom trust levels for different tools. |
| MCPApproval(String) |
Create an instance of an MCPApproval with trust level, equal for all tools. |
MCPApproval(MCPApprovalPerTool)
- Source:
- MCPApproval.cs
Create an instance of an MCPApproval with custom trust levels for different tools.
public MCPApproval(Azure.AI.Agents.Persistent.MCPApprovalPerTool perToolApproval);
new Azure.AI.Agents.Persistent.MCPApproval : Azure.AI.Agents.Persistent.MCPApprovalPerTool -> Azure.AI.Agents.Persistent.MCPApproval
Public Sub New (perToolApproval As MCPApprovalPerTool)
Parameters
- perToolApproval
- MCPApprovalPerTool
The object, describing, which tools never require approvals and which tools always require approvals.
Applies to
MCPApproval(String)
- Source:
- MCPApproval.cs
Create an instance of an MCPApproval with trust level, equal for all tools.
public MCPApproval(string requireApproval);
new Azure.AI.Agents.Persistent.MCPApproval : string -> Azure.AI.Agents.Persistent.MCPApproval
Public Sub New (requireApproval As String)
Parameters
- requireApproval
- String
The approval requirement, can be "always" or "never"