Search Results for

    Show / Hide Table of Contents

    Interface IMcpApprovalSender

    Namespace: Glitch9.AIDevKit
    Assembly: Glitch9.AIDevKit.dll
    Syntax
    public interface IMcpApprovalSender

    Methods

    | Edit this page View Source

    SendMcpApprovalAsync(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.

    Extension Methods

    ArrayExtensions.ToArrayOrEmpty<T>(T)
    ArrayExtensions.ToArrayOrNull<T>(T)
    EventExtensions.ToDelta<T>(T, string, int, string, bool)
    EventExtensions.ToDone<T>(T, string, int, string)
    EventExtensions.ToEvent<T>(T)
    EventExtensions.UpcastDelta<T1, T2>(T1, string, int, string, bool)
    FallbackExtensions.IsOr<TParent, TChild>(TParent, TChild)
    ResponseCastingExtensions.GetResult<T>(T)
    SystemExtensions.GetName(object)
    • Edit this page
    • View Source
    In this article
    Back to top AI DevKit Documentation