instruction
I want to view my cart in the Bigbasket app.
previous_actions
{"name": "click", "parameters": {"x": 1016, "y": 189}}
active_application
bigbasket
screen_description
windows {
  bounds_in_screen {
    right: 1080
    bottom: 118
  }
  id: 49
  layer: 1
  window_type: TYPE_SYSTEM
  tree {
    nodes {
      bounds_in_screen {
        right: 1080
        bottom: 118
      }
      class_name: "android.widget.FrameLayout"
    }
    nodes {
      bounds_in_screen {
        right: 1080
        bottom: 118
      }
      class_name: "android.widget.FrameLayout"
      depth: 1
    }
    nodes {
      bounds_in_screen {
        right: 1080
        bottom: 118
      }
      class_name: "android.widget.FrameLayout"
      depth: 1
    }
    nodes {
      bounds_in_screen {
        right: 1080
        bottom: 118
      }
      class_name: "android.widget.FrameLayout"
      depth: 1
    }
    nodes {
      bounds_in_screen {
        right: 1080
        bottom: 118
      }
      class_name: "android.widget.FrameLayout"
      depth: 2
    }
    nodes {
      bounds_in_screen {
        left: 47
        right: 1027
        bottom: 118
      }
      class_name: "android.widget.LinearLayout"
      depth: 3
    }
    nodes {
      bounds_in_screen {
        left: 47
        top: 1
        right: 454
        bottom: 118
      }
      class_name: "android.widget.FrameLayout"
      depth: 4
    }
    nodes {
      bounds_in_screen {
        left: 454
        top: 1
        right: 599
        bottom: 118
      }
      class_name: "android.view.View"
      depth: 4
    }
    nodes {
      bounds_in_screen {
        left: 599
        top: 1
        right: 1006
        bottom: 118
      }
      class_name: "android.widget.LinearLayout"
      depth: 4
    }
    nodes {
      bounds_in_screen {
        left: 47
        top: 1
        right: 454
        bottom: 118
      }
      class_name: "android.widget.LinearLayout"
      depth: 5
    }
    nodes {
      bounds_in_screen {
        left: 924
        top: 1
        right: 1006
        bottom: 118
      }
      class_name: "android.widget.LinearLayout"
      depth: 5
    }
    nodes {
      bounds_in_screen {
        left: 47
        top: 1
        right: 127
        bottom: 118
      }
      class_name: "android.widget.TextView"
      content_description: "8:24 AM"
      text: "8:24"
      depth: 6
    }
    nodes {
      bounds_in_screen {
        left: 127
        top: 1
        right: 454
        bottom: 118
      }
      class_name: "android.widget.FrameLayout"
      depth: 6
    }
    nodes {
      bounds_in_screen {
        left: 924
        top: 1
        right: 986
        bottom: 118
      }
      class_name: "android.widget.LinearLayout"
      depth: 6
    }
    nodes {
      bounds_in_screen {
        left: 986
        top: 1
        right: 1006
        bottom: 118
      }
      class_name: "android.widget.LinearLayout"
      content_description: "Battery charging, 96 percent."
      depth: 6
    }
    nodes {
      bounds_in_screen {
        left: 127
        top: 1
        right: 454
        bottom: 118
      }
      class_name: "android.widget.LinearLayout"
      depth: 7
    }
    nodes {
      bounds_in_screen {
        left: 924
        top: 30
        right: 970
        bottom: 88
      }
      class_name: "android.widget.FrameLayout"
      content_description: "Wifi signal full."
      depth: 7
    }
    nodes {
      bounds_in_screen {
        left: 986
        top: 42
        right: 1006
        bottom: 76
      }
      class_name: "android.widget.ImageView"
      depth: 7
    }
    nodes {
      bounds_in_screen {
        left: 127
        top: 1
        right: 454
        bottom: 118
      }
      class_name: "android.widget.FrameLayout"
      depth: 8
    }
    nodes {
      bounds_in_screen {
        left: 931
        top: 30
        right: 970
        bottom: 88
      }
      class_name: "android.widget.LinearLayout"
      depth: 8
    }
    nodes {
      bounds_in_screen {
        left: 127
        top: 1
        right: 185
        bottom: 118
      }
      class_name: "android.widget.ImageView"
      content_description: "To Do List notification: 1 Task Today"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 185
        top: 1
        right: 243
        bottom: 118
      }
      class_name: "android.widget.ImageView"
      content_description: "Flipkart notification: "
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 243
        top: 1
        right: 301
        bottom: 118
      }
      class_name: "android.widget.ImageView"
      content_description: "The Weather Channel notification: Breaking News"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 301
        top: 1
        right: 359
        bottom: 118
      }
      class_name: "android.widget.ImageView"
      content_description: "Ubuy notification: "
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 359
        top: 1
        right: 417
        bottom: 118
      }
      class_name: "android.widget.ImageView"
      content_description: "Gmail notification: 2 new messages"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 377
        top: 1
        right: 435
        bottom: 118
      }
      class_name: "android.widget.ImageView"
      content_description: "Android System notification: Check access settings"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 377
        top: 1
        right: 435
        bottom: 118
      }
      class_name: "android.widget.ImageView"
      content_description: "Digital Wellbeing notification: Need time to focus?"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 377
        top: 1
        right: 435
        bottom: 118
      }
      class_name: "android.widget.ImageView"
      content_description: "Google Play Store notification: Complete setup by installing apps"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 377
        top: 1
        right: 435
        bottom: 118
      }
      class_name: "android.widget.ImageView"
      content_description: "Google Play services notification: "
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 377
        top: 1
        right: 435
        bottom: 118
      }
      class_name: "android.widget.ImageView"
      content_description: "Zappo Brands notification: Get your Star Projector today 🚀"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 377
        top: 1
        right: 435
        bottom: 118
      }
      class_name: "android.widget.ImageView"
      content_description: "Top-Most Hardware notification: Check this out!"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 931
        top: 39
        right: 970
        bottom: 78
      }
      class_name: "android.widget.FrameLayout"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 931
        top: 39
        right: 970
        bottom: 78
      }
      class_name: "android.widget.ImageView"
      depth: 10
    }
  }
}
windows {
  bounds_in_screen {
    right: 1080
    bottom: 2400
  }
  id: 2531
  title: "bigbasket"
  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 {
        right: 1080
        bottom: 118
      }
      class_name: "android.view.View"
      depth: 1
    }
    nodes {
      bounds_in_screen {
        top: 2337
        right: 1080
        bottom: 2400
      }
      class_name: "android.view.View"
      depth: 1
    }
    nodes {
      bounds_in_screen {
        right: 1080
        bottom: 2337
      }
      class_name: "android.widget.FrameLayout"
      depth: 2
    }
    nodes {
      bounds_in_screen {
        right: 1080
        bottom: 2337
      }
      class_name: "android.widget.LinearLayout"
      depth: 3
    }
    nodes {
      bounds_in_screen {
        right: 1080
        bottom: 2337
      }
      class_name: "android.widget.FrameLayout"
      depth: 4
    }
    nodes {
      bounds_in_screen {
        right: 1080
        bottom: 2337
      }
      class_name: "androidx.drawerlayout.widget.DrawerLayout"
      depth: 5
    }
    nodes {
      bounds_in_screen {
        right: 1080
        bottom: 2337
      }
      class_name: "android.view.ViewGroup"
      depth: 6
    }
    nodes {
      bounds_in_screen {
        top: 118
        right: 1080
        bottom: 265
      }
      class_name: "android.widget.LinearLayout"
      depth: 7
    }
    nodes {
      bounds_in_screen {
        top: 265
        right: 1080
        bottom: 2337
      }
      class_name: "android.widget.FrameLayout"
      depth: 7
    }
    nodes {
      bounds_in_screen {
        top: 2036
        right: 1080
        bottom: 2337
      }
      class_name: "android.widget.FrameLayout"
      depth: 7
    }
    nodes {
      bounds_in_screen {
        top: 118
        right: 1080
        bottom: 265
      }
      class_name: "android.view.ViewGroup"
      depth: 8
    }
    nodes {
      bounds_in_screen {
        top: 265
        right: 1080
        bottom: 2169
      }
      class_name: "android.widget.LinearLayout"
      depth: 8
    }
    nodes {
      bounds_in_screen {
        top: 2036
        right: 1080
        bottom: 2337
      }
      class_name: "android.widget.LinearLayout"
      depth: 8
    }
    nodes {
      bounds_in_screen {
        left: 42
        top: 157
        right: 858
        bottom: 225
      }
      class_name: "android.widget.LinearLayout"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 858
        top: 118
        right: 1080
        bottom: 265
      }
      class_name: "androidx.appcompat.widget.LinearLayoutCompat"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        top: 265
        right: 1080
        bottom: 2169
      }
      class_name: "android.widget.RelativeLayout"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        top: 2036
        right: 1080
        bottom: 2337
      }
      class_name: "android.widget.LinearLayout"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 42
        top: 157
        right: 858
        bottom: 225
      }
      class_name: "android.view.ViewGroup"
      depth: 10
    }
    nodes {
      bounds_in_screen {
        left: 858
        top: 128
        right: 985
        bottom: 254
      }
      class_name: "android.widget.Button"
      content_description: "Search"
      is_clickable: true
      is_focusable: true
      depth: 10
      tooltip_text: "Search"
    }
    nodes {
      bounds_in_screen {
        left: 985
        top: 128
        right: 1080
        bottom: 254
      }
      class_name: "android.widget.ImageView"
      content_description: "More options"
      is_clickable: true
      is_focusable: true
      is_long_clickable: true
      depth: 10
      tooltip_text: "More options"
    }
    nodes {
      bounds_in_screen {
        top: 265
        right: 1080
        bottom: 992
      }
      class_name: "androidx.recyclerview.widget.RecyclerView"
      is_focusable: true
      depth: 10
    }
    nodes {
      bounds_in_screen {
        top: 2036
        right: 1080
        bottom: 2039
      }
      class_name: "android.view.View"
      depth: 10
    }
    nodes {
      bounds_in_screen {
        top: 2039
        right: 1080
        bottom: 2176
      }
      class_name: "android.widget.RelativeLayout"
      is_clickable: true
      is_focusable: true
      depth: 10
    }
    nodes {
      bounds_in_screen {
        top: 2176
        right: 1080
        bottom: 2179
      }
      class_name: "android.view.View"
      depth: 10
    }
    nodes {
      bounds_in_screen {
        top: 2179
        right: 1080
        bottom: 2337
      }
      class_name: "android.widget.RelativeLayout"
      depth: 10
    }
    nodes {
      bounds_in_screen {
        left: 42
        top: 170
        right: 126
        bottom: 212
      }
      class_name: "android.widget.ImageView"
      is_clickable: true
      is_focusable: true
      depth: 11
    }
    nodes {
      bounds_in_screen {
        left: 126
        top: 160
        right: 189
        bottom: 223
      }
      class_name: "android.widget.ImageView"
      is_clickable: true
      is_focusable: true
      depth: 11
    }
    nodes {
      bounds_in_screen {
        left: 189
        top: 157
        right: 858
        bottom: 225
      }
      class_name: "android.widget.TextView"
      text: "Review Basket"
      depth: 11
    }
    nodes {
      bounds_in_screen {
        top: 265
        right: 1080
        bottom: 345
      }
      class_name: "android.widget.RelativeLayout"
      depth: 11
    }
    nodes {
      bounds_in_screen {
        top: 345
        right: 1080
        bottom: 729
      }
      class_name: "android.widget.FrameLayout"
      is_clickable: true
      is_focusable: true
      depth: 11
    }
    nodes {
      bounds_in_screen {
        left: 21
        top: 2057
        right: 108
        bottom: 2146
      }
      class_name: "android.widget.ImageView"
      depth: 11
    }
    nodes {
      bounds_in_screen {
        left: 124
        top: 2060
        right: 474
        bottom: 2113
      }
      class_name: "android.widget.TextView"
      text: "Selected Location"
      depth: 11
    }
    nodes {
      bounds_in_screen {
        left: 124
        top: 2118
        right: 1048
        bottom: 2150
      }
      class_name: "android.widget.TextView"
      text: "Sikandra, Agra - 282007"
      depth: 11
    }
    nodes {
      bounds_in_screen {
        left: 32
        top: 2207
        right: 209
        bottom: 2309
      }
      class_name: "android.widget.LinearLayout"
      depth: 11
    }
    nodes {
      bounds_in_screen {
        left: 628
        top: 2205
        right: 1048
        bottom: 2310
      }
      class_name: "android.widget.Button"
      text: "Login / Signup"
      is_clickable: true
      is_focusable: true
      depth: 11
    }
    nodes {
      bounds_in_screen {
        left: 32
        top: 281
        right: 965
        bottom: 328
      }
      class_name: "android.widget.TextView"
      text: "Beverages"
      depth: 12
    }
    nodes {
      bounds_in_screen {
        left: 965
        top: 278
        right: 1048
        bottom: 325
      }
      class_name: "android.widget.TextView"
      text: "1 Item"
      depth: 12
    }
    nodes {
      bounds_in_screen {
        left: 1048
        top: 279
        right: 1048
        bottom: 330
      }
      class_name: "android.widget.TextView"
      depth: 12
    }
    nodes {
      bounds_in_screen {
        top: 345
        right: 1080
        bottom: 729
      }
      class_name: "android.widget.FrameLayout"
      depth: 12
    }
    nodes {
      bounds_in_screen {
        top: 345
        right: 1080
        bottom: 729
      }
      class_name: "android.widget.FrameLayout"
      depth: 12
    }
    nodes {
      bounds_in_screen {
        top: 345
        right: 1080
        bottom: 729
      }
      class_name: "android.view.ViewGroup"
      depth: 12
    }
    nodes {
      bounds_in_screen {
        left: 32
        top: 2207
        right: 209
        bottom: 2244
      }
      class_name: "android.widget.TextView"
      text: "Total: ₹155"
      depth: 12
    }
    nodes {
      bounds_in_screen {
        left: 32
        top: 2255
        right: 199
        bottom: 2309
      }
      class_name: "android.widget.TextView"
      text: "Saved ₹15"
      depth: 12
    }
    nodes {
      bounds_in_screen {
        top: 345
        right: 1080
        bottom: 729
      }
      class_name: "android.widget.FrameLayout"
      is_clickable: true
      is_focusable: true
      depth: 13
    }
    nodes {
      bounds_in_screen {
        left: 1080
        top: 345
        right: 1080
        bottom: 729
      }
      class_name: "android.widget.FrameLayout"
      depth: 13
    }
    nodes {
      bounds_in_screen {
        top: 345
        right: 1080
        bottom: 729
      }
      class_name: "android.widget.LinearLayout"
      depth: 14
    }
    nodes {
      bounds_in_screen {
        left: 1080
        top: 345
        right: 1080
        bottom: 729
      }
      class_name: "android.widget.LinearLayout"
      depth: 14
    }
    nodes {
      bounds_in_screen {
        top: 345
        right: 1080
        bottom: 729
      }
      class_name: "android.widget.RelativeLayout"
      depth: 15
    }
    nodes {
      bounds_in_screen {
        left: 1080
        top: 345
        right: 1080
        bottom: 729
      }
      class_name: "android.widget.RelativeLayout"
      is_clickable: true
      is_focusable: true
      depth: 15
    }
    nodes {
      bounds_in_screen {
        top: 726
        right: 1080
        bottom: 729
      }
      class_name: "android.view.View"
      depth: 16
    }
    nodes {
      bounds_in_screen {
        left: 26
        top: 371
        right: 1054
        bottom: 729
      }
      class_name: "android.widget.RelativeLayout"
      depth: 16
    }
    nodes {
      bounds_in_screen {
        left: 1125
        top: 453
        right: 1080
        bottom: 621
      }
      class_name: "android.widget.TextView"
      text: "Remove \nItem"
      depth: 16
    }
    nodes {
      bounds_in_screen {
        left: 37
        top: 382
        right: 279
        bottom: 624
      }
      class_name: "android.widget.RelativeLayout"
      depth: 17
    }
    nodes {
      bounds_in_screen {
        left: 305
        top: 382
        right: 1033
        bottom: 471
      }
      class_name: "android.widget.TextView"
      text: "Nescafe  - Classic 100% Pure Instant Coffee"
      depth: 17
    }
    nodes {
      bounds_in_screen {
        left: 1054
        top: 387
        right: 1054
        bottom: 408
      }
      class_name: "android.widget.ImageView"
      content_description: "Remove"
      depth: 17
    }
    nodes {
      bounds_in_screen {
        left: 305
        top: 487
        right: 1054
        bottom: 519
      }
      class_name: "android.widget.TextView"
      text: "45 g"
      depth: 17
    }
    nodes {
      bounds_in_screen {
        left: 305
        top: 519
        right: 1054
        bottom: 567
      }
      class_name: "android.widget.RelativeLayout"
      depth: 17
    }
    nodes {
      bounds_in_screen {
        left: 305
        top: 580
        right: 458
        bottom: 619
      }
      class_name: "android.widget.TextView"
      text: "Saved ₹15"
      depth: 17
    }
    nodes {
      bounds_in_screen {
        left: 458
        top: 619
        right: 1054
        bottom: 703
      }
      class_name: "android.widget.RelativeLayout"
      depth: 17
    }
    nodes {
      bounds_in_screen {
        left: 53
        top: 398
        right: 263
        bottom: 608
      }
      class_name: "android.widget.ImageView"
      content_description: "Product Image"
      depth: 18
    }
    nodes {
      bounds_in_screen {
        left: 305
        top: 519
        right: 444
        bottom: 567
      }
      class_name: "android.widget.RelativeLayout"
      depth: 18
    }
    nodes {
      bounds_in_screen {
        left: 458
        top: 619
        right: 1054
        bottom: 703
      }
      class_name: "android.widget.LinearLayout"
      depth: 18
    }
    nodes {
      bounds_in_screen {
        left: 305
        top: 519
        right: 367
        bottom: 567
      }
      class_name: "android.widget.TextView"
      text: "₹170"
      depth: 19
    }
    nodes {
      bounds_in_screen {
        left: 378
        top: 519
        right: 444
        bottom: 567
      }
      class_name: "android.widget.TextView"
      text: "₹155"
      depth: 19
    }
    nodes {
      bounds_in_screen {
        left: 458
        top: 619
        right: 1054
        bottom: 703
      }
      class_name: "android.widget.LinearLayout"
      depth: 19
    }
    nodes {
      bounds_in_screen {
        left: 458
        top: 619
        right: 1054
        bottom: 703
      }
      class_name: "android.widget.RelativeLayout"
      depth: 20
    }
    nodes {
      bounds_in_screen {
        left: 802
        top: 619
        right: 1054
        bottom: 703
      }
      class_name: "android.widget.LinearLayout"
      depth: 21
    }
    nodes {
      bounds_in_screen {
        left: 802
        top: 619
        right: 1054
        bottom: 703
      }
      class_name: "android.widget.LinearLayout"
      depth: 22
    }
    nodes {
      bounds_in_screen {
        left: 802
        top: 619
        right: 886
        bottom: 703
      }
      class_name: "android.widget.ImageView"
      content_description: "Remove"
      is_clickable: true
      is_focusable: true
      depth: 23
    }
    nodes {
      bounds_in_screen {
        left: 886
        top: 619
        right: 970
        bottom: 703
      }
      class_name: "android.widget.RelativeLayout"
      depth: 23
    }
    nodes {
      bounds_in_screen {
        left: 970
        top: 619
        right: 1054
        bottom: 703
      }
      class_name: "android.widget.ImageView"
      content_description: "Add"
      is_clickable: true
      is_focusable: true
      depth: 23
    }
    nodes {
      bounds_in_screen {
        left: 886
        top: 619
        right: 970
        bottom: 703
      }
      class_name: "android.widget.TextView"
      text: "1"
      is_clickable: true
      is_focusable: true
      depth: 24
    }
  }
}

assistant
!FUNCTIONCALL{"name": "status", "parameters": {"goal_status": "successful"}}
[{"type": "function", "function": {"name": "click", "description": "Click on a specific location on the screen", "parameters": {"type": "object", "properties": {"x": {"type": "integer", "description": "Coordinate on the x axis to click."}, "y": {"type": "integer", "description": "Coordinate on the y axis to click."}}, "required": ["x", "y"]}}}, {"type": "function", "function": {"name": "long_press", "description": "Long press on a specific location on the screen.", "parameters": {"type": "object", "properties": {"x": {"type": "integer", "description": "Coordinate on the x axis to long press."}, "y": {"type": "integer", "description": "Coordinate on the y axis to long press."}}, "required": ["x", "y"]}}}, {"type": "function", "function": {"name": "input_text", "description": "Write text inside of an already selected text field, typically this is preceeded by a 'click' action that selects a field on the screen to type into.", "parameters": {"type": "object", "properties": {"text": {"type": "string", "description": "The text to input in the field."}}, "required": ["text"]}}}, {"type": "function", "function": {"name": "scroll", "description": "Scroll a fixed amount in a specific direction.", "parameters": {"type": "object", "properties": {"direction": {"type": "string", "enum": ["up", "down", "left", "right"], "description": "The direction to scroll in."}}, "required": ["direction"]}}}, {"type": "function", "function": {"name": "navigate_home", "description": "Navigate to the home screen from the current screen you are on.", "parameters": {"type": "object", "properties": {}}}}, {"type": "function", "function": {"name": "navigate_back", "description": "Navigate back to the previous page.", "parameters": {"type": "object", "properties": {}}}}, {"type": "function", "function": {"name": "open_app", "description": "Open an application.", "parameters": {"type": "object", "properties": {"app_name": {"type": "string", "description": "The name of the application to open."}}, "required": ["app_name"]}}}, {"type": "function", "function": {"name": "wait", "description": "Wait for a fixed amount of time. This is useful when you need to 'await' the results of a page that is still loading.", "parameters": {"type": "object", "properties": {}}}}, {"type": "function", "function": {"name": "status", "description": "Once you have completed the work required to fulfill an instruction, report your status by calling this function with 'successful'. If you find that a task is impossible to complete,  call this with 'infeasible' after finding that information.", "parameters": {"type": "object", "properties": {"goal_status": {"type": "string", "enum": ["successful", "infeasible"], "description": "The status of the completion of a instruction, either 'successful' or 'infeasible', called to conclude an episode."}}, "required": ["goal_status"]}}}]