MCPApprovalResponse 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.
MCP approval response.
public class MCPApprovalResponse : Azure.AI.AgentServer.Responses.Models.Item, System.ClientModel.Primitives.IJsonModel<Azure.AI.AgentServer.Responses.Models.MCPApprovalResponse>, System.ClientModel.Primitives.IPersistableModel<Azure.AI.AgentServer.Responses.Models.MCPApprovalResponse>
type MCPApprovalResponse = class
inherit Item
interface IJsonModel<MCPApprovalResponse>
interface IPersistableModel<MCPApprovalResponse>
Public Class MCPApprovalResponse
Inherits Item
Implements IJsonModel(Of MCPApprovalResponse), IPersistableModel(Of MCPApprovalResponse)
- Inheritance
- Implements
Constructors
| Name | Description |
|---|---|
| MCPApprovalResponse(String, Boolean) |
Initializes a new instance of MCPApprovalResponse. |
Properties
| Name | Description |
|---|---|
| ApprovalRequestId |
The ID of the approval request being answered. |
| Approve |
Whether the request was approved. |
| Id |
Gets or sets the Id. |
| Reason |
Gets or sets the Reason. |