MCPApproval Class
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.
public class MCPApproval
type MCPApproval = class
Public Class MCPApproval
- Inheritance
-
MCPApproval
Constructors
| 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. |
Properties
| Name | Description |
|---|---|
| AlwaysRequireApproval |
Return true if we do not trust all tools and always need to ask for approval before sending data to server. |
| NeverRequireApproval |
Return true if we trust all tools and do not need to ask for approval before sending data to server. |
| PerToolApproval |
Return the object, describing, which tools always require approval and which do not need it. |