Class McpApprovalResponse
A response to an MCP approval request.
User > Model
Inherited Members
Namespace: Glitch9.AIDevKit
Assembly: Glitch9.AIDevKit.dll
Syntax
public class McpApprovalResponse : ConversationItem, IPrompt, IValidatable, IHasId<string>
Constructors
| Edit this page View SourceMcpApprovalResponse()
Declaration
public McpApprovalResponse()
Properties
| Edit this page View SourceApprovalRequestId
The ID of the approval request being answered.
Declaration
[JsonProperty("approval_request_id")]
public string ApprovalRequestId { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Approve
Whether the request was approved.
Declaration
[JsonProperty("approve")]
public bool Approve { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
Reason
Optional reason for the decision.
Declaration
[JsonProperty("reason")]
public string Reason { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Methods
| Edit this page View SourceValidate()
Validates the object's parameters and throws if invalid.
Declaration
public override void Validate()