HostedMcpServerToolRequireSpecificApprovalMode 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.
Represents a mode where approval behavior is specified for individual tool names.
public ref class HostedMcpServerToolRequireSpecificApprovalMode sealed : Microsoft::Extensions::AI::HostedMcpServerToolApprovalMode
[System.Diagnostics.CodeAnalysis.Experimental("MEAI001")]
public sealed class HostedMcpServerToolRequireSpecificApprovalMode : Microsoft.Extensions.AI.HostedMcpServerToolApprovalMode
public sealed class HostedMcpServerToolRequireSpecificApprovalMode : Microsoft.Extensions.AI.HostedMcpServerToolApprovalMode
[<System.Diagnostics.CodeAnalysis.Experimental("MEAI001")>]
type HostedMcpServerToolRequireSpecificApprovalMode = class
inherit HostedMcpServerToolApprovalMode
type HostedMcpServerToolRequireSpecificApprovalMode = class
inherit HostedMcpServerToolApprovalMode
Public NotInheritable Class HostedMcpServerToolRequireSpecificApprovalMode
Inherits HostedMcpServerToolApprovalMode
- Inheritance
- Attributes
Constructors
| Name | Description |
|---|---|
| HostedMcpServerToolRequireSpecificApprovalMode(IList<String>, IList<String>) |
Initializes a new instance of the HostedMcpServerToolRequireSpecificApprovalMode class that specifies approval behavior for individual tool names. |
Properties
| Name | Description |
|---|---|
| AlwaysRequireApprovalToolNames |
Gets or sets the list of tool names that always require approval. |
| NeverRequireApprovalToolNames |
Gets or sets the list of tool names that never require approval. |
Methods
| Name | Description |
|---|---|
| Equals(Object) |
Determines whether the specified object is equal to the current object. |
| GetHashCode() |
Serves as the default hash function. |