instruction: I want to apply a coupon for the maximum amount possible on my shopping cart.

previous_actions: 

active_application: 

screen_description: windows {
  bounds_in_screen {
    right: 1080
    bottom: 136
  }
  id: 6
  layer: 1
  window_type: TYPE_SYSTEM
  tree {
    nodes {
      bounds_in_screen {
        right: 1080
        bottom: 136
      }
      class_name: "android.widget.FrameLayout"
    }
    nodes {
      bounds_in_screen {
        right: 1080
        bottom: 136
      }
      class_name: "android.widget.FrameLayout"
      depth: 1
    }
    nodes {
      bounds_in_screen {
        right: 1080
        bottom: 136
      }
      class_name: "android.widget.FrameLayout"
      depth: 1
    }
    nodes {
      bounds_in_screen {
        right: 1080
        bottom: 136
      }
      class_name: "android.widget.FrameLayout"
      depth: 2
    }
    nodes {
      bounds_in_screen {
        left: 47
        right: 1027
        bottom: 136
      }
      class_name: "android.widget.LinearLayout"
      depth: 3
    }
    nodes {
      bounds_in_screen {
        left: 47
        top: 1
        right: 454
        bottom: 136
      }
      class_name: "android.widget.FrameLayout"
      depth: 4
    }
    nodes {
      bounds_in_screen {
        left: 454
        top: 1
        right: 599
        bottom: 136
      }
      class_name: "android.view.View"
      depth: 4
    }
    nodes {
      bounds_in_screen {
        left: 599
        top: 1
        right: 1006
        bottom: 136
      }
      class_name: "android.widget.FrameLayout"
      depth: 4
    }
    nodes {
      bounds_in_screen {
        left: 47
        top: 1
        right: 418
        bottom: 136
      }
      class_name: "android.widget.FrameLayout"
      depth: 5
    }
    nodes {
      bounds_in_screen {
        left: 867
        top: 1
        right: 1006
        bottom: 136
      }
      class_name: "android.widget.LinearLayout"
      depth: 5
    }
    nodes {
      bounds_in_screen {
        left: 47
        top: 1
        right: 418
        bottom: 136
      }
      class_name: "android.widget.LinearLayout"
      depth: 6
    }
    nodes {
      bounds_in_screen {
        left: 867
        top: 1
        right: 1006
        bottom: 136
      }
      class_name: "android.widget.LinearLayout"
      depth: 6
    }
    nodes {
      bounds_in_screen {
        left: 47
        top: 1
        right: 128
        bottom: 136
      }
      class_name: "android.widget.TextView"
      content_description: "2:55 PM"
      text: "2:55"
      depth: 7
    }
    nodes {
      bounds_in_screen {
        left: 128
        top: 1
        right: 418
        bottom: 136
      }
      class_name: "android.widget.FrameLayout"
      depth: 7
    }
    nodes {
      bounds_in_screen {
        left: 867
        top: 1
        right: 986
        bottom: 136
      }
      class_name: "android.widget.LinearLayout"
      depth: 7
    }
    nodes {
      bounds_in_screen {
        left: 986
        top: 1
        right: 1006
        bottom: 136
      }
      class_name: "android.widget.LinearLayout"
      content_description: "Battery charging, 100 percent."
      depth: 7
    }
    nodes {
      bounds_in_screen {
        left: 128
        top: 1
        right: 418
        bottom: 136
      }
      class_name: "android.view.ViewGroup"
      depth: 8
    }
    nodes {
      bounds_in_screen {
        left: 867
        top: 39
        right: 924
        bottom: 97
      }
      class_name: "android.widget.ImageView"
      content_description: "Do Not Disturb"
      depth: 8
    }
    nodes {
      bounds_in_screen {
        left: 924
        top: 39
        right: 970
        bottom: 97
      }
      class_name: "android.widget.FrameLayout"
      content_description: "Wifi signal full."
      depth: 8
    }
    nodes {
      bounds_in_screen {
        left: 986
        top: 51
        right: 1006
        bottom: 85
      }
      class_name: "android.widget.ImageView"
      depth: 8
    }
    nodes {
      bounds_in_screen {
        left: 128
        top: 1
        right: 186
        bottom: 136
      }
      class_name: "android.widget.ImageView"
      content_description: "Tata CLiQ notification: "
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 186
        top: 1
        right: 244
        bottom: 136
      }
      class_name: "android.widget.ImageView"
      content_description: "Moonly notification: "
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 244
        top: 1
        right: 302
        bottom: 136
      }
      class_name: "android.widget.ImageView"
      content_description: "IGP notification: 15% OFF with App15"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 302
        top: 1
        right: 360
        bottom: 136
      }
      class_name: "android.widget.ImageView"
      content_description: "Ferns N Petals notification: 🌸BESTSELLING BLOOMS🌸"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 360
        top: 1
        right: 418
        bottom: 136
      }
      class_name: "android.widget.ImageView"
      content_description: "Flipkart notification: TODAY\'S EXCLUSIVE DEAL 🤯"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 378
        top: 1
        right: 418
        bottom: 136
      }
      class_name: "android.widget.ImageView"
      content_description: "Idanim notification: 21 Days to Your Best Self"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 378
        top: 1
        right: 418
        bottom: 136
      }
      class_name: "android.widget.ImageView"
      content_description: "SSBeauty notification: 🧔🏽 → 👨🏽 → 👦🏽"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 931
        top: 39
        right: 970
        bottom: 97
      }
      class_name: "android.widget.LinearLayout"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 931
        top: 48
        right: 970
        bottom: 87
      }
      class_name: "android.widget.FrameLayout"
      depth: 10
    }
    nodes {
      bounds_in_screen {
        left: 931
        top: 48
        right: 970
        bottom: 87
      }
      class_name: "android.widget.ImageView"
      depth: 11
    }
  }
}
windows {
  bounds_in_screen {
    right: 1080
    bottom: 2400
  }
  id: 74
  window_type: TYPE_APPLICATION
  is_active: true
  is_focused: true
  tree {
    nodes {
      bounds_in_screen {
        right: 1080
        bottom: 2400
      }
      class_name: "android.widget.FrameLayout"
    }
    nodes {
      bounds_in_screen {
        right: 1080
        bottom: 2337
      }
      class_name: "android.widget.LinearLayout"
      depth: 1
    }
    nodes {
      bounds_in_screen {
        top: 2337
        right: 1080
        bottom: 2400
      }
      class_name: "android.view.View"
      depth: 1
    }
    nodes {
      bounds_in_screen {
        top: 136
        right: 1080
        bottom: 2337
      }
      class_name: "android.widget.FrameLayout"
      depth: 2
    }
    nodes {
      bounds_in_screen {
        top: 136
        right: 1080
        bottom: 2337
      }
      class_name: "android.widget.FrameLayout"
      depth: 3
    }
    nodes {
      bounds_in_screen {
        top: 136
        right: 1080
        bottom: 2337
      }
      class_name: "android.view.ViewGroup"
      depth: 4
    }
    nodes {
      bounds_in_screen {
        top: 136
        right: 1080
        bottom: 2337
      }
      class_name: "android.view.ViewGroup"
      depth: 5
    }
    nodes {
      bounds_in_screen {
        top: 136
        right: 1080
        bottom: 2337
      }
      class_name: "android.view.ViewGroup"
      depth: 6
    }
    nodes {
      bounds_in_screen {
        left: 26
        top: 202
        right: 110
        bottom: 244
      }
      class_name: "android.view.ViewGroup"
      is_clickable: true
      is_focusable: true
      depth: 7
    }
    nodes {
      bounds_in_screen {
        left: 163
        top: 189
        right: 353
        bottom: 256
      }
      class_name: "android.widget.TextView"
      text: "Coupons"
      depth: 7
    }
    nodes {
      bounds_in_screen {
        top: 308
        right: 1080
        bottom: 2115
      }
      class_name: "android.widget.ScrollView"
      is_focusable: true
      depth: 7
    }
    nodes {
      bounds_in_screen {
        top: 2115
        right: 1080
        bottom: 2337
      }
      class_name: "android.view.ViewGroup"
      depth: 7
    }
    nodes {
      bounds_in_screen {
        left: 68
        top: 202
        right: 110
        bottom: 244
      }
      class_name: "android.view.ViewGroup"
      depth: 8
    }
    nodes {
      bounds_in_screen {
        top: 308
        right: 1080
        bottom: 1893
      }
      class_name: "android.view.ViewGroup"
      depth: 8
    }
    nodes {
      bounds_in_screen {
        top: 2219
        right: 1080
        bottom: 2337
      }
      class_name: "android.view.ViewGroup"
      is_clickable: true
      is_focusable: true
      depth: 8
    }
    nodes {
      bounds_in_screen {
        left: 68
        top: 202
        right: 110
        bottom: 244
      }
      class_name: "android.widget.ImageView"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        top: 308
        right: 1080
        bottom: 467
      }
      class_name: "android.view.ViewGroup"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        top: 467
        right: 1080
        bottom: 582
      }
      class_name: "android.widget.TextView"
      text: "Top Offers for you:"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 26
        top: 609
        right: 1054
        bottom: 1762
      }
      class_name: "android.widget.ScrollView"
      is_focusable: true
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 441
        top: 2245
        right: 639
        bottom: 2312
      }
      class_name: "android.widget.TextView"
      text: "Continue"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 26
        top: 334
        right: 1054
        bottom: 439
      }
      class_name: "android.widget.EditText"
      hint_text: "Enter coupon code"
      text: "Enter coupon code"
      is_clickable: true
      is_editable: true
      is_focusable: true
      is_long_clickable: true
      depth: 10
    }
    nodes {
      bounds_in_screen {
        left: 797
        top: 355
        right: 1002
        bottom: 418
      }
      class_name: "android.view.ViewGroup"
      is_clickable: true
      is_focusable: true
      depth: 10
    }
    nodes {
      bounds_in_screen {
        left: 26
        top: 609
        right: 1054
        bottom: 1762
      }
      class_name: "android.view.ViewGroup"
      depth: 10
    }
    nodes {
      bounds_in_screen {
        left: 846
        top: 358
        right: 954
        bottom: 416
      }
      class_name: "android.widget.TextView"
      text: "Apply"
      depth: 11
    }
    nodes {
      bounds_in_screen {
        left: 26
        top: 609
        right: 1054
        bottom: 911
      }
      class_name: "android.view.ViewGroup"
      depth: 11
    }
    nodes {
      bounds_in_screen {
        left: 26
        top: 911
        right: 1054
        bottom: 1213
      }
      class_name: "android.view.ViewGroup"
      depth: 11
    }
    nodes {
      bounds_in_screen {
        left: 26
        top: 1213
        right: 1054
        bottom: 1510
      }
      class_name: "android.view.ViewGroup"
      depth: 11
    }
    nodes {
      bounds_in_screen {
        left: 26
        top: 1510
        right: 1054
        bottom: 1762
      }
      class_name: "android.view.ViewGroup"
      depth: 11
    }
    nodes {
      bounds_in_screen {
        left: 26
        top: 609
        right: 1054
        bottom: 911
      }
      class_name: "android.view.ViewGroup"
      is_clickable: true
      is_focusable: true
      depth: 12
    }
    nodes {
      bounds_in_screen {
        left: 26
        top: 911
        right: 1054
        bottom: 1213
      }
      class_name: "android.view.ViewGroup"
      is_clickable: true
      is_focusable: true
      depth: 12
    }
    nodes {
      bounds_in_screen {
        left: 26
        top: 1213
        right: 1054
        bottom: 1510
      }
      class_name: "android.view.ViewGroup"
      is_clickable: true
      is_focusable: true
      depth: 12
    }
    nodes {
      bounds_in_screen {
        left: 26
        top: 1510
        right: 1054
        bottom: 1762
      }
      class_name: "android.view.ViewGroup"
      is_clickable: true
      is_focusable: true
      depth: 12
    }
    nodes {
      bounds_in_screen {
        left: 26
        top: 609
        right: 1054
        bottom: 884
      }
      class_name: "android.view.ViewGroup"
      depth: 13
    }
    nodes {
      bounds_in_screen {
        left: 26
        top: 911
        right: 1054
        bottom: 1187
      }
      class_name: "android.view.ViewGroup"
      depth: 13
    }
    nodes {
      bounds_in_screen {
        left: 26
        top: 1213
        right: 1054
        bottom: 1484
      }
      class_name: "android.view.ViewGroup"
      depth: 13
    }
    nodes {
      bounds_in_screen {
        left: 26
        top: 1510
        right: 1054
        bottom: 1736
      }
      class_name: "android.view.ViewGroup"
      depth: 13
    }
    nodes {
      bounds_in_screen {
        left: 79
        top: 638
        right: 377
        bottom: 703
      }
      class_name: "android.widget.TextView"
      text: "Free Shipping"
      depth: 14
    }
    nodes {
      bounds_in_screen {
        left: 403
        top: 638
        right: 508
        bottom: 704
      }
      class_name: "android.widget.ImageView"
      depth: 14
    }
    nodes {
      bounds_in_screen {
        left: 79
        top: 730
        right: 1025
        bottom: 780
      }
      class_name: "android.widget.TextView"
      text: "Your cart value is above INR 300"
      depth: 14
    }
    nodes {
      bounds_in_screen {
        left: 79
        top: 780
        right: 1025
        bottom: 830
      }
      class_name: "android.widget.TextView"
      text: "Add this item to the current cart to avail Free Shipping!"
      depth: 14
    }
    nodes {
      bounds_in_screen {
        left: 79
        top: 940
        right: 433
        bottom: 1005
      }
      class_name: "android.widget.TextView"
      text: "Pay Online Offer"
      depth: 14
    }
    nodes {
      bounds_in_screen {
        left: 459
        top: 940
        right: 564
        bottom: 1005
      }
      class_name: "android.widget.ImageView"
      depth: 14
    }
    nodes {
      bounds_in_screen {
        left: 79
        top: 1032
        right: 1025
        bottom: 1082
      }
      class_name: "android.widget.TextView"
      text: "Get Additional 10% Off (upto ₹500) by Paying Online"
      depth: 14
    }
    nodes {
      bounds_in_screen {
        left: 79
        top: 1082
        right: 1025
        bottom: 1132
      }
      class_name: "android.widget.TextView"
      text: "Offer auto-applied during online payment."
      depth: 14
    }
    nodes {
      bounds_in_screen {
        left: 79
        top: 1242
        right: 802
        bottom: 1307
      }
      class_name: "android.widget.TextView"
      text: "Apply SUPERJOLLEE at Checkout"
      depth: 14
    }
    nodes {
      bounds_in_screen {
        left: 828
        top: 1242
        right: 933
        bottom: 1307
      }
      class_name: "android.widget.ImageView"
      depth: 14
    }
    nodes {
      bounds_in_screen {
        left: 79
        top: 1334
        right: 1025
        bottom: 1429
      }
      class_name: "android.widget.TextView"
      text: "Smiles & Savings! Rs 50 off on your order worth ₹299 & above."
      depth: 14
    }
    nodes {
      bounds_in_screen {
        left: 79
        top: 1539
        right: 746
        bottom: 1604
      }
      class_name: "android.widget.TextView"
      text: "Apply JOLLEEFAM at Checkout"
      depth: 14
    }
    nodes {
      bounds_in_screen {
        left: 772
        top: 1539
        right: 877
        bottom: 1604
      }
      class_name: "android.widget.ImageView"
      depth: 14
    }
    nodes {
      bounds_in_screen {
        left: 79
        top: 1631
        right: 1025
        bottom: 1681
      }
      class_name: "android.widget.TextView"
      text: "Flat ₹100 Off on your Jollee Order worth ₹399 & above"
      depth: 14
    }
  }
}


assistant: !FUNCTIONCALL{"name": "click", "parameters": {"x": 540, "y": 1622}}