Agent Client Protocol - v0.5.1
    Preparing search index...

    Interface RequestPermissionResponse

    Response to a permission request.

    interface RequestPermissionResponse {
        _meta?: { [k: string]: unknown };
        outcome:
            | { outcome: "cancelled" }
            | { optionId: string; outcome: "selected" };
    }
    Index

    Properties

    Properties

    _meta?: { [k: string]: unknown }

    Extension point for implementations

    outcome: { outcome: "cancelled" } | { optionId: string; outcome: "selected" }

    The user's decision on the permission request.

    Type Declaration

    • { outcome: "cancelled" }
    • { optionId: string; outcome: "selected" }
      • optionId: string

        The ID of the option the user selected.

      • outcome: "selected"