instruction
Open the Wanderu app, Search train for New York to Newark on 16 August
previous_actions
{"name": "open_app", "parameters": {"app_name": "Wanderu"}}
active_application
Wanderu
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:47 PM"
      text: "12:47"
      depth: 7
    }
    nodes {
      bounds_in_screen {
        left: 247
        top: 1
        right: 537
        bottom: 136
      }
      class_name: "android.widget.FrameLayout"
      depth: 7
    }
    nodes {
      bounds_in_screen {
        left: 924
        top: 1
        right: 986
        bottom: 136
      }
      class_name: "android.widget.LinearLayout"
      depth: 7
    }
    nodes {
      bounds_in_screen {
        left: 986
        top: 1
        right: 1006
        bottom: 136
      }
      class_name: "android.widget.LinearLayout"
      content_description: "Battery charging, 100 percent."
      depth: 7
    }
    nodes {
      bounds_in_screen {
        left: 247
        top: 1
        right: 537
        bottom: 136
      }
      class_name: "android.view.ViewGroup"
      depth: 8
    }
    nodes {
      bounds_in_screen {
        left: 924
        top: 39
        right: 970
        bottom: 97
      }
      class_name: "android.widget.FrameLayout"
      content_description: "Wifi three bars."
      depth: 8
    }
    nodes {
      bounds_in_screen {
        left: 986
        top: 51
        right: 1006
        bottom: 85
      }
      class_name: "android.widget.ImageView"
      depth: 8
    }
    nodes {
      bounds_in_screen {
        left: 247
        top: 1
        right: 305
        bottom: 136
      }
      class_name: "android.widget.ImageView"
      content_description: "Keep Notes notification: "
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 305
        top: 1
        right: 363
        bottom: 136
      }
      class_name: "android.widget.ImageView"
      content_description: "AccuWeather notification: "
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 363
        top: 1
        right: 421
        bottom: 136
      }
      class_name: "android.widget.ImageView"
      content_description: "PDF Editor notification: 🌟 Make your teamwork dream come true 🙌"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 421
        top: 1
        right: 479
        bottom: 136
      }
      class_name: "android.widget.ImageView"
      content_description: "Bluetooth notification: Bluetooth share: Sent files"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 479
        top: 1
        right: 537
        bottom: 136
      }
      class_name: "android.widget.ImageView"
      content_description: "Calm notification: Mindfulness Reminder"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 497
        top: 1
        right: 537
        bottom: 136
      }
      class_name: "android.widget.ImageView"
      content_description: "All Currency Converter notification: All Currency Converter"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 497
        top: 1
        right: 537
        bottom: 136
      }
      class_name: "android.widget.ImageView"
      content_description: "Google Play services notification: "
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 497
        top: 1
        right: 537
        bottom: 136
      }
      class_name: "android.widget.ImageView"
      content_description: "Strava notification: Your Monday motivation is here"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 497
        top: 1
        right: 537
        bottom: 136
      }
      class_name: "android.widget.ImageView"
      content_description: "Weather notification: 28 °C • Cloudy"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 497
        top: 1
        right: 537
        bottom: 136
      }
      class_name: "android.widget.ImageView"
      content_description: "Fitbit notification: MobileTrack"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 497
        top: 1
        right: 537
        bottom: 136
      }
      class_name: "android.widget.ImageView"
      content_description: "Frog Weather notification: "
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 497
        top: 1
        right: 537
        bottom: 136
      }
      class_name: "android.widget.ImageView"
      content_description: "Weather XL notification: Cloudy 91° Max: 95°"
      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: 5259
  title: "Wanderu"
  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: 136
      }
      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.FrameLayout"
      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 {
        top: 136
        right: 1080
        bottom: 2337
      }
      class_name: "android.view.ViewGroup"
      depth: 6
    }
    nodes {
      bounds_in_screen {
        top: 136
        right: 1080
        bottom: 136
      }
      class_name: "android.widget.LinearLayout"
      is_clickable: true
      is_focusable: true
      depth: 7
    }
    nodes {
      bounds_in_screen {
        top: 136
        right: 1080
        bottom: 2337
      }
      class_name: "android.view.ViewGroup"
      depth: 7
    }
    nodes {
      bounds_in_screen {
        top: 136
        right: 1080
        bottom: 2337
      }
      class_name: "android.view.ViewGroup"
      depth: 8
    }
    nodes {
      bounds_in_screen {
        top: 136
        right: 1080
        bottom: 2337
      }
      class_name: "android.view.ViewGroup"
      is_focusable: true
      depth: 8
    }
    nodes {
      bounds_in_screen {
        top: 136
        right: 1080
        bottom: 2337
      }
      class_name: "android.view.ViewGroup"
      depth: 8
    }
    nodes {
      bounds_in_screen {
        left: 212
        top: 411
        right: 868
        bottom: 555
      }
      class_name: "android.widget.ImageView"
      is_clickable: true
      is_focusable: true
      depth: 9
    }
    nodes {
      bounds_in_screen {
        top: 1681
        right: 656
        bottom: 2337
      }
      class_name: "android.widget.ImageView"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        top: 136
        right: 1080
        bottom: 2337
      }
      class_name: "android.view.ViewGroup"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        top: 136
        right: 1080
        bottom: 2337
      }
      class_name: "android.widget.FrameLayout"
      is_clickable: true
      is_focusable: true
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 76
        top: 910
        right: 181
        bottom: 1015
      }
      class_name: "android.widget.ImageView"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 899
        top: 1059
        right: 1004
        bottom: 1164
      }
      class_name: "android.widget.ImageView"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 212
        top: 411
        right: 868
        bottom: 555
      }
      class_name: "android.view.View"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 63
        top: 1272
        right: 1017
        bottom: 1450
      }
      class_name: "android.view.ViewGroup"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 63
        top: 1513
        right: 1017
        bottom: 1597
      }
      class_name: "android.view.ViewGroup"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 63
        top: 1660
        right: 1017
        bottom: 1786
      }
      class_name: "android.view.ViewGroup"
      is_clickable: true
      is_focusable: true
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 63
        top: 1786
        right: 1017
        bottom: 1912
      }
      class_name: "android.view.ViewGroup"
      is_clickable: true
      is_focusable: true
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 828
        top: 1723
        right: 954
        bottom: 1849
      }
      class_name: "android.widget.ImageView"
      content_description: "Switch origin and Destination"
      is_clickable: true
      is_focusable: true
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 63
        top: 1912
        right: 1017
        bottom: 2038
      }
      class_name: "android.view.ViewGroup"
      is_clickable: true
      is_focusable: true
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 63
        top: 2101
        right: 1017
        bottom: 2227
      }
      class_name: "android.widget.TextView"
      text: "SEARCH"
      is_clickable: true
      is_focusable: true
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 21
        top: 168
        right: 147
        bottom: 294
      }
      class_name: "android.widget.ImageView"
      content_description: "Dismiss view"
      is_clickable: true
      is_focusable: true
      depth: 10
    }
    nodes {
      bounds_in_screen {
        left: 147
        top: 168
        right: 273
        bottom: 294
      }
      class_name: "android.widget.ImageView"
      depth: 10
    }
    nodes {
      bounds_in_screen {
        left: 273
        top: 157
        right: 1038
        bottom: 283
      }
      class_name: "android.widget.EditText"
      hint_text: "Address, City or Landmark"
      text: "Address, City or Landmark"
      is_clickable: true
      is_editable: true
      is_focusable: true
      is_focused: true
      is_long_clickable: true
      depth: 10
    }
    nodes {
      bounds_in_screen {
        top: 325
        right: 1080
        bottom: 2337
      }
      class_name: "androidx.recyclerview.widget.RecyclerView"
      is_focusable: true
      depth: 10
    }
    nodes {
      bounds_in_screen {
        top: 136
        right: 1080
        bottom: 2337
      }
      class_name: "android.widget.FrameLayout"
      depth: 10
    }
    nodes {
      bounds_in_screen {
        left: 63
        top: 1272
        right: 870
        bottom: 1450
      }
      class_name: "android.view.View"
      is_clickable: true
      is_focusable: true
      depth: 10
    }
    nodes {
      bounds_in_screen {
        left: 105
        top: 1314
        right: 171
        bottom: 1377
      }
      class_name: "android.widget.ImageView"
      content_description: "One of the carriers sold out the last seat at that price. This is the next best deal."
      depth: 10
    }
    nodes {
      bounds_in_screen {
        left: 210
        top: 1314
        right: 870
        bottom: 1358
      }
      class_name: "android.widget.TextView"
      text: "COVID-19 Travel Guide"
      depth: 10
    }
    nodes {
      bounds_in_screen {
        left: 210
        top: 1363
        right: 870
        bottom: 1450
      }
      class_name: "android.widget.TextView"
      text: "Learn more ›"
      depth: 10
    }
    nodes {
      bounds_in_screen {
        left: 870
        top: 1272
        right: 1017
        bottom: 1450
      }
      class_name: "android.view.View"
      is_clickable: true
      is_focusable: true
      depth: 10
    }
    nodes {
      bounds_in_screen {
        left: 909
        top: 1314
        right: 975
        bottom: 1377
      }
      class_name: "android.widget.ImageView"
      content_description: "Close dialog"
      depth: 10
    }
    nodes {
      bounds_in_screen {
        left: 63
        top: 1513
        right: 540
        bottom: 1597
      }
      class_name: "android.widget.TextView"
      text: "One way"
      is_clickable: true
      is_focusable: true
      depth: 10
    }
    nodes {
      bounds_in_screen {
        left: 540
        top: 1513
        right: 1017
        bottom: 1597
      }
      class_name: "android.widget.TextView"
      text: "Round trip"
      is_clickable: true
      is_focusable: true
      depth: 10
    }
    nodes {
      bounds_in_screen {
        left: 105
        top: 1692
        right: 168
        bottom: 1755
      }
      class_name: "android.widget.ImageView"
      depth: 10
    }
    nodes {
      bounds_in_screen {
        left: 200
        top: 1701
        right: 985
        bottom: 1745
      }
      class_name: "android.widget.TextView"
      hint_text: "Origin"
      text: "Newark"
      depth: 10
    }
    nodes {
      bounds_in_screen {
        left: 105
        top: 1818
        right: 168
        bottom: 1881
      }
      class_name: "android.widget.ImageView"
      depth: 10
    }
    nodes {
      bounds_in_screen {
        left: 200
        top: 1827
        right: 985
        bottom: 1871
      }
      class_name: "android.widget.TextView"
      hint_text: "Destination"
      text: "New York"
      depth: 10
    }
    nodes {
      bounds_in_screen {
        left: 105
        top: 1944
        right: 168
        bottom: 2007
      }
      class_name: "android.widget.ImageView"
      depth: 10
    }
    nodes {
      bounds_in_screen {
        left: 200
        top: 1953
        right: 985
        bottom: 1997
      }
      class_name: "android.widget.TextView"
      hint_text: "Depart"
      text: "Thu, Aug 10"
      depth: 10
    }
    nodes {
      bounds_in_screen {
        top: 325
        right: 1080
        bottom: 451
      }
      class_name: "android.view.ViewGroup"
      is_clickable: true
      is_focusable: true
      depth: 11
    }
    nodes {
      bounds_in_screen {
        top: 451
        right: 1080
        bottom: 559
      }
      class_name: "android.view.ViewGroup"
      is_clickable: true
      is_focusable: true
      depth: 11
    }
    nodes {
      bounds_in_screen {
        top: 559
        right: 1080
        bottom: 685
      }
      class_name: "android.view.ViewGroup"
      is_clickable: true
      is_focusable: true
      depth: 11
    }
    nodes {
      bounds_in_screen {
        top: 685
        right: 1080
        bottom: 811
      }
      class_name: "android.view.ViewGroup"
      is_clickable: true
      is_focusable: true
      depth: 11
    }
    nodes {
      bounds_in_screen {
        top: 811
        right: 1080
        bottom: 937
      }
      class_name: "android.view.ViewGroup"
      is_clickable: true
      is_focusable: true
      depth: 11
    }
    nodes {
      bounds_in_screen {
        top: 937
        right: 1080
        bottom: 1045
      }
      class_name: "android.view.ViewGroup"
      is_clickable: true
      is_focusable: true
      depth: 11
    }
    nodes {
      bounds_in_screen {
        top: 1045
        right: 1080
        bottom: 1171
      }
      class_name: "android.view.ViewGroup"
      is_clickable: true
      is_focusable: true
      depth: 11
    }
    nodes {
      bounds_in_screen {
        top: 1171
        right: 1080
        bottom: 1297
      }
      class_name: "android.view.ViewGroup"
      is_clickable: true
      is_focusable: true
      depth: 11
    }
    nodes {
      bounds_in_screen {
        top: 1297
        right: 1080
        bottom: 1428
      }
      class_name: "android.view.ViewGroup"
      depth: 11
    }
    nodes {
      bounds_in_screen {
        top: 136
        right: 1080
        bottom: 2337
      }
      class_name: "android.view.View"
      content_description: "Google Map"
      is_clickable: true
      is_focusable: true
      depth: 11
    }
    nodes {
      bounds_in_screen {
        top: 136
        right: 1080
        bottom: 2337
      }
      class_name: "android.widget.RelativeLayout"
      depth: 11
    }
    nodes {
      bounds_in_screen {
        top: 136
        right: 1080
        bottom: 2337
      }
      class_name: "android.widget.RelativeLayout"
      depth: 11
    }
    nodes {
      bounds_in_screen {
        left: 42
        top: 346
        right: 126
        bottom: 430
      }
      class_name: "android.widget.ImageView"
      depth: 12
    }
    nodes {
      bounds_in_screen {
        left: 168
        top: 363
        right: 1027
        bottom: 413
      }
      class_name: "android.widget.TextView"
      text: "Current Location"
      depth: 12
    }
    nodes {
      bounds_in_screen {
        left: 42
        top: 493
        right: 438
        bottom: 538
      }
      class_name: "android.widget.TextView"
      text: "RECENT LOCATIONS"
      depth: 12
    }
    nodes {
      bounds_in_screen {
        left: 42
        top: 580
        right: 126
        bottom: 664
      }
      class_name: "android.widget.ImageView"
      depth: 12
    }
    nodes {
      bounds_in_screen {
        left: 168
        top: 597
        right: 1027
        bottom: 647
      }
      class_name: "android.widget.TextView"
      text: "Newark"
      depth: 12
    }
    nodes {
      bounds_in_screen {
        left: 42
        top: 706
        right: 126
        bottom: 790
      }
      class_name: "android.widget.ImageView"
      depth: 12
    }
    nodes {
      bounds_in_screen {
        left: 168
        top: 723
        right: 1027
        bottom: 773
      }
      class_name: "android.widget.TextView"
      text: "New York"
      depth: 12
    }
    nodes {
      bounds_in_screen {
        left: 42
        top: 832
        right: 126
        bottom: 916
      }
      class_name: "android.widget.ImageView"
      depth: 12
    }
    nodes {
      bounds_in_screen {
        left: 168
        top: 849
        right: 1027
        bottom: 899
      }
      class_name: "android.widget.TextView"
      text: "Los Angeles"
      depth: 12
    }
    nodes {
      bounds_in_screen {
        left: 42
        top: 979
        right: 386
        bottom: 1024
      }
      class_name: "android.widget.TextView"
      text: "RECENT HISTORY"
      depth: 12
    }
    nodes {
      bounds_in_screen {
        left: 42
        top: 1066
        right: 126
        bottom: 1150
      }
      class_name: "android.widget.ImageView"
      depth: 12
    }
    nodes {
      bounds_in_screen {
        left: 168
        top: 1045
        right: 1038
        bottom: 1171
      }
      class_name: "android.view.ViewGroup"
      depth: 12
    }
    nodes {
      bounds_in_screen {
        left: 42
        top: 1192
        right: 126
        bottom: 1276
      }
      class_name: "android.widget.ImageView"
      depth: 12
    }
    nodes {
      bounds_in_screen {
        left: 168
        top: 1171
        right: 1038
        bottom: 1297
      }
      class_name: "android.view.ViewGroup"
      depth: 12
    }
    nodes {
      bounds_in_screen {
        left: 660
        top: 1339
        right: 1038
        bottom: 1386
      }
      class_name: "android.widget.ImageView"
      depth: 12
    }
    nodes {
      bounds_in_screen {
        left: 1054
        top: 162
        right: 1054
        bottom: 2298
      }
      class_name: "android.widget.RelativeLayout"
      depth: 12
    }
    nodes {
      bounds_in_screen {
        left: 60
        top: 2253
        right: 218
        bottom: 2311
      }
      class_name: "android.widget.ImageView"
      depth: 12
    }
    nodes {
      bounds_in_screen {
        left: 210
        top: 1061
        right: 353
        bottom: 1116
      }
      class_name: "android.widget.TextView"
      text: "Newark"
      depth: 13
    }
    nodes {
      bounds_in_screen {
        left: 366
        top: 1074
        right: 403
        bottom: 1095
      }
      class_name: "android.widget.ImageView"
      depth: 13
    }
    nodes {
      bounds_in_screen {
        left: 416
        top: 1061
        right: 1038
        bottom: 1116
      }
      class_name: "android.widget.TextView"
      text: "New York"
      depth: 13
    }
    nodes {
      bounds_in_screen {
        left: 210
        top: 1116
        right: 314
        bottom: 1158
      }
      class_name: "android.widget.TextView"
      text: "Aug 10"
      depth: 13
    }
    nodes {
      bounds_in_screen {
        left: 210
        top: 1187
        right: 353
        bottom: 1242
      }
      class_name: "android.widget.TextView"
      text: "Newark"
      depth: 13
    }
    nodes {
      bounds_in_screen {
        left: 366
        top: 1200
        right: 403
        bottom: 1221
      }
      class_name: "android.widget.ImageView"
      depth: 13
    }
    nodes {
      bounds_in_screen {
        left: 416
        top: 1187
        right: 1038
        bottom: 1242
      }
      class_name: "android.widget.TextView"
      text: "Los Angeles"
      depth: 13
    }
    nodes {
      bounds_in_screen {
        left: 210
        top: 1242
        right: 314
        bottom: 1284
      }
      class_name: "android.widget.TextView"
      text: "Aug 10"
      depth: 13
    }
  }
}

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