instruction
Bouvardia looks good, as it has 4.6 star ratings, so I want to view the full menu of Bouvardia Restaurant in the OpenTable app.
previous_actions
active_application
screen_description
windows {
  bounds_in_screen {
    right: 1080
    bottom: 136
  }
  id: 7
  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: 47
        right: 1027
        bottom: 136
      }
      class_name: "android.widget.LinearLayout"
      depth: 3
    }
    nodes {
      bounds_in_screen {
        left: 47
        top: 1
        right: 454
        bottom: 136
      }
      class_name: "android.widget.FrameLayout"
      depth: 4
    }
    nodes {
      bounds_in_screen {
        left: 454
        top: 1
        right: 599
        bottom: 136
      }
      class_name: "android.view.View"
      depth: 4
    }
    nodes {
      bounds_in_screen {
        left: 599
        top: 1
        right: 1006
        bottom: 136
      }
      class_name: "android.widget.FrameLayout"
      depth: 4
    }
    nodes {
      bounds_in_screen {
        left: 47
        top: 1
        right: 438
        bottom: 136
      }
      class_name: "android.widget.FrameLayout"
      depth: 5
    }
    nodes {
      bounds_in_screen {
        left: 865
        top: 1
        right: 1006
        bottom: 136
      }
      class_name: "android.widget.LinearLayout"
      depth: 5
    }
    nodes {
      bounds_in_screen {
        left: 47
        top: 1
        right: 438
        bottom: 136
      }
      class_name: "android.widget.LinearLayout"
      depth: 6
    }
    nodes {
      bounds_in_screen {
        left: 865
        top: 1
        right: 1006
        bottom: 136
      }
      class_name: "android.widget.LinearLayout"
      depth: 6
    }
    nodes {
      bounds_in_screen {
        left: 47
        top: 1
        right: 148
        bottom: 136
      }
      class_name: "android.widget.TextView"
      content_description: "11:16 PM"
      text: "11:16"
      depth: 7
    }
    nodes {
      bounds_in_screen {
        left: 148
        top: 1
        right: 438
        bottom: 136
      }
      class_name: "android.widget.FrameLayout"
      depth: 7
    }
    nodes {
      bounds_in_screen {
        left: 865
        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: 148
        top: 1
        right: 438
        bottom: 136
      }
      class_name: "android.view.ViewGroup"
      depth: 8
    }
    nodes {
      bounds_in_screen {
        left: 865
        top: 39
        right: 911
        bottom: 97
      }
      class_name: "android.widget.FrameLayout"
      content_description: "Wifi signal full."
      depth: 8
    }
    nodes {
      bounds_in_screen {
        left: 911
        top: 39
        right: 970
        bottom: 97
      }
      class_name: "android.widget.ImageView"
      content_description: "Hotspot"
      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: 148
        top: 1
        right: 206
        bottom: 136
      }
      class_name: "android.widget.ImageView"
      content_description: "My Moon Phase notification: Moon"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 206
        top: 1
        right: 264
        bottom: 136
      }
      class_name: "android.widget.ImageView"
      content_description: "YouTube notification: manish sahu"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 264
        top: 1
        right: 322
        bottom: 136
      }
      class_name: "android.widget.ImageView"
      content_description: "YouTube notification: Bozdağ Film"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 322
        top: 1
        right: 380
        bottom: 136
      }
      class_name: "android.widget.ImageView"
      content_description: "Weather&Radar notification: Cooler Weather Upcoming"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 380
        top: 1
        right: 438
        bottom: 136
      }
      class_name: "android.widget.ImageView"
      content_description: "AccuWeather notification: "
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 398
        top: 1
        right: 438
        bottom: 136
      }
      class_name: "android.widget.ImageView"
      content_description: "ShopClues notification: Naye Jaisa Phone, Naye se Saste me"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 398
        top: 1
        right: 438
        bottom: 136
      }
      class_name: "android.widget.ImageView"
      content_description: "ShopClues notification: "
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 398
        top: 1
        right: 438
        bottom: 136
      }
      class_name: "android.widget.ImageView"
      content_description: "ShopClues notification: Wireless Earbuds @ ₹229 | Extra 10% OFF | Lowest Price Ever 😲"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 398
        top: 1
        right: 438
        bottom: 136
      }
      class_name: "android.widget.ImageView"
      content_description: "ShopClues notification: Time for your next order 🛒"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 398
        top: 1
        right: 438
        bottom: 136
      }
      class_name: "android.widget.ImageView"
      content_description: "YouTube notification: Kuruluş Osman 132. Bölüm 3. Fragmanı | Sen bana biat et Yakup! | Analiz"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 872
        top: 39
        right: 911
        bottom: 97
      }
      class_name: "android.widget.LinearLayout"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 872
        top: 48
        right: 911
        bottom: 87
      }
      class_name: "android.widget.FrameLayout"
      depth: 10
    }
    nodes {
      bounds_in_screen {
        left: 872
        top: 48
        right: 911
        bottom: 87
      }
      class_name: "android.widget.ImageView"
      depth: 11
    }
  }
}
windows {
  bounds_in_screen {
    right: 1080
    bottom: 2400
  }
  id: 369
  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: 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.widget.LinearLayout"
      depth: 5
    }
    nodes {
      bounds_in_screen {
        top: 136
        right: 1080
        bottom: 283
      }
      class_name: "android.widget.FrameLayout"
      depth: 6
    }
    nodes {
      bounds_in_screen {
        top: 283
        right: 1080
        bottom: 409
      }
      class_name: "android.widget.FrameLayout"
      depth: 6
    }
    nodes {
      bounds_in_screen {
        top: 409
        right: 1080
        bottom: 2337
      }
      class_name: "android.widget.FrameLayout"
      depth: 6
    }
    nodes {
      bounds_in_screen {
        top: 2337
        right: 1080
        bottom: 2337
      }
      class_name: "android.widget.FrameLayout"
      depth: 6
    }
    nodes {
      bounds_in_screen {
        top: 136
        right: 1080
        bottom: 283
      }
      class_name: "android.view.ViewGroup"
      is_focusable: true
      depth: 7
    }
    nodes {
      bounds_in_screen {
        top: 283
        right: 1080
        bottom: 409
      }
      class_name: "android.widget.FrameLayout"
      depth: 7
    }
    nodes {
      bounds_in_screen {
        top: 409
        right: 1080
        bottom: 2337
      }
      class_name: "androidx.recyclerview.widget.RecyclerView"
      is_focusable: true
      is_scrollable: true
      depth: 7
    }
    nodes {
      bounds_in_screen {
        top: 136
        right: 147
        bottom: 283
      }
      class_name: "android.widget.ImageButton"
      content_description: "Back"
      is_clickable: true
      is_focusable: true
      depth: 8
      tooltip_text: "Back"
    }
    nodes {
      bounds_in_screen {
        left: 147
        top: 146
        right: 1080
        bottom: 272
      }
      class_name: "android.view.ViewGroup"
      depth: 8
    }
    nodes {
      bounds_in_screen {
        left: 1080
        top: 136
        right: 1080
        bottom: 283
      }
      class_name: "androidx.appcompat.widget.LinearLayoutCompat"
      depth: 8
    }
    nodes {
      bounds_in_screen {
        top: 283
        right: 1080
        bottom: 409
      }
      class_name: "android.view.View"
      depth: 8
    }
    nodes {
      bounds_in_screen {
        top: 283
        right: 1080
        bottom: 409
      }
      class_name: "android.widget.HorizontalScrollView"
      is_focusable: true
      depth: 8
    }
    nodes {
      bounds_in_screen {
        left: 42
        top: 468
        right: 1038
        bottom: 529
      }
      class_name: "android.widget.TextView"
      text: "Categories"
      depth: 8
    }
    nodes {
      bounds_in_screen {
        top: 572
        right: 1080
        bottom: 702
      }
      class_name: "android.view.ViewGroup"
      is_clickable: true
      is_focusable: true
      depth: 8
    }
    nodes {
      bounds_in_screen {
        left: 42
        top: 766
        right: 1038
        bottom: 827
      }
      class_name: "android.widget.TextView"
      text: "All results for “Fish and Chips”"
      depth: 8
    }
    nodes {
      bounds_in_screen {
        top: 869
        right: 1080
        bottom: 1121
      }
      class_name: "android.widget.FrameLayout"
      content_description: "The Posh Fish and Chip"
      is_clickable: true
      is_focusable: true
      depth: 8
    }
    nodes {
      bounds_in_screen {
        top: 1121
        right: 1080
        bottom: 1751
      }
      class_name: "android.view.ViewGroup"
      depth: 8
    }
    nodes {
      bounds_in_screen {
        top: 1793
        right: 1080
        bottom: 2045
      }
      class_name: "android.widget.FrameLayout"
      content_description: "Albany Fish Bar"
      is_clickable: true
      is_focusable: true
      depth: 8
    }
    nodes {
      bounds_in_screen {
        top: 2045
        right: 1080
        bottom: 2337
      }
      class_name: "android.view.ViewGroup"
      depth: 8
    }
    nodes {
      bounds_in_screen {
        left: 147
        top: 182
        right: 943
        bottom: 237
      }
      class_name: "android.widget.EditText"
      hint_text: "Restaurants, cuisines, dishes"
      text: "Fish and Chips"
      is_clickable: true
      is_editable: true
      is_focusable: true
      is_long_clickable: true
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 943
        top: 146
        right: 1069
        bottom: 272
      }
      class_name: "android.widget.ImageView"
      content_description: "Clear all"
      is_clickable: true
      is_focusable: true
      depth: 9
    }
    nodes {
      bounds_in_screen {
        top: 283
        right: 1080
        bottom: 409
      }
      class_name: "android.widget.LinearLayout"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 42
        top: 604
        right: 1038
        bottom: 670
      }
      class_name: "android.widget.LinearLayout"
      content_description: "Fish and chips"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 42
        top: 911
        right: 1038
        bottom: 1121
      }
      class_name: "android.view.ViewGroup"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        top: 1142
        right: 1080
        bottom: 1751
      }
      class_name: "android.widget.GridView"
      is_focusable: true
      is_scrollable: true
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 42
        top: 1835
        right: 1038
        bottom: 2045
      }
      class_name: "android.view.ViewGroup"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        top: 2066
        right: 1080
        bottom: 2337
      }
      class_name: "android.widget.GridView"
      is_focusable: true
      is_scrollable: true
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 32
        top: 283
        right: 221
        bottom: 409
      }
      class_name: "android.widget.LinearLayout"
      content_description: "All"
      is_clickable: true
      is_focusable: true
      depth: 10
      tooltip_text: "All"
    }
    nodes {
      bounds_in_screen {
        left: 221
        top: 283
        right: 539
        bottom: 409
      }
      class_name: "android.widget.LinearLayout"
      content_description: "Restaurants"
      is_focusable: true
      is_selected: true
      depth: 10
      tooltip_text: "Restaurants"
    }
    nodes {
      bounds_in_screen {
        left: 539
        top: 283
        right: 806
        bottom: 409
      }
      class_name: "android.widget.LinearLayout"
      content_description: "Groceries"
      is_clickable: true
      is_focusable: true
      depth: 10
      tooltip_text: "Groceries"
    }
    nodes {
      bounds_in_screen {
        left: 42
        top: 604
        right: 1038
        bottom: 670
      }
      class_name: "android.widget.TextView"
      text: "imagespaceFish and chips (35)"
      depth: 10
    }
    nodes {
      bounds_in_screen {
        left: 42
        top: 911
        right: 252
        bottom: 1121
      }
      class_name: "android.widget.ImageView"
      depth: 10
    }
    nodes {
      bounds_in_screen {
        left: 273
        top: 911
        right: 1038
        bottom: 1025
      }
      class_name: "android.widget.LinearLayout"
      depth: 10
    }
    nodes {
      bounds_in_screen {
        left: 42
        top: 1163
        right: 378
        bottom: 1751
      }
      class_name: "android.widget.FrameLayout"
      is_clickable: true
      is_focusable: true
      depth: 10
    }
    nodes {
      bounds_in_screen {
        left: 399
        top: 1163
        right: 735
        bottom: 1751
      }
      class_name: "android.widget.FrameLayout"
      is_clickable: true
      is_focusable: true
      depth: 10
    }
    nodes {
      bounds_in_screen {
        left: 756
        top: 1163
        right: 1080
        bottom: 1751
      }
      class_name: "android.widget.FrameLayout"
      is_clickable: true
      is_focusable: true
      depth: 10
    }
    nodes {
      bounds_in_screen {
        left: 42
        top: 1835
        right: 252
        bottom: 2045
      }
      class_name: "android.widget.ImageView"
      depth: 10
    }
    nodes {
      bounds_in_screen {
        left: 273
        top: 1835
        right: 1038
        bottom: 1949
      }
      class_name: "android.widget.LinearLayout"
      depth: 10
    }
    nodes {
      bounds_in_screen {
        left: 42
        top: 2087
        right: 378
        bottom: 2337
      }
      class_name: "android.widget.FrameLayout"
      is_clickable: true
      is_focusable: true
      depth: 10
    }
    nodes {
      bounds_in_screen {
        left: 399
        top: 2087
        right: 735
        bottom: 2337
      }
      class_name: "android.widget.FrameLayout"
      is_clickable: true
      is_focusable: true
      depth: 10
    }
    nodes {
      bounds_in_screen {
        left: 756
        top: 2087
        right: 1080
        bottom: 2337
      }
      class_name: "android.widget.FrameLayout"
      is_clickable: true
      is_focusable: true
      depth: 10
    }
    nodes {
      bounds_in_screen {
        left: 104
        top: 317
        right: 148
        bottom: 370
      }
      class_name: "android.widget.TextView"
      text: "All"
      depth: 11
    }
    nodes {
      bounds_in_screen {
        left: 274
        top: 316
        right: 486
        bottom: 370
      }
      class_name: "android.widget.TextView"
      text: "Restaurants"
      is_selected: true
      depth: 11
    }
    nodes {
      bounds_in_screen {
        left: 592
        top: 317
        right: 753
        bottom: 370
      }
      class_name: "android.widget.TextView"
      text: "Groceries"
      depth: 11
    }
    nodes {
      bounds_in_screen {
        left: 273
        top: 911
        right: 1038
        bottom: 972
      }
      class_name: "android.widget.TextView"
      text: "The Posh Fish and Chip"
      depth: 11
    }
    nodes {
      bounds_in_screen {
        left: 273
        top: 972
        right: 1038
        bottom: 1025
      }
      class_name: "android.widget.TextView"
      text: "spaceSponsoredspacespaceimagespace4.2space(221)space·space40 – 65 min"
      depth: 11
    }
    nodes {
      bounds_in_screen {
        left: 42
        top: 1163
        right: 378
        bottom: 1751
      }
      class_name: "android.view.ViewGroup"
      depth: 11
    }
    nodes {
      bounds_in_screen {
        left: 399
        top: 1163
        right: 735
        bottom: 1751
      }
      class_name: "android.view.ViewGroup"
      depth: 11
    }
    nodes {
      bounds_in_screen {
        left: 756
        top: 1163
        right: 1080
        bottom: 1751
      }
      class_name: "android.view.ViewGroup"
      depth: 11
    }
    nodes {
      bounds_in_screen {
        left: 273
        top: 1835
        right: 1038
        bottom: 1896
      }
      class_name: "android.widget.TextView"
      text: "Albany Fish Bar"
      depth: 11
    }
    nodes {
      bounds_in_screen {
        left: 273
        top: 1896
        right: 1038
        bottom: 1949
      }
      class_name: "android.widget.TextView"
      text: "imagespace4.5space(500+)space·space15 – 30 min"
      depth: 11
    }
    nodes {
      bounds_in_screen {
        left: 42
        top: 2087
        right: 378
        bottom: 2337
      }
      class_name: "android.view.ViewGroup"
      depth: 11
    }
    nodes {
      bounds_in_screen {
        left: 399
        top: 2087
        right: 735
        bottom: 2337
      }
      class_name: "android.view.ViewGroup"
      depth: 11
    }
    nodes {
      bounds_in_screen {
        left: 756
        top: 2087
        right: 1080
        bottom: 2337
      }
      class_name: "android.view.ViewGroup"
      depth: 11
    }
    nodes {
      bounds_in_screen {
        left: 42
        top: 1163
        right: 378
        bottom: 1499
      }
      class_name: "android.widget.ImageView"
      depth: 12
    }
    nodes {
      bounds_in_screen {
        left: 42
        top: 1499
        right: 378
        bottom: 1500
      }
      class_name: "android.view.View"
      depth: 12
    }
    nodes {
      bounds_in_screen {
        left: 63
        top: 1520
        right: 357
        bottom: 1646
      }
      class_name: "android.widget.TextView"
      text: "Vegan fish and chips"
      depth: 12
    }
    nodes {
      bounds_in_screen {
        left: 63
        top: 1667
        right: 357
        bottom: 1709
      }
      class_name: "android.widget.TextView"
      text: "£14.00"
      depth: 12
    }
    nodes {
      bounds_in_screen {
        left: 399
        top: 1163
        right: 735
        bottom: 1499
      }
      class_name: "android.widget.ImageView"
      depth: 12
    }
    nodes {
      bounds_in_screen {
        left: 399
        top: 1499
        right: 735
        bottom: 1500
      }
      class_name: "android.view.View"
      depth: 12
    }
    nodes {
      bounds_in_screen {
        left: 420
        top: 1520
        right: 714
        bottom: 1646
      }
      class_name: "android.widget.TextView"
      text: "Classic Chipshop Fishcake"
      depth: 12
    }
    nodes {
      bounds_in_screen {
        left: 420
        top: 1667
        right: 714
        bottom: 1709
      }
      class_name: "android.widget.TextView"
      text: "£2.00"
      depth: 12
    }
    nodes {
      bounds_in_screen {
        left: 756
        top: 1163
        right: 1080
        bottom: 1499
      }
      class_name: "android.widget.ImageView"
      depth: 12
    }
    nodes {
      bounds_in_screen {
        left: 756
        top: 1499
        right: 1080
        bottom: 1500
      }
      class_name: "android.view.View"
      depth: 12
    }
    nodes {
      bounds_in_screen {
        left: 777
        top: 1520
        right: 1071
        bottom: 1646
      }
      class_name: "android.widget.TextView"
      text: "Large Chips"
      depth: 12
    }
    nodes {
      bounds_in_screen {
        left: 777
        top: 1667
        right: 1071
        bottom: 1709
      }
      class_name: "android.widget.TextView"
      text: "£4.00"
      depth: 12
    }
    nodes {
      bounds_in_screen {
        left: 42
        top: 2087
        right: 378
        bottom: 2337
      }
      class_name: "android.widget.ImageView"
      depth: 12
    }
    nodes {
      bounds_in_screen {
        left: 42
        top: 2423
        right: 378
        bottom: 2337
      }
      class_name: "android.view.View"
      depth: 12
    }
    nodes {
      bounds_in_screen {
        left: 63
        top: 2444
        right: 357
        bottom: 2337
      }
      class_name: "android.widget.TextView"
      text: "Fish Finger Burger & Chips"
      depth: 12
    }
    nodes {
      bounds_in_screen {
        left: 63
        top: 2591
        right: 357
        bottom: 2337
      }
      class_name: "android.widget.TextView"
      text: "£6.99"
      depth: 12
    }
    nodes {
      bounds_in_screen {
        left: 399
        top: 2087
        right: 735
        bottom: 2337
      }
      class_name: "android.widget.ImageView"
      depth: 12
    }
    nodes {
      bounds_in_screen {
        left: 399
        top: 2423
        right: 735
        bottom: 2337
      }
      class_name: "android.view.View"
      depth: 12
    }
    nodes {
      bounds_in_screen {
        left: 420
        top: 2444
        right: 714
        bottom: 2337
      }
      class_name: "android.widget.TextView"
      text: "Chips and Curry"
      depth: 12
    }
    nodes {
      bounds_in_screen {
        left: 420
        top: 2591
        right: 714
        bottom: 2337
      }
      class_name: "android.widget.TextView"
      text: "£5.99"
      depth: 12
    }
    nodes {
      bounds_in_screen {
        left: 756
        top: 2087
        right: 1080
        bottom: 2337
      }
      class_name: "android.widget.ImageView"
      depth: 12
    }
    nodes {
      bounds_in_screen {
        left: 756
        top: 2423
        right: 1080
        bottom: 2337
      }
      class_name: "android.view.View"
      depth: 12
    }
    nodes {
      bounds_in_screen {
        left: 777
        top: 2444
        right: 1071
        bottom: 2337
      }
      class_name: "android.widget.TextView"
      text: "Chips and Gravy"
      depth: 12
    }
    nodes {
      bounds_in_screen {
        left: 777
        top: 2591
        right: 1071
        bottom: 2337
      }
      class_name: "android.widget.TextView"
      text: "£5.99"
      depth: 12
    }
  }
}

assistant
!FUNCTIONCALL{"name": "open_app", "parameters": {"app_name": "OpenTable"}}
[{"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"]}}}]