instruction
I want to order supper for my family today, therefore I need to use the Grubhub app to search for gluten-free restaurants.
previous_actions
{"name": "open_app", "parameters": {"app_name": "Grubhub"}}
{"name": "wait", "parameters": {}}
{"name": "click", "parameters": {"x": 334, "y": 229}}
{"name": "input_text", "parameters": {"text": "Gluten free Restaurants"}}
{"name": "click", "parameters": {"x": 994, "y": 2158}}
{"name": "wait", "parameters": {}}
active_application
Grubhub
screen_description
windows {
  bounds_in_screen {
    right: 1080
    bottom: 136
  }
  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: "12:38 PM"
      text: "12:38"
      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 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: 247
        top: 1
        right: 305
        bottom: 136
      }
      class_name: "android.widget.ImageView"
      content_description: "EatClub notification: Hey, haven\'t ordered yet?"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 305
        top: 1
        right: 363
        bottom: 136
      }
      class_name: "android.widget.ImageView"
      content_description: "TeraBox notification: "
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 363
        top: 1
        right: 421
        bottom: 136
      }
      class_name: "android.widget.ImageView"
      content_description: "OYO notification: Guest, party on your mind?😍 👨‍👩‍👧‍👦❤️"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 421
        top: 1
        right: 479
        bottom: 136
      }
      class_name: "android.widget.ImageView"
      content_description: "FirstCry notification: Massive Markdown↘️FLAT 70% OFF"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 479
        top: 1
        right: 537
        bottom: 136
      }
      class_name: "android.widget.ImageView"
      content_description: "Meesho notification: Well, not on Meesho 😉"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 497
        top: 1
        right: 537
        bottom: 136
      }
      class_name: "android.widget.ImageView"
      content_description: "AccuWeather 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: 4793
  title: "Grubhub"
  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 {
        top: 2337
        right: 1080
        bottom: 2400
      }
      class_name: "android.view.View"
      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.LinearLayout"
      depth: 3
    }
    nodes {
      bounds_in_screen {
        right: 1080
        bottom: 2400
      }
      class_name: "android.widget.FrameLayout"
      depth: 4
    }
    nodes {
      bounds_in_screen {
        right: 1080
        bottom: 2337
      }
      class_name: "android.view.ViewGroup"
      depth: 5
    }
    nodes {
      bounds_in_screen {
        right: 1080
      }
      class_name: "android.widget.FrameLayout"
      depth: 6
    }
    nodes {
      bounds_in_screen {
        right: 1080
        bottom: 2190
      }
      class_name: "android.view.ViewGroup"
      depth: 6
    }
    nodes {
      bounds_in_screen {
        top: 2190
        right: 1080
        bottom: 2337
      }
      class_name: "android.widget.FrameLayout"
      depth: 6
    }
    nodes {
      bounds_in_screen {
        right: 1080
        bottom: 2190
      }
      class_name: "android.widget.FrameLayout"
      depth: 7
    }
    nodes {
      bounds_in_screen {
        top: 2190
        right: 1080
        bottom: 2190
      }
      class_name: "android.widget.FrameLayout"
      depth: 7
    }
    nodes {
      bounds_in_screen {
        top: 2190
        right: 1080
        bottom: 2190
      }
      class_name: "android.widget.FrameLayout"
      is_clickable: true
      is_focusable: true
      depth: 7
    }
    nodes {
      bounds_in_screen {
        top: 2190
        right: 1080
        bottom: 2337
      }
      class_name: "android.view.ViewGroup"
      depth: 7
    }
    nodes {
      bounds_in_screen {
        top: 136
        right: 1080
        bottom: 2190
      }
      class_name: "android.view.ViewGroup"
      depth: 8
    }
    nodes {
      bounds_in_screen {
        top: 2190
        right: 1080
        bottom: 2190
      }
      class_name: "android.widget.FrameLayout"
      depth: 8
    }
    nodes {
      bounds_in_screen {
        top: 2190
        right: 270
        bottom: 2337
      }
      class_name: "android.widget.FrameLayout"
      content_description: "Home"
      is_focusable: true
      is_selected: true
      depth: 8
      tooltip_text: "Home"
    }
    nodes {
      bounds_in_screen {
        left: 270
        top: 2190
        right: 540
        bottom: 2337
      }
      class_name: "android.widget.FrameLayout"
      content_description: "Rewards"
      is_clickable: true
      is_focusable: true
      depth: 8
      tooltip_text: "Rewards"
    }
    nodes {
      bounds_in_screen {
        left: 540
        top: 2190
        right: 810
        bottom: 2337
      }
      class_name: "android.widget.FrameLayout"
      content_description: "Orders"
      is_clickable: true
      is_focusable: true
      depth: 8
      tooltip_text: "Orders"
    }
    nodes {
      bounds_in_screen {
        left: 810
        top: 2190
        right: 1080
        bottom: 2337
      }
      class_name: "android.widget.FrameLayout"
      content_description: "Account"
      is_clickable: true
      is_focusable: true
      depth: 8
      tooltip_text: "Account"
    }
    nodes {
      bounds_in_screen {
        top: 136
        right: 1080
        bottom: 2190
      }
      class_name: "android.view.ViewGroup"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        top: 2190
        right: 1080
        bottom: 2190
      }
      class_name: "android.widget.FrameLayout"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        top: 2190
        right: 1080
        bottom: 2190
      }
      class_name: "android.widget.FrameLayout"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 103
        top: 2211
        right: 166
        bottom: 2274
      }
      class_name: "android.widget.ImageView"
      is_selected: true
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 88
        top: 2279
        right: 182
        bottom: 2337
      }
      class_name: "android.view.ViewGroup"
      is_selected: true
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 373
        top: 2211
        right: 436
        bottom: 2274
      }
      class_name: "android.widget.ImageView"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 337
        top: 2279
        right: 472
        bottom: 2337
      }
      class_name: "android.view.ViewGroup"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 643
        top: 2211
        right: 706
        bottom: 2274
      }
      class_name: "android.widget.ImageView"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 622
        top: 2279
        right: 728
        bottom: 2337
      }
      class_name: "android.view.ViewGroup"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 913
        top: 2211
        right: 976
        bottom: 2274
      }
      class_name: "android.widget.ImageView"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 879
        top: 2279
        right: 1011
        bottom: 2337
      }
      class_name: "android.view.ViewGroup"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        top: 136
        right: 1080
        bottom: 450
      }
      class_name: "android.widget.LinearLayout"
      depth: 10
    }
    nodes {
      bounds_in_screen {
        top: 450
        right: 1080
        bottom: 2190
      }
      class_name: "android.widget.FrameLayout"
      depth: 10
    }
    nodes {
      bounds_in_screen {
        left: 88
        top: 2279
        right: 182
        bottom: 2319
      }
      class_name: "android.widget.TextView"
      text: "Home"
      is_selected: true
      depth: 10
    }
    nodes {
      bounds_in_screen {
        left: 337
        top: 2279
        right: 472
        bottom: 2319
      }
      class_name: "android.widget.TextView"
      text: "Rewards"
      depth: 10
    }
    nodes {
      bounds_in_screen {
        left: 622
        top: 2279
        right: 728
        bottom: 2319
      }
      class_name: "android.widget.TextView"
      text: "Orders"
      depth: 10
    }
    nodes {
      bounds_in_screen {
        left: 879
        top: 2279
        right: 1011
        bottom: 2319
      }
      class_name: "android.widget.TextView"
      text: "Account"
      depth: 10
    }
    nodes {
      bounds_in_screen {
        top: 136
        right: 1080
        bottom: 136
      }
      class_name: "android.widget.FrameLayout"
      depth: 11
    }
    nodes {
      bounds_in_screen {
        top: 136
        right: 1080
        bottom: 304
      }
      class_name: "android.widget.FrameLayout"
      depth: 11
    }
    nodes {
      bounds_in_screen {
        top: 325
        right: 1080
        bottom: 450
      }
      class_name: "android.widget.FrameLayout"
      depth: 11
    }
    nodes {
      bounds_in_screen {
        top: 450
        right: 1080
        bottom: 2190
      }
      class_name: "android.view.ViewGroup"
      depth: 11
    }
    nodes {
      bounds_in_screen {
        top: 157
        right: 1080
        bottom: 304
      }
      class_name: "android.view.ViewGroup"
      depth: 12
    }
    nodes {
      bounds_in_screen {
        left: 42
        top: 325
        right: 1080
        bottom: 450
      }
      class_name: "android.widget.FrameLayout"
      depth: 12
    }
    nodes {
      bounds_in_screen {
        top: 450
        right: 1080
        bottom: 2190
      }
      class_name: "androidx.recyclerview.widget.RecyclerView"
      is_focusable: true
      is_scrollable: true
      depth: 12
    }
    nodes {
      bounds_in_screen {
        left: 42
        top: 160
        right: 1080
        bottom: 301
      }
      class_name: "android.view.ViewGroup"
      depth: 13
    }
    nodes {
      bounds_in_screen {
        left: 1080
        top: 230
        right: 1080
        bottom: 230
      }
      class_name: "android.view.View"
      depth: 13
    }
    nodes {
      bounds_in_screen {
        left: 42
        top: 325
        right: 1080
        bottom: 450
      }
      class_name: "android.widget.HorizontalScrollView"
      is_focusable: true
      is_scrollable: true
      depth: 13
    }
    nodes {
      bounds_in_screen {
        left: 954
        top: 325
        right: 1080
        bottom: 450
      }
      class_name: "android.view.View"
      depth: 13
    }
    nodes {
      bounds_in_screen {
        top: 450
        right: 1080
        bottom: 975
      }
      class_name: "android.view.ViewGroup"
      depth: 13
    }
    nodes {
      bounds_in_screen {
        top: 975
        right: 1080
        bottom: 1500
      }
      class_name: "android.view.ViewGroup"
      depth: 13
    }
    nodes {
      bounds_in_screen {
        top: 1500
        right: 1080
        bottom: 2025
      }
      class_name: "android.view.ViewGroup"
      depth: 13
    }
    nodes {
      bounds_in_screen {
        top: 2025
        right: 1080
        bottom: 2190
      }
      class_name: "android.view.ViewGroup"
      depth: 13
    }
    nodes {
      bounds_in_screen {
        left: 42
        top: 160
        right: 1038
        bottom: 299
      }
      class_name: "androidx.cardview.widget.CardView"
      depth: 14
    }
    nodes {
      bounds_in_screen {
        left: 63
        top: 188
        right: 147
        bottom: 272
      }
      class_name: "android.view.View"
      content_description: "Back button, double tap to activate"
      depth: 14
    }
    nodes {
      bounds_in_screen {
        left: 539
        top: 298
        right: 542
        bottom: 301
      }
      class_name: "android.view.View"
      depth: 14
    }
    nodes {
      bounds_in_screen {
        left: 42
        top: 325
        right: 1080
        bottom: 450
      }
      class_name: "android.widget.LinearLayout"
      depth: 14
    }
    nodes {
      bounds_in_screen {
        top: 450
        right: 1080
        bottom: 975
      }
      class_name: "android.widget.FrameLayout"
      depth: 14
    }
    nodes {
      bounds_in_screen {
        left: 964
        top: 461
        right: 1038
        bottom: 566
      }
      class_name: "android.widget.ImageView"
      depth: 14
    }
    nodes {
      bounds_in_screen {
        top: 975
        right: 1080
        bottom: 1500
      }
      class_name: "android.widget.FrameLayout"
      depth: 14
    }
    nodes {
      bounds_in_screen {
        left: 964
        top: 986
        right: 1038
        bottom: 1091
      }
      class_name: "android.widget.ImageView"
      depth: 14
    }
    nodes {
      bounds_in_screen {
        top: 1500
        right: 1080
        bottom: 2025
      }
      class_name: "android.widget.FrameLayout"
      depth: 14
    }
    nodes {
      bounds_in_screen {
        left: 964
        top: 1511
        right: 1038
        bottom: 1616
      }
      class_name: "android.widget.ImageView"
      depth: 14
    }
    nodes {
      bounds_in_screen {
        top: 2025
        right: 1080
        bottom: 2190
      }
      class_name: "android.widget.FrameLayout"
      depth: 14
    }
    nodes {
      bounds_in_screen {
        left: 964
        top: 2036
        right: 1038
        bottom: 2141
      }
      class_name: "android.widget.ImageView"
      depth: 14
    }
    nodes {
      bounds_in_screen {
        left: 42
        top: 160
        right: 1038
        bottom: 299
      }
      class_name: "android.view.ViewGroup"
      depth: 15
    }
    nodes {
      bounds_in_screen {
        left: 42
        top: 325
        right: -382
        bottom: 325
      }
      class_name: "android.widget.FrameLayout"
      depth: 15
    }
    nodes {
      bounds_in_screen {
        left: 42
        top: 325
        right: 161
        bottom: 450
      }
      class_name: "com.google.android.material.button.MaterialButtonToggleGroup"
      depth: 15
    }
    nodes {
      bounds_in_screen {
        left: 161
        top: 325
        right: 1080
        bottom: 450
      }
      class_name: "android.widget.FrameLayout"
      depth: 15
    }
    nodes {
      bounds_in_screen {
        left: 161
        top: 325
        right: 161
        bottom: 351
      }
      class_name: "android.widget.FrameLayout"
      depth: 15
    }
    nodes {
      bounds_in_screen {
        left: 63
        top: 471
        right: 1017
        bottom: 964
      }
      class_name: "androidx.cardview.widget.CardView"
      content_description: " Golden Fleece Restaurant  4.3 out of 5 stars, Mediterranean cuisine, Closed  %1$s 1 in list of 20 itemsGrubhub Plus"
      is_clickable: true
      is_focusable: true
      depth: 15
    }
    nodes {
      bounds_in_screen {
        left: 63
        top: 996
        right: 1017
        bottom: 1489
      }
      class_name: "androidx.cardview.widget.CardView"
      content_description: " McDonald\'s  3.2 out of 5 stars, Fast Food cuisine, Closed  %1$s 2 in list of 20 itemsGrubhub Plus"
      is_clickable: true
      is_focusable: true
      depth: 15
    }
    nodes {
      bounds_in_screen {
        left: 63
        top: 1521
        right: 1017
        bottom: 2014
      }
      class_name: "androidx.cardview.widget.CardView"
      content_description: " Joe Louis Southern Kitchen  3.9 out of 5 stars, Breakfast cuisine, Closed  %1$s 3 in list of 20 itemsGrubhub Plus"
      is_clickable: true
      is_focusable: true
      depth: 15
    }
    nodes {
      bounds_in_screen {
        left: 63
        top: 2046
        right: 1017
        bottom: 2190
      }
      class_name: "androidx.cardview.widget.CardView"
      content_description: " The Bird Box Fast Food cuisine, Closed  %1$s  $5 off your order of $20+ 4 in list of 20 itemsGrubhub Plus"
      is_clickable: true
      is_focusable: true
      depth: 15
    }
    nodes {
      bounds_in_screen {
        left: 42
        top: 160
        right: 540
        bottom: 299
      }
      class_name: "android.widget.LinearLayout"
      depth: 16
    }
    nodes {
      bounds_in_screen {
        left: 160
        top: 205
        right: 508
        bottom: 254
      }
      class_name: "android.widget.TextView"
      text: "Gluten free restaurants"
      is_clickable: true
      is_focusable: true
      depth: 16
    }
    nodes {
      bounds_in_screen {
        left: 539
        top: 176
        right: 542
        bottom: 283
      }
      class_name: "android.view.View"
      depth: 16
    }
    nodes {
      bounds_in_screen {
        left: 543
        top: 160
        right: 1038
        bottom: 299
      }
      class_name: "android.widget.LinearLayout"
      depth: 16
    }
    nodes {
      bounds_in_screen {
        left: 661
        top: 205
        right: 1006
        bottom: 254
      }
      class_name: "android.widget.TextView"
      text: "Detroit, MI"
      is_clickable: true
      is_focusable: true
      depth: 16
    }
    nodes {
      bounds_in_screen {
        left: 42
        top: 325
        right: -98
        bottom: 450
      }
      class_name: "android.widget.CompoundButton"
      text: "Delivery"
      is_checkable: true
      is_checked: true
      is_clickable: true
      is_focusable: true
      depth: 16
    }
    nodes {
      bounds_in_screen {
        left: 42
        top: 325
        right: 161
        bottom: 450
      }
      class_name: "android.widget.CompoundButton"
      text: "Pickup"
      is_checkable: true
      is_clickable: true
      is_focusable: true
      depth: 16
    }
    nodes {
      bounds_in_screen {
        left: 161
        top: 325
        right: 1080
        bottom: 450
      }
      class_name: "android.view.ViewGroup"
      depth: 16
    }
    nodes {
      bounds_in_screen {
        left: 63
        top: 471
        right: 1017
        bottom: 964
      }
      class_name: "android.view.ViewGroup"
      depth: 16
    }
    nodes {
      bounds_in_screen {
        left: 63
        top: 996
        right: 1017
        bottom: 1489
      }
      class_name: "android.view.ViewGroup"
      depth: 16
    }
    nodes {
      bounds_in_screen {
        left: 63
        top: 1521
        right: 1017
        bottom: 2014
      }
      class_name: "android.view.ViewGroup"
      depth: 16
    }
    nodes {
      bounds_in_screen {
        left: 63
        top: 2046
        right: 1017
        bottom: 2190
      }
      class_name: "android.view.ViewGroup"
      depth: 16
    }
    nodes {
      bounds_in_screen {
        left: 74
        top: 160
        right: 508
        bottom: 299
      }
      class_name: "android.widget.FrameLayout"
      depth: 17
    }
    nodes {
      bounds_in_screen {
        left: 575
        top: 160
        right: 1006
        bottom: 299
      }
      class_name: "android.widget.FrameLayout"
      depth: 17
    }
    nodes {
      bounds_in_screen {
        left: 161
        top: 328
        right: 498
        bottom: 447
      }
      class_name: "android.widget.LinearLayout"
      depth: 17
    }
    nodes {
      bounds_in_screen {
        left: 498
        top: 325
        right: 1080
        bottom: 450
      }
      class_name: "android.widget.LinearLayout"
      depth: 17
    }
    nodes {
      bounds_in_screen {
        left: 63
        top: 471
        right: 1017
        bottom: 789
      }
      class_name: "android.widget.ImageView"
      depth: 17
    }
    nodes {
      bounds_in_screen {
        left: 63
        top: 471
        right: 1017
        bottom: 789
      }
      class_name: "android.widget.TextView"
      text: "Preorder for 9:15pm"
      depth: 17
    }
    nodes {
      bounds_in_screen {
        left: 879
        top: 722
        right: 996
        bottom: 839
      }
      class_name: "android.widget.FrameLayout"
      depth: 17
    }
    nodes {
      bounds_in_screen {
        left: 94
        top: 831
        right: 974
        bottom: 885
      }
      class_name: "android.widget.TextView"
      text: "Golden Fleece Restaurant"
      depth: 17
    }
    nodes {
      bounds_in_screen {
        left: 985
        top: 835
        right: 985
        bottom: 882
      }
      class_name: "android.widget.TextView"
      depth: 17
    }
    nodes {
      bounds_in_screen {
        left: 94
        top: 888
        right: 136
        bottom: 930
      }
      class_name: "android.widget.ImageView"
      depth: 17
    }
    nodes {
      bounds_in_screen {
        left: 147
        top: 885
        right: 849
        bottom: 932
      }
      class_name: "android.widget.TextView"
      text: "4.3 (51) • Mediterranean"
      depth: 17
    }
    nodes {
      bounds_in_screen {
        left: 860
        top: 885
        right: 985
        bottom: 932
      }
      class_name: "android.widget.TextView"
      text: "Closed"
      depth: 17
    }
    nodes {
      bounds_in_screen {
        left: 63
        top: 996
        right: 1017
        bottom: 1314
      }
      class_name: "android.widget.ImageView"
      depth: 17
    }
    nodes {
      bounds_in_screen {
        left: 63
        top: 996
        right: 1017
        bottom: 1314
      }
      class_name: "android.widget.TextView"
      text: "Preorder for 6:15pm"
      depth: 17
    }
    nodes {
      bounds_in_screen {
        left: 879
        top: 1247
        right: 996
        bottom: 1364
      }
      class_name: "android.widget.FrameLayout"
      depth: 17
    }
    nodes {
      bounds_in_screen {
        left: 94
        top: 1356
        right: 974
        bottom: 1410
      }
      class_name: "android.widget.TextView"
      text: "McDonald\'s"
      depth: 17
    }
    nodes {
      bounds_in_screen {
        left: 985
        top: 1360
        right: 985
        bottom: 1407
      }
      class_name: "android.widget.TextView"
      depth: 17
    }
    nodes {
      bounds_in_screen {
        left: 94
        top: 1413
        right: 136
        bottom: 1455
      }
      class_name: "android.widget.ImageView"
      depth: 17
    }
    nodes {
      bounds_in_screen {
        left: 147
        top: 1410
        right: 849
        bottom: 1457
      }
      class_name: "android.widget.TextView"
      text: "3.2 (40) • Fast Food"
      depth: 17
    }
    nodes {
      bounds_in_screen {
        left: 860
        top: 1410
        right: 985
        bottom: 1457
      }
      class_name: "android.widget.TextView"
      text: "Closed"
      depth: 17
    }
    nodes {
      bounds_in_screen {
        left: 63
        top: 1521
        right: 1017
        bottom: 1839
      }
      class_name: "android.widget.ImageView"
      depth: 17
    }
    nodes {
      bounds_in_screen {
        left: 63
        top: 1521
        right: 1017
        bottom: 1839
      }
      class_name: "android.widget.TextView"
      text: "Preorder for 7:15pm"
      depth: 17
    }
    nodes {
      bounds_in_screen {
        left: 879
        top: 1772
        right: 996
        bottom: 1889
      }
      class_name: "android.widget.FrameLayout"
      depth: 17
    }
    nodes {
      bounds_in_screen {
        left: 94
        top: 1881
        right: 974
        bottom: 1935
      }
      class_name: "android.widget.TextView"
      text: "Joe Louis Southern Kitchen"
      depth: 17
    }
    nodes {
      bounds_in_screen {
        left: 985
        top: 1885
        right: 985
        bottom: 1932
      }
      class_name: "android.widget.TextView"
      depth: 17
    }
    nodes {
      bounds_in_screen {
        left: 94
        top: 1938
        right: 136
        bottom: 1980
      }
      class_name: "android.widget.ImageView"
      depth: 17
    }
    nodes {
      bounds_in_screen {
        left: 147
        top: 1935
        right: 849
        bottom: 1982
      }
      class_name: "android.widget.TextView"
      text: "3.9 (24) • Breakfast"
      depth: 17
    }
    nodes {
      bounds_in_screen {
        left: 860
        top: 1935
        right: 985
        bottom: 1982
      }
      class_name: "android.widget.TextView"
      text: "Closed"
      depth: 17
    }
    nodes {
      bounds_in_screen {
        left: 63
        top: 2046
        right: 1017
        bottom: 2190
      }
      class_name: "android.widget.ImageView"
      depth: 17
    }
    nodes {
      bounds_in_screen {
        left: 63
        top: 2046
        right: 1017
        bottom: 2190
      }
      class_name: "android.widget.TextView"
      text: "Preorder for 7:15pm"
      depth: 17
    }
    nodes {
      bounds_in_screen {
        left: 95
        top: 2078
        right: 534
        bottom: 2136
      }
      class_name: "android.widget.Button"
      text: "$5 off your order of $20+"
      is_focusable: true
      depth: 17
    }
    nodes {
      bounds_in_screen {
        left: 879
        top: 2297
        right: 996
        bottom: 2190
      }
      class_name: "android.widget.FrameLayout"
      depth: 17
    }
    nodes {
      bounds_in_screen {
        left: 94
        top: 2406
        right: 974
        bottom: 2190
      }
      class_name: "android.widget.TextView"
      text: "The Bird Box"
      depth: 17
    }
    nodes {
      bounds_in_screen {
        left: 985
        top: 2410
        right: 985
        bottom: 2190
      }
      class_name: "android.widget.TextView"
      depth: 17
    }
    nodes {
      bounds_in_screen {
        left: 94
        top: 2460
        right: 849
        bottom: 2190
      }
      class_name: "android.widget.TextView"
      text: "Fast Food"
      depth: 17
    }
    nodes {
      bounds_in_screen {
        left: 860
        top: 2460
        right: 985
        bottom: 2190
      }
      class_name: "android.widget.TextView"
      text: "Closed"
      depth: 17
    }
    nodes {
      bounds_in_screen {
        left: 74
        top: 160
        right: 158
        bottom: 299
      }
      class_name: "android.widget.LinearLayout"
      depth: 18
    }
    nodes {
      bounds_in_screen {
        left: 508
        top: 160
        right: 508
        bottom: 299
      }
      class_name: "android.widget.LinearLayout"
      depth: 18
    }
    nodes {
      bounds_in_screen {
        left: 575
        top: 160
        right: 659
        bottom: 299
      }
      class_name: "android.widget.LinearLayout"
      depth: 18
    }
    nodes {
      bounds_in_screen {
        left: 1006
        top: 160
        right: 1006
        bottom: 299
      }
      class_name: "android.widget.LinearLayout"
      depth: 18
    }
    nodes {
      bounds_in_screen {
        left: 172
        top: 328
        right: 498
        bottom: 447
      }
      class_name: "android.widget.CompoundButton"
      text: "Restaurants"
      is_checkable: true
      is_checked: true
      is_clickable: true
      is_focusable: true
      depth: 18
    }
    nodes {
      bounds_in_screen {
        left: 509
        top: 325
        right: 721
        bottom: 450
      }
      class_name: "android.widget.CompoundButton"
      text: "Sort"
      is_checkable: true
      is_clickable: true
      is_focusable: true
      depth: 18
    }
    nodes {
      bounds_in_screen {
        left: 732
        top: 325
        right: 981
        bottom: 450
      }
      class_name: "android.widget.CompoundButton"
      text: "Offers"
      is_checkable: true
      is_clickable: true
      is_focusable: true
      depth: 18
    }
    nodes {
      bounds_in_screen {
        left: 992
        top: 325
        right: 1080
        bottom: 450
      }
      class_name: "android.widget.CompoundButton"
      text: "Preorder"
      is_checkable: true
      is_clickable: true
      is_focusable: true
      depth: 18
    }
    nodes {
      bounds_in_screen {
        left: 890
        top: 733
        right: 985
        bottom: 828
      }
      class_name: "android.widget.FrameLayout"
      depth: 18
    }
    nodes {
      bounds_in_screen {
        left: 890
        top: 1258
        right: 985
        bottom: 1353
      }
      class_name: "android.widget.FrameLayout"
      depth: 18
    }
    nodes {
      bounds_in_screen {
        left: 890
        top: 1783
        right: 985
        bottom: 1878
      }
      class_name: "android.widget.FrameLayout"
      depth: 18
    }
    nodes {
      bounds_in_screen {
        left: 890
        top: 2308
        right: 985
        bottom: 2190
      }
      class_name: "android.widget.FrameLayout"
      depth: 18
    }
    nodes {
      bounds_in_screen {
        left: 74
        top: 166
        right: 137
        bottom: 292
      }
      class_name: "android.widget.ImageButton"
      is_checkable: true
      depth: 19
    }
    nodes {
      bounds_in_screen {
        left: 508
        top: 160
        right: 508
        bottom: 299
      }
      class_name: "android.widget.FrameLayout"
      depth: 19
    }
    nodes {
      bounds_in_screen {
        left: 575
        top: 166
        right: 638
        bottom: 292
      }
      class_name: "android.widget.ImageButton"
      content_description: "Navigate Back To Discovery"
      is_checkable: true
      depth: 19
    }
    nodes {
      bounds_in_screen {
        left: 1006
        top: 160
        right: 1006
        bottom: 299
      }
      class_name: "android.widget.FrameLayout"
      depth: 19
    }
    nodes {
      bounds_in_screen {
        left: 890
        top: 733
        right: 985
        bottom: 828
      }
      class_name: "android.widget.ToggleButton"
      is_checkable: true
      is_clickable: true
      is_focusable: true
      depth: 19
    }
    nodes {
      bounds_in_screen {
        left: 890
        top: 1258
        right: 985
        bottom: 1353
      }
      class_name: "android.widget.ToggleButton"
      is_checkable: true
      is_clickable: true
      is_focusable: true
      depth: 19
    }
    nodes {
      bounds_in_screen {
        left: 890
        top: 1783
        right: 985
        bottom: 1878
      }
      class_name: "android.widget.ToggleButton"
      is_checkable: true
      is_clickable: true
      is_focusable: true
      depth: 19
    }
    nodes {
      bounds_in_screen {
        left: 890
        top: 2308
        right: 985
        bottom: 2190
      }
      class_name: "android.widget.ToggleButton"
      is_checkable: true
      is_clickable: true
      is_focusable: true
      depth: 19
    }
  }
}

assistant
!FUNCTIONCALL{"name": "click", "parameters": {"x": 615, "y": 387}}
[{"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"]}}}]