instruction
Open the Trainline app and get the directions to the train station from Barnehurst to Albany Park.
previous_actions
{"name": "open_app", "parameters": {"app_name": "Trainline"}}
{"name": "navigate_back", "parameters": {}}
{"name": "navigate_back", "parameters": {}}
{"name": "navigate_back", "parameters": {}}
{"name": "click", "parameters": {"x": 996, "y": 411}}
{"name": "click", "parameters": {"x": 518, "y": 338}}
{"name": "input_text", "parameters": {"text": "Barnehurst"}}
{"name": "click", "parameters": {"x": 494, "y": 547}}
{"name": "click", "parameters": {"x": 994, "y": 2170}}
active_application
Select outbound
screen_description
windows {
  bounds_in_screen {
    right: 1080
    bottom: 128
  }
  id: 2040
  layer: 1
  window_type: TYPE_SYSTEM
  tree {
    nodes {
      bounds_in_screen {
        right: 1080
        bottom: 128
      }
      class_name: "android.widget.FrameLayout"
    }
    nodes {
      bounds_in_screen {
        right: 1080
        bottom: 128
      }
      class_name: "android.widget.FrameLayout"
      depth: 1
    }
    nodes {
      bounds_in_screen {
        right: 1080
        bottom: 128
      }
      class_name: "android.widget.FrameLayout"
      depth: 1
    }
    nodes {
      bounds_in_screen {
        right: 1080
        bottom: 128
      }
      class_name: "android.widget.FrameLayout"
      depth: 1
    }
    nodes {
      bounds_in_screen {
        right: 1080
        bottom: 128
      }
      class_name: "android.widget.FrameLayout"
      depth: 2
    }
    nodes {
      bounds_in_screen {
        left: 50
        right: 1027
        bottom: 128
      }
      class_name: "android.widget.LinearLayout"
      depth: 3
    }
    nodes {
      bounds_in_screen {
        left: 50
        top: 1
        right: 469
        bottom: 128
      }
      class_name: "android.widget.FrameLayout"
      depth: 4
    }
    nodes {
      bounds_in_screen {
        left: 469
        top: 1
        right: 587
        bottom: 128
      }
      class_name: "android.view.View"
      depth: 4
    }
    nodes {
      bounds_in_screen {
        left: 587
        top: 1
        right: 1006
        bottom: 128
      }
      class_name: "android.widget.FrameLayout"
      depth: 4
    }
    nodes {
      bounds_in_screen {
        left: 50
        top: 1
        right: 417
        bottom: 128
      }
      class_name: "android.widget.FrameLayout"
      depth: 5
    }
    nodes {
      bounds_in_screen {
        left: 924
        top: 1
        right: 1006
        bottom: 128
      }
      class_name: "android.widget.LinearLayout"
      depth: 5
    }
    nodes {
      bounds_in_screen {
        left: 50
        top: 1
        right: 417
        bottom: 128
      }
      class_name: "android.widget.LinearLayout"
      depth: 6
    }
    nodes {
      bounds_in_screen {
        left: 924
        top: 1
        right: 1006
        bottom: 128
      }
      class_name: "android.widget.LinearLayout"
      depth: 6
    }
    nodes {
      bounds_in_screen {
        left: 50
        top: 1
        right: 127
        bottom: 128
      }
      class_name: "android.widget.TextView"
      content_description: "1:58 PM"
      text: "1:58"
      depth: 7
    }
    nodes {
      bounds_in_screen {
        left: 127
        top: 1
        right: 417
        bottom: 128
      }
      class_name: "android.widget.FrameLayout"
      depth: 7
    }
    nodes {
      bounds_in_screen {
        left: 924
        top: 1
        right: 986
        bottom: 128
      }
      class_name: "android.widget.LinearLayout"
      depth: 7
    }
    nodes {
      bounds_in_screen {
        left: 986
        top: 1
        right: 1006
        bottom: 128
      }
      class_name: "android.widget.LinearLayout"
      content_description: "Battery charging, 100 percent."
      depth: 7
    }
    nodes {
      bounds_in_screen {
        left: 127
        top: 1
        right: 417
        bottom: 128
      }
      class_name: "android.view.ViewGroup"
      depth: 8
    }
    nodes {
      bounds_in_screen {
        left: 924
        top: 35
        right: 970
        bottom: 93
      }
      class_name: "android.widget.FrameLayout"
      content_description: "Wifi two bars."
      depth: 8
    }
    nodes {
      bounds_in_screen {
        left: 986
        top: 47
        right: 1006
        bottom: 81
      }
      class_name: "android.widget.ImageView"
      depth: 8
    }
    nodes {
      bounds_in_screen {
        left: 127
        top: 1
        right: 185
        bottom: 128
      }
      class_name: "android.widget.ImageView"
      content_description: "Snapchat notification: Team Snapchat: Team Snapchat"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 185
        top: 1
        right: 243
        bottom: 128
      }
      class_name: "android.widget.ImageView"
      content_description: "NykaaFashion notification: "
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 243
        top: 1
        right: 301
        bottom: 128
      }
      class_name: "android.widget.ImageView"
      content_description: "Weather notification: 19°"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 301
        top: 1
        right: 359
        bottom: 128
      }
      class_name: "android.widget.ImageView"
      content_description: "Weather&Radar notification: Tuesday Rain Update"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 359
        top: 1
        right: 417
        bottom: 128
      }
      class_name: "android.widget.ImageView"
      content_description: "Airbnb notification: "
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 377
        top: 1
        right: 417
        bottom: 128
      }
      class_name: "android.widget.ImageView"
      content_description: "System update notification: Android 13"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 377
        top: 1
        right: 417
        bottom: 128
      }
      class_name: "android.widget.ImageView"
      content_description: "YouTube notification: Apna Bana Le - Bhediya | Varun Dhawan, Kriti Sanon| Sachin-Jigar, Arijit Singh, Amitabh Bhattacharya"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 377
        top: 1
        right: 417
        bottom: 128
      }
      class_name: "android.widget.ImageView"
      content_description: "Google notification: 32° in Bandhwari"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 377
        top: 1
        right: 417
        bottom: 128
      }
      class_name: "android.widget.ImageView"
      content_description: "Gmail notification: 2 new messages"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 931
        top: 35
        right: 970
        bottom: 93
      }
      class_name: "android.widget.LinearLayout"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 931
        top: 44
        right: 970
        bottom: 83
      }
      class_name: "android.widget.FrameLayout"
      depth: 10
    }
    nodes {
      bounds_in_screen {
        left: 931
        top: 44
        right: 970
        bottom: 83
      }
      class_name: "android.widget.ImageView"
      depth: 11
    }
  }
}
windows {
  bounds_in_screen {
    right: 1080
    bottom: 2400
  }
  id: 3206
  title: "Select outbound"
  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: 128
      }
      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 {
        top: 128
        right: 1080
        bottom: 2337
      }
      class_name: "android.widget.FrameLayout"
      depth: 2
    }
    nodes {
      bounds_in_screen {
        top: 128
        right: 1080
        bottom: 2337
      }
      class_name: "android.widget.LinearLayout"
      depth: 3
    }
    nodes {
      bounds_in_screen {
        top: 128
        right: 1080
        bottom: 2337
      }
      class_name: "android.widget.FrameLayout"
      depth: 4
    }
    nodes {
      bounds_in_screen {
        top: 128
        right: 1080
        bottom: 2337
      }
      class_name: "android.widget.FrameLayout"
      depth: 5
    }
    nodes {
      bounds_in_screen {
        top: 128
        right: 1080
        bottom: 2337
      }
      class_name: "android.view.ViewGroup"
      depth: 6
    }
    nodes {
      bounds_in_screen {
        top: 128
        right: 1080
        bottom: 275
      }
      class_name: "android.view.ViewGroup"
      depth: 7
    }
    nodes {
      bounds_in_screen {
        top: 275
        right: 1080
        bottom: 2337
      }
      class_name: "android.view.ViewGroup"
      depth: 7
    }
    nodes {
      bounds_in_screen {
        top: 128
        right: 1080
        bottom: 275
      }
      class_name: "android.view.ViewGroup"
      depth: 8
    }
    nodes {
      bounds_in_screen {
        left: 126
        top: 173
        right: 1059
        bottom: 226
      }
      class_name: "android.view.ViewGroup"
      depth: 8
    }
    nodes {
      bounds_in_screen {
        top: 275
        right: 1080
        bottom: 303
      }
      class_name: "android.widget.LinearLayout"
      depth: 8
    }
    nodes {
      bounds_in_screen {
        top: 303
        right: 1080
        bottom: 2337
      }
      class_name: "android.widget.FrameLayout"
      depth: 8
    }
    nodes {
      bounds_in_screen {
        top: 128
        right: 147
        bottom: 275
      }
      class_name: "android.widget.ImageButton"
      content_description: "Navigate up"
      is_clickable: true
      is_focusable: true
      depth: 9
      tooltip_text: "Navigate up"
    }
    nodes {
      bounds_in_screen {
        left: 1080
        top: 128
        right: 1080
        bottom: 275
      }
      class_name: "androidx.appcompat.widget.LinearLayoutCompat"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 126
        top: 173
        right: 1059
        bottom: 226
      }
      class_name: "android.view.ViewGroup"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        top: 275
        right: 1080
        bottom: 303
      }
      class_name: "android.view.ViewGroup"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        top: 303
        right: 1080
        bottom: 2337
      }
      class_name: "androidx.viewpager.widget.ViewPager"
      is_focusable: true
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 126
        top: 173
        right: 309
        bottom: 226
      }
      class_name: "android.widget.TextView"
      text: "Barnehurst"
      depth: 10
    }
    nodes {
      bounds_in_screen {
        left: 314
        top: 181
        right: 356
        bottom: 223
      }
      class_name: "android.widget.ImageView"
      content_description: "to"
      depth: 10
    }
    nodes {
      bounds_in_screen {
        left: 361
        top: 173
        right: 1059
        bottom: 226
      }
      class_name: "android.widget.TextView"
      text: "Albany Park"
      depth: 10
    }
    nodes {
      bounds_in_screen {
        left: 1066
        top: 289
        right: 1069
        bottom: 289
      }
      class_name: "android.view.View"
      depth: 10
    }
    nodes {
      bounds_in_screen {
        top: 300
        right: 1080
        bottom: 303
      }
      class_name: "android.view.View"
      depth: 10
    }
    nodes {
      bounds_in_screen {
        top: 303
        right: 1080
        bottom: 2337
      }
      class_name: "android.widget.RelativeLayout"
      depth: 10
    }
    nodes {
      bounds_in_screen {
        top: 303
        right: 1080
        bottom: 2337
      }
      class_name: "androidx.recyclerview.widget.RecyclerView"
      is_focusable: true
      is_scrollable: true
      depth: 11
    }
    nodes {
      bounds_in_screen {
        top: 303
        right: 1080
        bottom: 534
      }
      class_name: "android.widget.LinearLayout"
      depth: 12
    }
    nodes {
      bounds_in_screen {
        top: 555
        right: 1080
        bottom: 1007
      }
      class_name: "android.widget.FrameLayout"
      depth: 12
    }
    nodes {
      bounds_in_screen {
        top: 1028
        right: 1080
        bottom: 1480
      }
      class_name: "android.widget.FrameLayout"
      depth: 12
    }
    nodes {
      bounds_in_screen {
        top: 1501
        right: 1080
        bottom: 1953
      }
      class_name: "android.widget.FrameLayout"
      depth: 12
    }
    nodes {
      bounds_in_screen {
        top: 1974
        right: 1080
        bottom: 2337
      }
      class_name: "android.widget.FrameLayout"
      depth: 12
    }
    nodes {
      bounds_in_screen {
        top: 303
        right: 1080
        bottom: 408
      }
      class_name: "android.widget.FrameLayout"
      depth: 13
    }
    nodes {
      bounds_in_screen {
        top: 408
        right: 323
        bottom: 534
      }
      class_name: "android.widget.FrameLayout"
      depth: 13
    }
    nodes {
      bounds_in_screen {
        top: 555
        right: 1080
        bottom: 1007
      }
      class_name: "android.widget.FrameLayout"
      depth: 13
    }
    nodes {
      bounds_in_screen {
        top: 1028
        right: 1080
        bottom: 1480
      }
      class_name: "android.widget.FrameLayout"
      depth: 13
    }
    nodes {
      bounds_in_screen {
        top: 1501
        right: 1080
        bottom: 1953
      }
      class_name: "android.widget.FrameLayout"
      depth: 13
    }
    nodes {
      bounds_in_screen {
        top: 1974
        right: 1080
        bottom: 2337
      }
      class_name: "android.widget.FrameLayout"
      depth: 13
    }
    nodes {
      bounds_in_screen {
        left: 42
        top: 303
        right: 1038
        bottom: 408
      }
      class_name: "android.widget.FrameLayout"
      depth: 14
    }
    nodes {
      bounds_in_screen {
        top: 408
        right: 323
        bottom: 534
      }
      class_name: "android.widget.LinearLayout"
      depth: 14
    }
    nodes {
      bounds_in_screen {
        top: 555
        right: 1080
        bottom: 1007
      }
      class_name: "android.view.ViewGroup"
      depth: 14
    }
    nodes {
      bounds_in_screen {
        top: 1028
        right: 1080
        bottom: 1480
      }
      class_name: "android.view.ViewGroup"
      depth: 14
    }
    nodes {
      bounds_in_screen {
        top: 1501
        right: 1080
        bottom: 1953
      }
      class_name: "android.view.ViewGroup"
      depth: 14
    }
    nodes {
      bounds_in_screen {
        top: 1974
        right: 1080
        bottom: 2337
      }
      class_name: "android.view.ViewGroup"
      depth: 14
    }
    nodes {
      bounds_in_screen {
        left: 42
        top: 332
        right: 252
        bottom: 379
      }
      class_name: "android.view.View"
      depth: 15
    }
    nodes {
      bounds_in_screen {
        left: 880
        top: 332
        right: 1038
        bottom: 379
      }
      class_name: "android.view.View"
      depth: 15
    }
    nodes {
      bounds_in_screen {
        left: 53
        top: 454
        right: 92
        bottom: 488
      }
      class_name: "android.widget.ImageView"
      depth: 15
    }
    nodes {
      bounds_in_screen {
        left: 113
        top: 447
        right: 323
        bottom: 494
      }
      class_name: "android.view.View"
      depth: 15
    }
    nodes {
      bounds_in_screen {
        left: 42
        top: 587
        right: 200
        bottom: 634
      }
      class_name: "android.view.View"
      depth: 15
    }
    nodes {
      bounds_in_screen {
        left: 200
        top: 599
        right: 331
        bottom: 623
      }
      class_name: "android.widget.ImageView"
      depth: 15
    }
    nodes {
      bounds_in_screen {
        left: 331
        top: 587
        right: 489
        bottom: 634
      }
      class_name: "android.view.View"
      depth: 15
    }
    nodes {
      bounds_in_screen {
        left: 890
        top: 587
        right: 1048
        bottom: 634
      }
      class_name: "android.view.View"
      depth: 15
    }
    nodes {
      bounds_in_screen {
        left: 42
        top: 645
        right: 147
        bottom: 692
      }
      class_name: "android.view.View"
      depth: 15
    }
    nodes {
      bounds_in_screen {
        left: 331
        top: 645
        right: 436
        bottom: 692
      }
      class_name: "android.view.View"
      depth: 15
    }
    nodes {
      bounds_in_screen {
        left: 42
        top: 734
        right: 252
        bottom: 781
      }
      class_name: "android.view.View"
      depth: 15
    }
    nodes {
      bounds_in_screen {
        left: 331
        top: 734
        right: 541
        bottom: 781
      }
      class_name: "android.view.View"
      depth: 15
    }
    nodes {
      bounds_in_screen {
        left: 42
        top: 786
        right: 173
        bottom: 833
      }
      class_name: "android.view.View"
      depth: 15
    }
    nodes {
      bounds_in_screen {
        top: 875
        right: 1080
        bottom: 876
      }
      class_name: "android.view.View"
      depth: 15
    }
    nodes {
      bounds_in_screen {
        left: 42
        top: 918
        right: 357
        bottom: 965
      }
      class_name: "android.view.View"
      depth: 15
    }
    nodes {
      bounds_in_screen {
        left: 838
        top: 918
        right: 1048
        bottom: 965
      }
      class_name: "android.view.View"
      depth: 15
    }
    nodes {
      bounds_in_screen {
        left: 42
        top: 1060
        right: 200
        bottom: 1107
      }
      class_name: "android.view.View"
      depth: 15
    }
    nodes {
      bounds_in_screen {
        left: 200
        top: 1072
        right: 331
        bottom: 1096
      }
      class_name: "android.widget.ImageView"
      depth: 15
    }
    nodes {
      bounds_in_screen {
        left: 331
        top: 1060
        right: 489
        bottom: 1107
      }
      class_name: "android.view.View"
      depth: 15
    }
    nodes {
      bounds_in_screen {
        left: 890
        top: 1060
        right: 1048
        bottom: 1107
      }
      class_name: "android.view.View"
      depth: 15
    }
    nodes {
      bounds_in_screen {
        left: 42
        top: 1118
        right: 147
        bottom: 1165
      }
      class_name: "android.view.View"
      depth: 15
    }
    nodes {
      bounds_in_screen {
        left: 331
        top: 1118
        right: 436
        bottom: 1165
      }
      class_name: "android.view.View"
      depth: 15
    }
    nodes {
      bounds_in_screen {
        left: 42
        top: 1207
        right: 252
        bottom: 1254
      }
      class_name: "android.view.View"
      depth: 15
    }
    nodes {
      bounds_in_screen {
        left: 331
        top: 1207
        right: 541
        bottom: 1254
      }
      class_name: "android.view.View"
      depth: 15
    }
    nodes {
      bounds_in_screen {
        left: 42
        top: 1259
        right: 173
        bottom: 1306
      }
      class_name: "android.view.View"
      depth: 15
    }
    nodes {
      bounds_in_screen {
        top: 1348
        right: 1080
        bottom: 1349
      }
      class_name: "android.view.View"
      depth: 15
    }
    nodes {
      bounds_in_screen {
        left: 42
        top: 1391
        right: 357
        bottom: 1438
      }
      class_name: "android.view.View"
      depth: 15
    }
    nodes {
      bounds_in_screen {
        left: 838
        top: 1391
        right: 1048
        bottom: 1438
      }
      class_name: "android.view.View"
      depth: 15
    }
    nodes {
      bounds_in_screen {
        left: 42
        top: 1533
        right: 200
        bottom: 1580
      }
      class_name: "android.view.View"
      depth: 15
    }
    nodes {
      bounds_in_screen {
        left: 200
        top: 1545
        right: 331
        bottom: 1569
      }
      class_name: "android.widget.ImageView"
      depth: 15
    }
    nodes {
      bounds_in_screen {
        left: 331
        top: 1533
        right: 489
        bottom: 1580
      }
      class_name: "android.view.View"
      depth: 15
    }
    nodes {
      bounds_in_screen {
        left: 890
        top: 1533
        right: 1048
        bottom: 1580
      }
      class_name: "android.view.View"
      depth: 15
    }
    nodes {
      bounds_in_screen {
        left: 42
        top: 1591
        right: 147
        bottom: 1638
      }
      class_name: "android.view.View"
      depth: 15
    }
    nodes {
      bounds_in_screen {
        left: 331
        top: 1591
        right: 436
        bottom: 1638
      }
      class_name: "android.view.View"
      depth: 15
    }
    nodes {
      bounds_in_screen {
        left: 42
        top: 1680
        right: 252
        bottom: 1727
      }
      class_name: "android.view.View"
      depth: 15
    }
    nodes {
      bounds_in_screen {
        left: 331
        top: 1680
        right: 541
        bottom: 1727
      }
      class_name: "android.view.View"
      depth: 15
    }
    nodes {
      bounds_in_screen {
        left: 42
        top: 1732
        right: 173
        bottom: 1779
      }
      class_name: "android.view.View"
      depth: 15
    }
    nodes {
      bounds_in_screen {
        top: 1821
        right: 1080
        bottom: 1822
      }
      class_name: "android.view.View"
      depth: 15
    }
    nodes {
      bounds_in_screen {
        left: 42
        top: 1864
        right: 357
        bottom: 1911
      }
      class_name: "android.view.View"
      depth: 15
    }
    nodes {
      bounds_in_screen {
        left: 838
        top: 1864
        right: 1048
        bottom: 1911
      }
      class_name: "android.view.View"
      depth: 15
    }
    nodes {
      bounds_in_screen {
        left: 42
        top: 2006
        right: 200
        bottom: 2053
      }
      class_name: "android.view.View"
      depth: 15
    }
    nodes {
      bounds_in_screen {
        left: 200
        top: 2018
        right: 331
        bottom: 2042
      }
      class_name: "android.widget.ImageView"
      depth: 15
    }
    nodes {
      bounds_in_screen {
        left: 331
        top: 2006
        right: 489
        bottom: 2053
      }
      class_name: "android.view.View"
      depth: 15
    }
    nodes {
      bounds_in_screen {
        left: 890
        top: 2006
        right: 1048
        bottom: 2053
      }
      class_name: "android.view.View"
      depth: 15
    }
    nodes {
      bounds_in_screen {
        left: 42
        top: 2064
        right: 147
        bottom: 2111
      }
      class_name: "android.view.View"
      depth: 15
    }
    nodes {
      bounds_in_screen {
        left: 331
        top: 2064
        right: 436
        bottom: 2111
      }
      class_name: "android.view.View"
      depth: 15
    }
    nodes {
      bounds_in_screen {
        left: 42
        top: 2153
        right: 252
        bottom: 2200
      }
      class_name: "android.view.View"
      depth: 15
    }
    nodes {
      bounds_in_screen {
        left: 331
        top: 2153
        right: 541
        bottom: 2200
      }
      class_name: "android.view.View"
      depth: 15
    }
    nodes {
      bounds_in_screen {
        left: 42
        top: 2205
        right: 173
        bottom: 2252
      }
      class_name: "android.view.View"
      depth: 15
    }
    nodes {
      bounds_in_screen {
        top: 2294
        right: 1080
        bottom: 2295
      }
      class_name: "android.view.View"
      depth: 15
    }
    nodes {
      bounds_in_screen {
        left: 42
        top: 2337
        right: 357
        bottom: 2337
      }
      class_name: "android.view.View"
      depth: 15
    }
    nodes {
      bounds_in_screen {
        left: 838
        top: 2337
        right: 1048
        bottom: 2337
      }
      class_name: "android.view.View"
      depth: 15
    }
  }
}

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