HostedMcpServerToolRequireSpecificApprovalMode 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 the HostedMcpServerToolRequireSpecificApprovalMode class that specifies approval behavior for individual tool names.
public:
HostedMcpServerToolRequireSpecificApprovalMode(System::Collections::Generic::IList<System::String ^> ^ alwaysRequireApprovalToolNames, System::Collections::Generic::IList<System::String ^> ^ neverRequireApprovalToolNames);
public HostedMcpServerToolRequireSpecificApprovalMode(System.Collections.Generic.IList<string>? alwaysRequireApprovalToolNames, System.Collections.Generic.IList<string>? neverRequireApprovalToolNames);
new Microsoft.Extensions.AI.HostedMcpServerToolRequireSpecificApprovalMode : System.Collections.Generic.IList<string> * System.Collections.Generic.IList<string> -> Microsoft.Extensions.AI.HostedMcpServerToolRequireSpecificApprovalMode
Public Sub New (alwaysRequireApprovalToolNames As IList(Of String), neverRequireApprovalToolNames As IList(Of String))