instruction
In the Trainline app, I need to look up the train schedules from London to Bristol for November 15, 2023 and return on November 18, 2023  , since I would like to explore new places.
previous_actions
{"name": "open_app", "parameters": {"app_name": "Trainline"}}
{"name": "click", "parameters": {"x": 518, "y": 346}}
{"name": "wait", "parameters": {}}
{"name": "input_text", "parameters": {"text": "London"}}
{"name": "click", "parameters": {"x": 494, "y": 555}}
{"name": "input_text", "parameters": {"text": "Bristol"}}
active_application
Trainline
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: 439
        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: 47
        top: 1
        right: 439
        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: 47
        top: 1
        right: 149
        bottom: 136
      }
      class_name: "android.widget.TextView"
      content_description: "10:11 AM"
      text: "10:11"
      depth: 7
    }
    nodes {
      bounds_in_screen {
        left: 149
        top: 1
        right: 439
        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: 149
        top: 1
        right: 439
        bottom: 136
      }
      class_name: "android.view.ViewGroup"
      depth: 8
    }
    nodes {
      bounds_in_screen {
        left: 924
        top: 39
        right: 970
        bottom: 97
      }
      class_name: "android.widget.FrameLayout"
      content_description: "Wifi signal full."
      depth: 8
    }
    nodes {
      bounds_in_screen {
        left: 986
        top: 51
        right: 1006
        bottom: 85
      }
      class_name: "android.widget.ImageView"
      depth: 8
    }
    nodes {
      bounds_in_screen {
        left: 149
        top: 1
        right: 207
        bottom: 136
      }
      class_name: "android.widget.ImageView"
      content_description: "YouTube notification: manish sahu"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 207
        top: 1
        right: 265
        bottom: 136
      }
      class_name: "android.widget.ImageView"
      content_description: "YouTube notification: Bozdağ Film"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 265
        top: 1
        right: 323
        bottom: 136
      }
      class_name: "android.widget.ImageView"
      content_description: "YouTube notification: Bozdağ Film"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 323
        top: 1
        right: 381
        bottom: 136
      }
      class_name: "android.widget.ImageView"
      content_description: "Weather&Radar notification: "
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 381
        top: 1
        right: 439
        bottom: 136
      }
      class_name: "android.widget.ImageView"
      content_description: "AccuWeather notification: "
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 399
        top: 1
        right: 439
        bottom: 136
      }
      class_name: "android.widget.ImageView"
      content_description: "ShopClues notification: "
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 399
        top: 1
        right: 439
        bottom: 136
      }
      class_name: "android.widget.ImageView"
      content_description: "YouTube notification: Kuruluş Osman 135.Bölüm 2. Fragmanı | Yunus Emre Boran Alp\'i Kurtarıyor!"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 399
        top: 1
        right: 439
        bottom: 136
      }
      class_name: "android.widget.ImageView"
      content_description: "ShopClues notification: Wireless Earbuds @ ₹299 | Extra 10% OFF | Lowest Price Ever 😲"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 399
        top: 1
        right: 439
        bottom: 136
      }
      class_name: "android.widget.ImageView"
      content_description: "Gmail notification: 8 new messages"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 399
        top: 1
        right: 439
        bottom: 136
      }
      class_name: "android.widget.ImageView"
      content_description: "ShopClues notification: Don\'t miss this OPPO-rtunity👇"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 399
        top: 1
        right: 439
        bottom: 136
      }
      class_name: "android.widget.ImageView"
      content_description: "ShopClues notification: ⚡Charge 3 gadgets at once😲"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 399
        top: 1
        right: 439
        bottom: 136
      }
      class_name: "android.widget.ImageView"
      content_description: "ShopClues notification: Complete your Diwali look 👇\n"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 399
        top: 1
        right: 439
        bottom: 136
      }
      class_name: "android.widget.ImageView"
      content_description: "Gmail notification: 12 new messages"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 399
        top: 1
        right: 439
        bottom: 136
      }
      class_name: "android.widget.ImageView"
      content_description: "ShopClues notification: MONDAY = 🥱 🥱 🥱 🥱"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 399
        top: 1
        right: 439
        bottom: 136
      }
      class_name: "android.widget.ImageView"
      content_description: "Immobiliare.it notification: 1 nuovo annuncio ⚡"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 399
        top: 1
        right: 439
        bottom: 136
      }
      class_name: "android.widget.ImageView"
      content_description: "ShopClues notification: 💡LED Light Lao, Khoob Paise Bachao!🤑"
      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: 2624
  title: "Trainline"
  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.LinearLayout"
      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: "android.widget.LinearLayout"
      depth: 5
    }
    nodes {
      bounds_in_screen {
        right: 1080
        bottom: 2190
      }
      class_name: "android.widget.FrameLayout"
      depth: 6
    }
    nodes {
      bounds_in_screen {
        top: 2190
        right: 1080
        bottom: 2337
      }
      class_name: "android.widget.FrameLayout"
      depth: 6
    }
    nodes {
      bounds_in_screen {
        right: 1080
        bottom: 2190
      }
      class_name: "android.widget.LinearLayout"
      depth: 7
    }
    nodes {
      bounds_in_screen {
        top: 2190
        right: 1080
        bottom: 2337
      }
      class_name: "android.view.ViewGroup"
      depth: 7
    }
    nodes {
      bounds_in_screen {
        right: 1080
        bottom: 2190
      }
      class_name: "android.view.ViewGroup"
      depth: 8
    }
    nodes {
      bounds_in_screen {
        top: 2190
        right: 360
        bottom: 2337
      }
      class_name: "android.widget.FrameLayout"
      content_description: "Search"
      is_focusable: true
      is_selected: true
      depth: 8
      tooltip_text: "Search"
    }
    nodes {
      bounds_in_screen {
        left: 360
        top: 2190
        right: 720
        bottom: 2337
      }
      class_name: "android.widget.FrameLayout"
      content_description: "My Tickets"
      is_clickable: true
      is_focusable: true
      depth: 8
      tooltip_text: "My Tickets"
    }
    nodes {
      bounds_in_screen {
        left: 720
        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: 667
      }
      class_name: "android.widget.LinearLayout"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        top: 667
        right: 1080
        bottom: 2190
      }
      class_name: "android.widget.ScrollView"
      is_focusable: true
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 42
        top: 1285
        right: 1038
        bottom: 1401
      }
      class_name: "android.widget.Button"
      text: "Find times and prices"
      is_clickable: true
      is_focusable: true
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 148
        top: 2209
        right: 211
        bottom: 2272
      }
      class_name: "android.widget.ImageView"
      is_selected: true
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 129
        top: 2275
        right: 231
        bottom: 2337
      }
      class_name: "android.view.ViewGroup"
      is_selected: true
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 508
        top: 2211
        right: 571
        bottom: 2274
      }
      class_name: "android.widget.ImageView"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 461
        top: 2275
        right: 618
        bottom: 2337
      }
      class_name: "android.view.ViewGroup"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 868
        top: 2211
        right: 931
        bottom: 2274
      }
      class_name: "android.widget.ImageView"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 839
        top: 2275
        right: 961
        bottom: 2337
      }
      class_name: "android.view.ViewGroup"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        top: 136
        right: 1080
        bottom: 667
      }
      class_name: "android.widget.FrameLayout"
      depth: 10
    }
    nodes {
      bounds_in_screen {
        top: 667
        right: 1080
        bottom: 1797
      }
      class_name: "android.widget.LinearLayout"
      depth: 10
    }
    nodes {
      bounds_in_screen {
        left: 129
        top: 2275
        right: 231
        bottom: 2321
      }
      class_name: "android.widget.TextView"
      text: "Search"
      is_selected: true
      depth: 10
    }
    nodes {
      bounds_in_screen {
        left: 465
        top: 2277
        right: 614
        bottom: 2320
      }
      class_name: "android.widget.TextView"
      text: "My Tickets"
      depth: 10
    }
    nodes {
      bounds_in_screen {
        left: 842
        top: 2277
        right: 957
        bottom: 2320
      }
      class_name: "android.widget.TextView"
      text: "Account"
      depth: 10
    }
    nodes {
      bounds_in_screen {
        top: 136
        right: 1080
        bottom: 667
      }
      class_name: "android.widget.LinearLayout"
      depth: 11
    }
    nodes {
      bounds_in_screen {
        top: 667
        right: 1080
        bottom: 1256
      }
      class_name: "android.widget.LinearLayout"
      depth: 11
    }
    nodes {
      bounds_in_screen {
        top: 1440
        right: 1080
        bottom: 1734
      }
      class_name: "android.view.ViewGroup"
      depth: 11
    }
    nodes {
      bounds_in_screen {
        top: 1734
        bottom: 1734
      }
      class_name: "androidx.compose.ui.platform.ComposeView"
      depth: 11
    }
    nodes {
      bounds_in_screen {
        top: 136
        right: 1080
        bottom: 283
      }
      class_name: "android.widget.RelativeLayout"
      depth: 12
    }
    nodes {
      bounds_in_screen {
        top: 283
        right: 1080
        bottom: 667
      }
      class_name: "android.view.ViewGroup"
      depth: 12
    }
    nodes {
      bounds_in_screen {
        top: 667
        right: 1080
        bottom: 1018
      }
      class_name: "android.widget.LinearLayout"
      depth: 12
    }
    nodes {
      bounds_in_screen {
        top: 1018
        right: 1080
        bottom: 1021
      }
      class_name: "android.view.View"
      depth: 12
    }
    nodes {
      bounds_in_screen {
        top: 1021
        right: 1080
        bottom: 1137
      }
      class_name: "android.widget.LinearLayout"
      is_clickable: true
      is_focusable: true
      depth: 12
    }
    nodes {
      bounds_in_screen {
        top: 1137
        right: 1080
        bottom: 1256
      }
      class_name: "android.widget.LinearLayout"
      depth: 12
    }
    nodes {
      bounds_in_screen {
        top: 1440
        right: 1080
        bottom: 1692
      }
      class_name: "androidx.viewpager.widget.ViewPager"
      depth: 12
    }
    nodes {
      bounds_in_screen {
        top: 1734
        bottom: 1734
      }
      class_name: "android.view.View"
      depth: 12
    }
    nodes {
      bounds_in_screen {
        top: 178
        right: 1080
        bottom: 231
      }
      class_name: "android.widget.TextView"
      text: "Live times & tickets"
      depth: 13
    }
    nodes {
      bounds_in_screen {
        left: 21
        top: 161
        right: 118
        bottom: 258
      }
      class_name: "android.widget.ImageButton"
      content_description: "Help and feedback"
      is_clickable: true
      is_focusable: true
      depth: 13
    }
    nodes {
      bounds_in_screen {
        left: 42
        top: 283
        right: 996
        bottom: 409
      }
      class_name: "android.widget.TextView"
      hint_text: "Departure station"
      text: "London (Any)"
      is_clickable: true
      is_focusable: true
      depth: 13
    }
    nodes {
      bounds_in_screen {
        left: 81
        top: 325
        right: 157
        bottom: 368
      }
      class_name: "android.widget.TextView"
      text: "from:"
      depth: 13
    }
    nodes {
      bounds_in_screen {
        left: 42
        top: 430
        right: 996
        bottom: 556
      }
      class_name: "android.widget.TextView"
      hint_text: "Destination station"
      text: "Bristol Parkway"
      is_clickable: true
      is_focusable: true
      depth: 13
    }
    nodes {
      bounds_in_screen {
        left: 944
        top: 367
        right: 1049
        bottom: 472
      }
      class_name: "android.widget.ImageView"
      content_description: "Swap station button"
      is_clickable: true
      is_focusable: true
      depth: 13
    }
    nodes {
      bounds_in_screen {
        left: 121
        top: 472
        right: 157
        bottom: 515
      }
      class_name: "android.widget.TextView"
      text: "to:"
      depth: 13
    }
    nodes {
      bounds_in_screen {
        top: 556
        right: 1080
        bottom: 556
      }
      class_name: "androidx.recyclerview.widget.RecyclerView"
      content_description: "Recent searches"
      is_focusable: true
      depth: 13
    }
    nodes {
      bounds_in_screen {
        top: 556
        right: 1080
        bottom: 667
      }
      class_name: "android.view.ViewGroup"
      depth: 13
    }
    nodes {
      bounds_in_screen {
        left: 53
        top: 667
        right: 1027
        bottom: 882
      }
      class_name: "android.widget.LinearLayout"
      depth: 13
    }
    nodes {
      bounds_in_screen {
        top: 882
        right: 1080
        bottom: 1018
      }
      class_name: "android.view.ViewGroup"
      is_clickable: true
      is_focusable: true
      depth: 13
    }
    nodes {
      bounds_in_screen {
        left: 63
        top: 1021
        right: 105
        bottom: 1105
      }
      class_name: "android.widget.ImageView"
      depth: 13
    }
    nodes {
      bounds_in_screen {
        left: 915
        top: 1021
        right: 1035
        bottom: 1137
      }
      class_name: "android.widget.LinearLayout"
      depth: 13
    }
    nodes {
      bounds_in_screen {
        top: 1137
        right: 1080
        bottom: 1140
      }
      class_name: "android.view.View"
      depth: 13
    }
    nodes {
      bounds_in_screen {
        top: 1140
        right: 1080
        bottom: 1256
      }
      class_name: "android.widget.LinearLayout"
      is_clickable: true
      is_focusable: true
      depth: 13
    }
    nodes {
      bounds_in_screen {
        top: 1256
        right: 1080
        bottom: 1256
      }
      class_name: "android.widget.LinearLayout"
      depth: 13
    }
    nodes {
      bounds_in_screen {
        left: 42
        top: 1440
        right: 1038
        bottom: 1692
      }
      class_name: "androidx.recyclerview.widget.RecyclerView"
      is_focusable: true
      depth: 13
    }
    nodes {
      bounds_in_screen {
        top: 556
        right: 540
        bottom: 667
      }
      class_name: "android.widget.TextView"
      text: "Via / Avoid"
      is_clickable: true
      is_focusable: true
      depth: 14
    }
    nodes {
      bounds_in_screen {
        left: 53
        top: 667
        right: 296
        bottom: 882
      }
      class_name: "android.widget.Button"
      text: "Single"
      is_clickable: true
      is_focusable: true
      is_selected: true
      depth: 14
    }
    nodes {
      bounds_in_screen {
        left: 296
        top: 667
        right: 539
        bottom: 882
      }
      class_name: "android.widget.Button"
      text: "Return"
      is_clickable: true
      is_focusable: true
      depth: 14
    }
    nodes {
      bounds_in_screen {
        left: 539
        top: 667
        right: 783
        bottom: 882
      }
      class_name: "android.widget.Button"
      text: "Open return"
      is_clickable: true
      is_focusable: true
      depth: 14
    }
    nodes {
      bounds_in_screen {
        left: 783
        top: 667
        right: 1027
        bottom: 882
      }
      class_name: "android.widget.Button"
      text: "Flexi & Seasons"
      is_clickable: true
      is_focusable: true
      depth: 14
    }
    nodes {
      bounds_in_screen {
        left: 63
        top: 925
        right: 819
        bottom: 976
      }
      class_name: "android.widget.TextView"
      text: "Outbound"
      depth: 14
    }
    nodes {
      bounds_in_screen {
        left: 819
        top: 925
        right: 1035
        bottom: 976
      }
      class_name: "android.view.ViewGroup"
      depth: 14
    }
    nodes {
      bounds_in_screen {
        left: 915
        top: 1021
        right: 1035
        bottom: 1137
      }
      class_name: "android.widget.TextView"
      text: "Ffion"
      depth: 14
    }
    nodes {
      bounds_in_screen {
        left: 63
        top: 1166
        right: 126
        bottom: 1229
      }
      class_name: "android.widget.ImageView"
      depth: 14
    }
    nodes {
      bounds_in_screen {
        left: 795
        top: 1172
        right: 1035
        bottom: 1223
      }
      class_name: "android.widget.TextView"
      text: "No Railcards"
      depth: 14
    }
    nodes {
      bounds_in_screen {
        left: 42
        top: 1440
        right: 1038
        bottom: 1692
      }
      class_name: "android.widget.FrameLayout"
      depth: 14
    }
    nodes {
      bounds_in_screen {
        left: 819
        top: 925
        right: 995
        bottom: 976
      }
      class_name: "android.widget.TextView"
      text: "Today, now"
      depth: 15
    }
    nodes {
      bounds_in_screen {
        left: 995
        top: 939
        right: 1035
        bottom: 963
      }
      class_name: "android.widget.ImageView"
      depth: 15
    }
    nodes {
      bounds_in_screen {
        left: 42
        top: 1440
        right: 1038
        bottom: 1692
      }
      class_name: "android.view.ViewGroup"
      content_description: "More ways to pay"
      depth: 15
    }
    nodes {
      bounds_in_screen {
        left: 84
        top: 1474
        right: 257
        bottom: 1658
      }
      class_name: "android.widget.FrameLayout"
      depth: 16
    }
    nodes {
      bounds_in_screen {
        left: 257
        top: 1482
        right: 996
        bottom: 1535
      }
      class_name: "android.widget.TextView"
      text: "More ways to pay"
      depth: 16
    }
    nodes {
      bounds_in_screen {
        left: 257
        top: 1546
        right: 996
        bottom: 1650
      }
      class_name: "android.widget.TextView"
      text: "Pay with PayPal, Payment Cards and Google Pay"
      depth: 16
    }
    nodes {
      bounds_in_screen {
        left: 84
        top: 1474
        right: 215
        bottom: 1658
      }
      class_name: "android.widget.ImageView"
      depth: 17
    }
  }
}

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