instruction:  Launch the Amazon app, search for India gate basmati rice, and add 5 Kg of it to your shopping cart.

previous_actions: 

active_application: Home

screen_description: windows {
  bounds_in_screen {
    right: 1080
    bottom: 136
  }
  id: 8
  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: 1
    }
    nodes {
      bounds_in_screen {
        right: 1080
        bottom: 136
      }
      class_name: "android.widget.FrameLayout"
      depth: 2
    }
    nodes {
      bounds_in_screen {
        left: 145
        right: 1027
        bottom: 136
      }
      class_name: "android.widget.LinearLayout"
      depth: 3
    }
    nodes {
      bounds_in_screen {
        left: 145
        top: 1
        right: 575
        bottom: 136
      }
      class_name: "android.widget.FrameLayout"
      depth: 4
    }
    nodes {
      bounds_in_screen {
        left: 575
        top: 1
        right: 1006
        bottom: 136
      }
      class_name: "android.widget.FrameLayout"
      depth: 4
    }
    nodes {
      bounds_in_screen {
        left: 145
        top: 1
        right: 537
        bottom: 136
      }
      class_name: "android.widget.FrameLayout"
      depth: 5
    }
    nodes {
      bounds_in_screen {
        left: 924
        top: 1
        right: 1006
        bottom: 136
      }
      class_name: "android.widget.LinearLayout"
      depth: 5
    }
    nodes {
      bounds_in_screen {
        left: 145
        top: 1
        right: 537
        bottom: 136
      }
      class_name: "android.widget.LinearLayout"
      depth: 6
    }
    nodes {
      bounds_in_screen {
        left: 924
        top: 1
        right: 1006
        bottom: 136
      }
      class_name: "android.widget.LinearLayout"
      depth: 6
    }
    nodes {
      bounds_in_screen {
        left: 145
        top: 1
        right: 247
        bottom: 136
      }
      class_name: "android.widget.TextView"
      content_description: "11:11 AM"
      text: "11:11"
      depth: 7
    }
    nodes {
      bounds_in_screen {
        left: 247
        top: 1
        right: 537
        bottom: 136
      }
      class_name: "android.widget.FrameLayout"
      depth: 7
    }
    nodes {
      bounds_in_screen {
        left: 924
        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: 247
        top: 1
        right: 537
        bottom: 136
      }
      class_name: "android.view.ViewGroup"
      depth: 8
    }
    nodes {
      bounds_in_screen {
        left: 924
        top: 39
        right: 970
        bottom: 97
      }
      class_name: "android.widget.FrameLayout"
      content_description: "Wifi three bars."
      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: 247
        top: 1
        right: 305
        bottom: 136
      }
      class_name: "android.widget.ImageView"
      content_description: "Myntra notification: "
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 305
        top: 1
        right: 363
        bottom: 136
      }
      class_name: "android.widget.ImageView"
      content_description: "BestPrice Flipkart Wholesale notification: "
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 363
        top: 1
        right: 421
        bottom: 136
      }
      class_name: "android.widget.ImageView"
      content_description: "Any.do notification: Integrate with Alexa to add reminders hands free 🙌"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 421
        top: 1
        right: 479
        bottom: 136
      }
      class_name: "android.widget.ImageView"
      content_description: "Google News notification: "
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 479
        top: 1
        right: 537
        bottom: 136
      }
      class_name: "android.widget.ImageView"
      content_description: "YouTube notification: Can an Umbrella Made of Water Stop the Rain?"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 497
        top: 1
        right: 537
        bottom: 136
      }
      class_name: "android.widget.ImageView"
      content_description: "Google Play Store notification: "
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 497
        top: 1
        right: 537
        bottom: 136
      }
      class_name: "android.widget.ImageView"
      content_description: "System update notification: Android 13"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 497
        top: 1
        right: 537
        bottom: 136
      }
      class_name: "android.widget.ImageView"
      content_description: "Google notification: 33° in Bandhwari"
      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: 1009
  title: "Home"
  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: 2400
      }
      class_name: "android.widget.LinearLayout"
      depth: 1
    }
    nodes {
      bounds_in_screen {
        right: 1080
        bottom: 2400
      }
      class_name: "android.widget.FrameLayout"
      depth: 2
    }
    nodes {
      bounds_in_screen {
        right: 1080
        bottom: 2400
      }
      class_name: "android.widget.FrameLayout"
      depth: 3
    }
    nodes {
      bounds_in_screen {
        right: 1080
        bottom: 2400
      }
      class_name: "android.widget.FrameLayout"
      depth: 4
    }
    nodes {
      bounds_in_screen {
        right: 1080
        bottom: 2400
      }
      class_name: "android.view.View"
      depth: 5
    }
    nodes {
      bounds_in_screen {
        right: 1080
        bottom: 2400
      }
      class_name: "android.widget.ScrollView"
      is_scrollable: true
      depth: 5
    }
    nodes {
      bounds_in_screen {
        top: 136
        right: 1080
        bottom: 2337
      }
      class_name: "android.view.View"
      content_description: "Home"
      depth: 5
    }
    nodes {
      bounds_in_screen {
        top: 1810
        right: 1080
        bottom: 1873
      }
      class_name: "android.view.View"
      depth: 5
    }
    nodes {
      bounds_in_screen {
        top: 1873
        right: 1080
        bottom: 2400
      }
      class_name: "android.view.ViewGroup"
      depth: 5
    }
    nodes {
      bounds_in_screen {
        top: 2010
        right: 1080
        bottom: 2400
      }
      class_name: "android.widget.FrameLayout"
      depth: 5
    }
    nodes {
      bounds_in_screen {
        top: 203
        right: -1
        bottom: 1787
      }
      class_name: "android.view.ViewGroup"
      depth: 6
    }
    nodes {
      bounds_in_screen {
        left: 29
        top: 203
        right: 1051
        bottom: 1787
      }
      class_name: "android.view.ViewGroup"
      depth: 6
    }
    nodes {
      bounds_in_screen {
        left: 1081
        top: 203
        right: 1080
        bottom: 1787
      }
      class_name: "android.view.ViewGroup"
      depth: 6
    }
    nodes {
      bounds_in_screen {
        left: 76
        top: 1873
        right: 1004
        bottom: 2068
      }
      class_name: "android.view.ViewGroup"
      depth: 6
    }
    nodes {
      bounds_in_screen {
        left: 75
        top: 2125
        right: 1004
        bottom: 2290
      }
      class_name: "android.widget.FrameLayout"
      content_description: "Search"
      is_clickable: true
      is_focusable: true
      is_long_clickable: true
      depth: 6
    }
    nodes {
      bounds_in_screen {
        top: 231
        right: -29
        bottom: 1759
      }
      class_name: "android.view.ViewGroup"
      depth: 7
    }
    nodes {
      bounds_in_screen {
        left: 57
        top: 231
        right: 1023
        bottom: 1759
      }
      class_name: "android.view.ViewGroup"
      depth: 7
    }
    nodes {
      bounds_in_screen {
        left: 1109
        top: 231
        right: 1080
        bottom: 1759
      }
      class_name: "android.view.ViewGroup"
      depth: 7
    }
    nodes {
      bounds_in_screen {
        left: 76
        top: 1873
        right: 249
        bottom: 2068
      }
      class_name: "android.widget.TextView"
      content_description: "Phone"
      text: "Phone"
      is_clickable: true
      is_focusable: true
      is_long_clickable: true
      depth: 7
    }
    nodes {
      bounds_in_screen {
        left: 328
        top: 1873
        right: 501
        bottom: 2068
      }
      class_name: "android.widget.TextView"
      content_description: "Messages"
      text: "Messages"
      is_clickable: true
      is_focusable: true
      is_long_clickable: true
      depth: 7
    }
    nodes {
      bounds_in_screen {
        left: 580
        top: 1873
        right: 753
        bottom: 2068
      }
      class_name: "android.widget.TextView"
      content_description: "Chrome"
      text: "Chrome"
      is_clickable: true
      is_focusable: true
      is_long_clickable: true
      depth: 7
    }
    nodes {
      bounds_in_screen {
        left: 832
        top: 1873
        right: 1004
        bottom: 2068
      }
      class_name: "android.widget.TextView"
      content_description: "Camera"
      text: "Camera"
      is_clickable: true
      is_focusable: true
      is_long_clickable: true
      depth: 7
    }
    nodes {
      bounds_in_screen {
        left: 86
        top: 2144
        right: 212
        bottom: 2270
      }
      class_name: "android.widget.ImageView"
      content_description: "Google app"
      is_clickable: true
      is_focusable: true
      depth: 7
    }
    nodes {
      bounds_in_screen {
        left: 741
        top: 2125
        right: 993
        bottom: 2290
      }
      class_name: "android.widget.LinearLayout"
      depth: 7
    }
    nodes {
      bounds_in_screen {
        top: 231
        right: -29
        bottom: 503
      }
      class_name: "android.widget.FrameLayout"
      depth: 8
    }
    nodes {
      bounds_in_screen {
        top: 1487
        right: -785
        bottom: 1759
      }
      class_name: "android.widget.TextView"
      content_description: "Play Store has 3 notifications"
      text: "Play Store"
      is_clickable: true
      is_focusable: true
      is_long_clickable: true
      depth: 8
    }
    nodes {
      bounds_in_screen {
        top: 1487
        right: -533
        bottom: 1759
      }
      class_name: "android.widget.TextView"
      content_description: "Gmail"
      text: "Gmail"
      is_clickable: true
      is_focusable: true
      is_long_clickable: true
      depth: 8
    }
    nodes {
      bounds_in_screen {
        top: 1487
        right: -281
        bottom: 1759
      }
      class_name: "android.widget.TextView"
      content_description: "Photos"
      text: "Photos"
      is_clickable: true
      is_focusable: true
      is_long_clickable: true
      depth: 8
    }
    nodes {
      bounds_in_screen {
        top: 1487
        right: -29
        bottom: 1759
      }
      class_name: "android.widget.TextView"
      content_description: "YouTube has 1 notification"
      text: "YouTube"
      is_clickable: true
      is_focusable: true
      is_long_clickable: true
      depth: 8
    }
    nodes {
      bounds_in_screen {
        left: 57
        top: 231
        right: 267
        bottom: 503
      }
      class_name: "android.widget.TextView"
      content_description: "DBW Showcase App"
      text: "DBW Showcase App"
      is_clickable: true
      is_focusable: true
      is_long_clickable: true
      depth: 8
    }
    nodes {
      bounds_in_screen {
        left: 309
        top: 231
        right: 519
        bottom: 503
      }
      class_name: "android.widget.TextView"
      content_description: "Any.do has 1 notification"
      text: "Any.do"
      is_clickable: true
      is_focusable: true
      is_long_clickable: true
      depth: 8
    }
    nodes {
      bounds_in_screen {
        left: 561
        top: 231
        right: 771
        bottom: 503
      }
      class_name: "android.widget.TextView"
      content_description: "Remind Me"
      text: "Remind Me"
      is_clickable: true
      is_focusable: true
      is_long_clickable: true
      depth: 8
    }
    nodes {
      bounds_in_screen {
        left: 813
        top: 231
        right: 1023
        bottom: 503
      }
      class_name: "android.widget.TextView"
      content_description: "Reminder"
      text: "Reminder"
      is_clickable: true
      is_focusable: true
      is_long_clickable: true
      depth: 8
    }
    nodes {
      bounds_in_screen {
        left: 57
        top: 545
        right: 267
        bottom: 817
      }
      class_name: "android.widget.TextView"
      content_description: "Xe"
      text: "Xe"
      is_clickable: true
      is_focusable: true
      is_long_clickable: true
      depth: 8
    }
    nodes {
      bounds_in_screen {
        left: 309
        top: 545
        right: 519
        bottom: 817
      }
      class_name: "android.widget.TextView"
      content_description: "eBay"
      text: "eBay"
      is_clickable: true
      is_focusable: true
      is_long_clickable: true
      depth: 8
    }
    nodes {
      bounds_in_screen {
        left: 561
        top: 545
        right: 771
        bottom: 817
      }
      class_name: "android.widget.TextView"
      content_description: "BestPrice Flipkart Wholesale has 11 notifications"
      text: "BestPrice Flipkart Wholesale"
      is_clickable: true
      is_focusable: true
      is_long_clickable: true
      depth: 8
    }
    nodes {
      bounds_in_screen {
        left: 813
        top: 545
        right: 1023
        bottom: 817
      }
      class_name: "android.widget.TextView"
      content_description: "OpenTable"
      text: "OpenTable"
      is_clickable: true
      is_focusable: true
      is_long_clickable: true
      depth: 8
    }
    nodes {
      bounds_in_screen {
        left: 57
        top: 859
        right: 267
        bottom: 1131
      }
      class_name: "android.widget.TextView"
      content_description: "Swiggy"
      text: "Swiggy"
      is_clickable: true
      is_focusable: true
      is_long_clickable: true
      depth: 8
    }
    nodes {
      bounds_in_screen {
        left: 309
        top: 859
        right: 519
        bottom: 1131
      }
      class_name: "android.widget.TextView"
      content_description: "Zomato"
      text: "Zomato"
      is_clickable: true
      is_focusable: true
      is_long_clickable: true
      depth: 8
    }
    nodes {
      bounds_in_screen {
        left: 561
        top: 859
        right: 771
        bottom: 1131
      }
      class_name: "android.widget.TextView"
      content_description: "Vimeo"
      text: "Vimeo"
      is_clickable: true
      is_focusable: true
      is_long_clickable: true
      depth: 8
    }
    nodes {
      bounds_in_screen {
        left: 813
        top: 859
        right: 1023
        bottom: 1131
      }
      class_name: "android.widget.TextView"
      content_description: "Blinkit"
      text: "Blinkit"
      is_clickable: true
      is_focusable: true
      is_long_clickable: true
      depth: 8
    }
    nodes {
      bounds_in_screen {
        left: 57
        top: 1173
        right: 267
        bottom: 1445
      }
      class_name: "android.widget.TextView"
      content_description: "TripIt"
      text: "TripIt"
      is_clickable: true
      is_focusable: true
      is_long_clickable: true
      depth: 8
    }
    nodes {
      bounds_in_screen {
        left: 309
        top: 1173
        right: 519
        bottom: 1445
      }
      class_name: "android.widget.TextView"
      content_description: "Rome2Rio"
      text: "Rome2Rio"
      is_clickable: true
      is_focusable: true
      is_long_clickable: true
      depth: 8
    }
    nodes {
      bounds_in_screen {
        left: 561
        top: 1173
        right: 771
        bottom: 1445
      }
      class_name: "android.widget.TextView"
      content_description: "Fresh Mode"
      text: "Fresh Mode"
      is_clickable: true
      is_focusable: true
      is_long_clickable: true
      depth: 8
    }
    nodes {
      bounds_in_screen {
        left: 813
        top: 1173
        right: 1023
        bottom: 1445
      }
      class_name: "android.widget.TextView"
      content_description: "Flipkart"
      text: "Flipkart"
      is_clickable: true
      is_focusable: true
      is_long_clickable: true
      depth: 8
    }
    nodes {
      bounds_in_screen {
        left: 57
        top: 1487
        right: 267
        bottom: 1759
      }
      class_name: "android.widget.TextView"
      content_description: "Currency Plus"
      text: "Currency Plus"
      is_clickable: true
      is_focusable: true
      is_long_clickable: true
      depth: 8
    }
    nodes {
      bounds_in_screen {
        left: 309
        top: 1487
        right: 519
        bottom: 1759
      }
      class_name: "android.widget.TextView"
      content_description: "Currency"
      text: "Currency"
      is_clickable: true
      is_focusable: true
      is_long_clickable: true
      depth: 8
    }
    nodes {
      bounds_in_screen {
        left: 561
        top: 1487
        right: 771
        bottom: 1759
      }
      class_name: "android.widget.TextView"
      content_description: "Amazon"
      text: "Amazon"
      is_clickable: true
      is_focusable: true
      is_long_clickable: true
      depth: 8
    }
    nodes {
      bounds_in_screen {
        left: 813
        top: 1487
        right: 1023
        bottom: 1759
      }
      class_name: "android.widget.TextView"
      content_description: "bigbasket"
      text: "bigbasket"
      is_clickable: true
      is_focusable: true
      is_long_clickable: true
      depth: 8
    }
    nodes {
      bounds_in_screen {
        left: 1109
        top: 231
        right: 1080
        bottom: 503
      }
      class_name: "android.widget.TextView"
      content_description: "Myntra has 2 notifications"
      text: "Myntra"
      is_clickable: true
      is_focusable: true
      is_long_clickable: true
      depth: 8
    }
    nodes {
      bounds_in_screen {
        left: 1361
        top: 231
        right: 1080
        bottom: 503
      }
      class_name: "android.widget.TextView"
      content_description: "DMart Ready"
      text: "DMart Ready"
      is_clickable: true
      is_focusable: true
      is_long_clickable: true
      depth: 8
    }
    nodes {
      bounds_in_screen {
        left: 741
        top: 2125
        right: 867
        bottom: 2290
      }
      class_name: "android.widget.ImageView"
      content_description: "Voice search"
      is_clickable: true
      depth: 8
    }
    nodes {
      bounds_in_screen {
        left: 867
        top: 2125
        right: 993
        bottom: 2290
      }
      class_name: "android.widget.ImageButton"
      content_description: "Google Lens"
      is_clickable: true
      is_focusable: true
      depth: 8
    }
    nodes {
      bounds_in_screen {
        top: 232
        right: -29
        bottom: 503
      }
      class_name: "android.widget.FrameLayout"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        top: 232
        right: -29
        bottom: 503
      }
      class_name: "androidx.viewpager.widget.ViewPager"
      is_focusable: true
      is_long_clickable: true
      depth: 10
    }
    nodes {
      bounds_in_screen {
        top: 232
        right: -29
        bottom: 503
      }
      class_name: "android.view.ViewGroup"
      is_clickable: true
      is_focusable: true
      depth: 11
    }
    nodes {
      bounds_in_screen {
        top: 291
        right: -29
        bottom: 444
      }
      class_name: "android.widget.RelativeLayout"
      depth: 12
    }
    nodes {
      bounds_in_screen {
        top: 291
        right: -713
        bottom: 357
      }
      class_name: "android.widget.TextView"
      content_description: "Mon, Jul 3"
      text: "Mon, Jul 3"
      depth: 13
    }
    nodes {
      bounds_in_screen {
        top: 381
        right: -788
        bottom: 444
      }
      class_name: "android.view.ViewGroup"
      depth: 13
    }
    nodes {
      bounds_in_screen {
        top: 381
        right: -793
        bottom: 444
      }
      class_name: "android.widget.TextView"
      content_description: "Haze, 33°C"
      text: "33°C"
      is_clickable: true
      is_focusable: true
      depth: 14
    }
  }
}


assistant: !FUNCTIONCALL{"name": "open_app", "parameters": {"app_name": "Amazon"}}