Agent Client Protocol - v0.2.0-alpha.8
    Preparing search index...

    Interface RequestPermissionResponse

    Response to a permission request.

    interface RequestPermissionResponse {
        outcome:
            | { outcome: "cancelled" }
            | { optionId: string; outcome: "selected" };
    }
    Index

    Properties

    Properties

    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"