Interface IMcpApprovalSender
Namespace: Glitch9.AIDevKit
Assembly: Glitch9.AIDevKit.dll
Syntax
public interface IMcpApprovalSender
Methods
| Edit this page View SourceSendMcpApprovalAsync(string, McpApprovalResponse, string, CancellationToken)
Sends an MCP (Model Context Protocol) approval response.
Declaration
UniTask SendMcpApprovalAsync(string model, McpApprovalResponse approval, string sender = null, CancellationToken ct = default)
Parameters
| Type | Name | Description |
|---|---|---|
| string | model | The model identifier. |
| McpApprovalResponse | approval | The approval response to send. |
| string | sender | Optional sender identifier. |
| CancellationToken | ct | Cancellation token to cancel the operation. |
Returns
| Type | Description |
|---|---|
| UniTask | A task that completes when the approval is sent. |