instruction: Open Grubhub app, Enter zipcode 98101 and search for Ihop, 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": "Ihop restaurant"}}

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: 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: 479
        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: 479
        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: "10:59 AM"
      text: "10:59"
      depth: 7
    }
    nodes {
      bounds_in_screen {
        left: 247
        top: 1
        right: 479
        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: 479
        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: "TeraBox notification: "
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 305
        top: 1
        right: 363
        bottom: 136
      }
      class_name: "android.widget.ImageView"
      content_description: "OYO notification: Rise & Shine, Guest☀️"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 363
        top: 1
        right: 421
        bottom: 136
      }
      class_name: "android.widget.ImageView"
      content_description: "99acres notification: Found 2 Owner posted properties you Missed"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 421
        top: 1
        right: 479
        bottom: 136
      }
      class_name: "android.widget.ImageView"
      content_description: "Android System notification: Review app with full device access"
      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: 203
  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: 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.LinearLayout"
      depth: 3
    }
    nodes {
      bounds_in_screen {
        top: 136
        right: 1080
        bottom: 2337
      }
      class_name: "android.widget.FrameLayout"
      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: 136
      }
      class_name: "android.widget.FrameLayout"
      depth: 6
    }
    nodes {
      bounds_in_screen {
        top: 136
        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 {
        top: 136
        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 {
        left: 63
        top: 471
        right: 1017
        bottom: 1112
      }
      class_name: "androidx.cardview.widget.CardView"
      depth: 13
    }
    nodes {
      bounds_in_screen {
        left: 63
        top: 1144
        right: 1017
        bottom: 1785
      }
      class_name: "androidx.cardview.widget.CardView"
      depth: 13
    }
    nodes {
      bounds_in_screen {
        left: 63
        top: 1817
        right: 1017
        bottom: 2190
      }
      class_name: "androidx.cardview.widget.CardView"
      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 {
        left: 63
        top: 471
        right: 1017
        bottom: 1112
      }
      class_name: "android.widget.FrameLayout"
      depth: 14
    }
    nodes {
      bounds_in_screen {
        left: 63
        top: 1144
        right: 1017
        bottom: 1785
      }
      class_name: "android.widget.FrameLayout"
      depth: 14
    }
    nodes {
      bounds_in_screen {
        left: 63
        top: 1817
        right: 1017
        bottom: 2190
      }
      class_name: "android.widget.FrameLayout"
      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: 42
        bottom: 325
      }
      class_name: "android.widget.FrameLayout"
      depth: 15
    }
    nodes {
      bounds_in_screen {
        left: 42
        top: 325
        right: 585
        bottom: 450
      }
      class_name: "com.google.android.material.button.MaterialButtonToggleGroup"
      depth: 15
    }
    nodes {
      bounds_in_screen {
        left: 585
        top: 325
        right: 1080
        bottom: 450
      }
      class_name: "android.widget.FrameLayout"
      depth: 15
    }
    nodes {
      bounds_in_screen {
        left: 63
        top: 471
        right: 1017
        bottom: 1112
      }
      class_name: "android.view.ViewGroup"
      depth: 15
    }
    nodes {
      bounds_in_screen {
        left: 63
        top: 1144
        right: 1017
        bottom: 1785
      }
      class_name: "android.view.ViewGroup"
      depth: 15
    }
    nodes {
      bounds_in_screen {
        left: 63
        top: 1817
        right: 1017
        bottom: 2190
      }
      class_name: "android.view.ViewGroup"
      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: "Ihop restaurant"
      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: "Seattle, WA 98101"
      is_clickable: true
      is_focusable: true
      depth: 16
    }
    nodes {
      bounds_in_screen {
        left: 42
        top: 325
        right: 326
        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: 323
        top: 325
        right: 585
        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: 585
        top: 325
        right: 1080
        bottom: 450
      }
      class_name: "android.view.ViewGroup"
      depth: 16
    }
    nodes {
      bounds_in_screen {
        left: 63
        top: 471
        right: 1017
        bottom: 906
      }
      class_name: "android.widget.ImageView"
      depth: 16
    }
    nodes {
      bounds_in_screen {
        left: 95
        top: 938
        right: 779
        bottom: 1001
      }
      class_name: "android.widget.TextView"
      depth: 16
    }
    nodes {
      bounds_in_screen {
        left: 95
        top: 1033
        right: 540
        bottom: 1080
      }
      class_name: "android.widget.TextView"
      depth: 16
    }
    nodes {
      bounds_in_screen {
        left: 63
        top: 1144
        right: 1017
        bottom: 1579
      }
      class_name: "android.widget.ImageView"
      depth: 16
    }
    nodes {
      bounds_in_screen {
        left: 95
        top: 1611
        right: 779
        bottom: 1674
      }
      class_name: "android.widget.TextView"
      depth: 16
    }
    nodes {
      bounds_in_screen {
        left: 95
        top: 1706
        right: 540
        bottom: 1753
      }
      class_name: "android.widget.TextView"
      depth: 16
    }
    nodes {
      bounds_in_screen {
        left: 63
        top: 1817
        right: 1017
        bottom: 2190
      }
      class_name: "android.widget.ImageView"
      depth: 16
    }
    nodes {
      bounds_in_screen {
        left: 95
        top: 2284
        right: 779
        bottom: 2190
      }
      class_name: "android.widget.TextView"
      depth: 16
    }
    nodes {
      bounds_in_screen {
        left: 95
        top: 2379
        right: 540
        bottom: 2190
      }
      class_name: "android.widget.TextView"
      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: 585
        top: 328
        right: 922
        bottom: 447
      }
      class_name: "android.widget.LinearLayout"
      depth: 17
    }
    nodes {
      bounds_in_screen {
        left: 922
        top: 325
        right: 1080
        bottom: 450
      }
      class_name: "android.widget.LinearLayout"
      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: 596
        top: 328
        right: 922
        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: 933
        top: 325
        right: 1080
        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: 1156
        top: 325
        right: 1080
        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: 1416
        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: 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
    }
  }
}


assistant: !FUNCTIONCALL{"name": "wait", "parameters": {}}