instruction
When I finish a lesson, I want to review my progress on Duolingo since it will inspire me.
previous_actions
{"name": "click", "parameters": {"x": 540, "y": 2226}}
active_application
Duolingo
screen_description
windows {
  bounds_in_screen {
    right: 1080
    bottom: 128
  }
  id: 8
  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: 252
        bottom: 128
      }
      class_name: "android.widget.FrameLayout"
      depth: 5
    }
    nodes {
      bounds_in_screen {
        left: 865
        top: 1
        right: 1006
        bottom: 128
      }
      class_name: "android.widget.LinearLayout"
      depth: 5
    }
    nodes {
      bounds_in_screen {
        left: 50
        top: 1
        right: 252
        bottom: 128
      }
      class_name: "android.widget.LinearLayout"
      depth: 6
    }
    nodes {
      bounds_in_screen {
        left: 865
        top: 1
        right: 1006
        bottom: 128
      }
      class_name: "android.widget.LinearLayout"
      depth: 6
    }
    nodes {
      bounds_in_screen {
        left: 50
        top: 1
        right: 136
        bottom: 128
      }
      class_name: "android.widget.TextView"
      content_description: "9:37 AM"
      text: "9:37"
      depth: 7
    }
    nodes {
      bounds_in_screen {
        left: 136
        top: 1
        right: 252
        bottom: 128
      }
      class_name: "android.widget.FrameLayout"
      depth: 7
    }
    nodes {
      bounds_in_screen {
        left: 865
        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: 136
        top: 1
        right: 252
        bottom: 128
      }
      class_name: "android.view.ViewGroup"
      depth: 8
    }
    nodes {
      bounds_in_screen {
        left: 865
        top: 35
        right: 911
        bottom: 93
      }
      class_name: "android.widget.FrameLayout"
      content_description: "Wifi signal full."
      depth: 8
    }
    nodes {
      bounds_in_screen {
        left: 911
        top: 35
        right: 970
        bottom: 93
      }
      class_name: "android.widget.ImageView"
      content_description: "Hotspot"
      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: 136
        top: 1
        right: 194
        bottom: 128
      }
      class_name: "android.widget.ImageView"
      content_description: "Weather notification: 33°"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 194
        top: 1
        right: 252
        bottom: 128
      }
      class_name: "android.widget.ImageView"
      content_description: "AccuWeather notification: "
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 872
        top: 35
        right: 911
        bottom: 93
      }
      class_name: "android.widget.LinearLayout"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 872
        top: 44
        right: 911
        bottom: 83
      }
      class_name: "android.widget.FrameLayout"
      depth: 10
    }
    nodes {
      bounds_in_screen {
        left: 872
        top: 44
        right: 911
        bottom: 83
      }
      class_name: "android.widget.ImageView"
      depth: 11
    }
  }
}
windows {
  bounds_in_screen {
    right: 1080
    bottom: 2400
  }
  id: 7301
  title: "Duolingo"
  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: 2337
        right: 1080
        bottom: 2400
      }
      class_name: "android.view.View"
      depth: 1
    }
    nodes {
      bounds_in_screen {
        right: 1080
        bottom: 2400
      }
      class_name: "android.widget.FrameLayout"
      depth: 2
    }
    nodes {
      bounds_in_screen {
        right: 1080
        bottom: 2400
      }
      class_name: "android.widget.LinearLayout"
      depth: 3
    }
    nodes {
      bounds_in_screen {
        right: 1080
        bottom: 2400
      }
      class_name: "android.widget.FrameLayout"
      depth: 4
    }
    nodes {
      bounds_in_screen {
        right: 1080
        bottom: 2400
      }
      class_name: "android.widget.FrameLayout"
      depth: 5
    }
    nodes {
      bounds_in_screen {
        right: 1080
        bottom: 2400
      }
      class_name: "android.widget.FrameLayout"
      depth: 6
    }
    nodes {
      bounds_in_screen {
        right: 1080
        bottom: 2400
      }
      class_name: "android.widget.FrameLayout"
      depth: 6
    }
    nodes {
      bounds_in_screen {
        right: 1080
        bottom: 2337
      }
      class_name: "android.view.ViewGroup"
      depth: 7
    }
    nodes {
      bounds_in_screen {
        right: 1080
        bottom: 2337
      }
      class_name: "android.widget.FrameLayout"
      depth: 8
    }
    nodes {
      bounds_in_screen {
        right: 1080
        bottom: 128
      }
      class_name: "android.view.View"
      depth: 8
    }
    nodes {
      bounds_in_screen {
        top: 128
        right: 1080
        bottom: 2337
      }
      class_name: "android.view.View"
      depth: 8
    }
    nodes {
      bounds_in_screen {
        top: 128
        right: 1080
        bottom: 2111
      }
      class_name: "android.widget.FrameLayout"
      depth: 8
    }
    nodes {
      bounds_in_screen {
        top: 2111
        right: 1080
        bottom: 2337
      }
      class_name: "android.widget.FrameLayout"
      depth: 8
    }
    nodes {
      bounds_in_screen {
        top: 128
        right: 1080
        bottom: 2111
      }
      class_name: "android.widget.FrameLayout"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        top: 2111
        right: 1080
        bottom: 2337
      }
      class_name: "android.view.ViewGroup"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        top: 128
        right: 1080
        bottom: 2111
      }
      class_name: "androidx.recyclerview.widget.RecyclerView"
      is_focusable: true
      is_scrollable: true
      depth: 10
    }
    nodes {
      bounds_in_screen {
        top: 128
        right: 1080
        bottom: 2111
      }
      class_name: "android.widget.FrameLayout"
      depth: 10
    }
    nodes {
      bounds_in_screen {
        top: 2111
        right: 1080
        bottom: 2116
      }
      class_name: "android.view.View"
      depth: 10
    }
    nodes {
      bounds_in_screen {
        left: 75
        top: 2164
        right: 201
        bottom: 2290
      }
      class_name: "android.view.ViewGroup"
      content_description: "Learn Tab"
      is_clickable: true
      is_focusable: true
      depth: 10
    }
    nodes {
      bounds_in_screen {
        left: 276
        top: 2164
        right: 402
        bottom: 2290
      }
      class_name: "android.view.ViewGroup"
      content_description: "Leagues Tab"
      is_clickable: true
      is_focusable: true
      depth: 10
    }
    nodes {
      bounds_in_screen {
        left: 477
        top: 2164
        right: 603
        bottom: 2290
      }
      class_name: "android.view.ViewGroup"
      content_description: "Profile Tab"
      is_clickable: true
      is_focusable: true
      depth: 10
    }
    nodes {
      bounds_in_screen {
        left: 678
        top: 2164
        right: 804
        bottom: 2290
      }
      class_name: "android.view.ViewGroup"
      content_description: "Goals Tab"
      is_clickable: true
      is_focusable: true
      depth: 10
    }
    nodes {
      bounds_in_screen {
        left: 879
        top: 2164
        right: 1005
        bottom: 2290
      }
      class_name: "android.view.ViewGroup"
      content_description: "News Tab"
      is_clickable: true
      is_focusable: true
      depth: 10
    }
    nodes {
      bounds_in_screen {
        top: 128
        right: 1080
        bottom: 179
      }
      class_name: "android.view.ViewGroup"
      depth: 11
    }
    nodes {
      bounds_in_screen {
        top: 179
        right: 1080
        bottom: 527
      }
      class_name: "android.view.ViewGroup"
      depth: 11
    }
    nodes {
      bounds_in_screen {
        left: 42
        top: 569
        right: 1038
        bottom: 1064
      }
      class_name: "android.widget.LinearLayout"
      depth: 11
    }
    nodes {
      bounds_in_screen {
        top: 1064
        right: 1080
        bottom: 2111
      }
      class_name: "android.widget.ScrollView"
      is_focusable: true
      depth: 11
    }
    nodes {
      bounds_in_screen {
        left: 88
        top: 2177
        right: 188
        bottom: 2277
      }
      class_name: "android.widget.ImageView"
      depth: 11
    }
    nodes {
      bounds_in_screen {
        left: 289
        top: 2177
        right: 389
        bottom: 2277
      }
      class_name: "android.widget.ImageView"
      depth: 11
    }
    nodes {
      bounds_in_screen {
        left: 477
        top: 2164
        right: 603
        bottom: 2290
      }
      class_name: "android.widget.ImageView"
      depth: 11
    }
    nodes {
      bounds_in_screen {
        left: 490
        top: 2177
        right: 590
        bottom: 2277
      }
      class_name: "android.widget.ImageView"
      depth: 11
    }
    nodes {
      bounds_in_screen {
        left: 691
        top: 2177
        right: 791
        bottom: 2277
      }
      class_name: "android.widget.ImageView"
      depth: 11
    }
    nodes {
      bounds_in_screen {
        left: 892
        top: 2177
        right: 992
        bottom: 2277
      }
      class_name: "android.widget.ImageView"
      depth: 11
    }
    nodes {
      bounds_in_screen {
        left: 42
        top: 128
        right: 315
        bottom: 137
      }
      class_name: "android.widget.TextView"
      text: "Statistics"
      depth: 12
    }
    nodes {
      bounds_in_screen {
        left: 42
        top: 179
        right: 524
        bottom: 337
      }
      class_name: "android.widget.LinearLayout"
      is_clickable: true
      is_focusable: true
      depth: 12
    }
    nodes {
      bounds_in_screen {
        left: 556
        top: 179
        right: 1038
        bottom: 337
      }
      class_name: "android.widget.LinearLayout"
      depth: 12
    }
    nodes {
      bounds_in_screen {
        left: 42
        top: 369
        right: 524
        bottom: 527
      }
      class_name: "android.widget.LinearLayout"
      depth: 12
    }
    nodes {
      bounds_in_screen {
        left: 556
        top: 369
        right: 1038
        bottom: 527
      }
      class_name: "android.widget.LinearLayout"
      depth: 12
    }
    nodes {
      bounds_in_screen {
        left: 42
        top: 569
        right: 1038
        bottom: 1064
      }
      class_name: "android.view.ViewGroup"
      depth: 12
    }
    nodes {
      bounds_in_screen {
        left: 42
        top: 1064
        right: 1038
        bottom: 2111
      }
      class_name: "android.widget.LinearLayout"
      depth: 12
    }
    nodes {
      bounds_in_screen {
        left: 42
        top: 179
        right: 524
        bottom: 337
      }
      class_name: "android.view.ViewGroup"
      depth: 13
    }
    nodes {
      bounds_in_screen {
        left: 556
        top: 179
        right: 1038
        bottom: 337
      }
      class_name: "android.view.ViewGroup"
      depth: 13
    }
    nodes {
      bounds_in_screen {
        left: 42
        top: 369
        right: 524
        bottom: 527
      }
      class_name: "android.view.ViewGroup"
      depth: 13
    }
    nodes {
      bounds_in_screen {
        left: 556
        top: 369
        right: 1038
        bottom: 527
      }
      class_name: "android.view.ViewGroup"
      depth: 13
    }
    nodes {
      bounds_in_screen {
        left: 84
        top: 622
        right: 283
        bottom: 821
      }
      class_name: "android.widget.ImageView"
      depth: 13
    }
    nodes {
      bounds_in_screen {
        left: 325
        top: 611
        right: 866
        bottom: 674
      }
      class_name: "android.widget.TextView"
      text: "Find friends on Duolingo"
      depth: 13
    }
    nodes {
      bounds_in_screen {
        left: 325
        top: 703
        right: 1038
        bottom: 814
      }
      class_name: "android.widget.TextView"
      text: "Sync your contacts to easily find people you know on Duolingo."
      depth: 13
    }
    nodes {
      bounds_in_screen {
        left: 84
        top: 863
        right: 996
        bottom: 1001
      }
      class_name: "android.widget.TextView"
      text: "SYNC CONTACTS"
      is_clickable: true
      is_focusable: true
      depth: 13
    }
    nodes {
      bounds_in_screen {
        left: 42
        top: 1106
        right: 996
        bottom: 1184
      }
      class_name: "android.widget.TextView"
      text: "Achievements"
      depth: 13
    }
    nodes {
      bounds_in_screen {
        left: 42
        top: 1226
        right: 1038
        bottom: 2111
      }
      class_name: "android.widget.LinearLayout"
      depth: 13
    }
    nodes {
      bounds_in_screen {
        left: 84
        top: 205
        right: 131
        bottom: 258
      }
      class_name: "android.widget.ImageView"
      depth: 14
    }
    nodes {
      bounds_in_screen {
        left: 152
        top: 205
        right: 503
        bottom: 258
      }
      class_name: "android.widget.TextView"
      text: "2"
      depth: 14
    }
    nodes {
      bounds_in_screen {
        left: 152
        top: 258
        right: 503
        bottom: 311
      }
      class_name: "android.widget.TextView"
      text: "Day streak"
      depth: 14
    }
    nodes {
      bounds_in_screen {
        left: 598
        top: 205
        right: 645
        bottom: 258
      }
      class_name: "android.widget.ImageView"
      depth: 14
    }
    nodes {
      bounds_in_screen {
        left: 666
        top: 205
        right: 1017
        bottom: 258
      }
      class_name: "android.widget.TextView"
      text: "27"
      depth: 14
    }
    nodes {
      bounds_in_screen {
        left: 666
        top: 258
        right: 1017
        bottom: 311
      }
      class_name: "android.widget.TextView"
      text: "Total XP"
      depth: 14
    }
    nodes {
      bounds_in_screen {
        left: 84
        top: 395
        right: 131
        bottom: 448
      }
      class_name: "android.widget.ImageView"
      depth: 14
    }
    nodes {
      bounds_in_screen {
        left: 152
        top: 395
        right: 503
        bottom: 448
      }
      class_name: "android.widget.TextView"
      text: "No Current"
      depth: 14
    }
    nodes {
      bounds_in_screen {
        left: 152
        top: 448
        right: 503
        bottom: 501
      }
      class_name: "android.widget.TextView"
      text: "Current league"
      depth: 14
    }
    nodes {
      bounds_in_screen {
        left: 598
        top: 395
        right: 645
        bottom: 448
      }
      class_name: "android.widget.ImageView"
      depth: 14
    }
    nodes {
      bounds_in_screen {
        left: 666
        top: 395
        right: 1017
        bottom: 448
      }
      class_name: "android.widget.TextView"
      text: "0"
      depth: 14
    }
    nodes {
      bounds_in_screen {
        left: 666
        top: 448
        right: 1017
        bottom: 501
      }
      class_name: "android.widget.TextView"
      text: "Top 3 finishes"
      depth: 14
    }
    nodes {
      bounds_in_screen {
        left: 42
        top: 1226
        right: 1038
        bottom: 2111
      }
      class_name: "androidx.recyclerview.widget.RecyclerView"
      is_focusable: true
      depth: 14
    }
    nodes {
      bounds_in_screen {
        left: 42
        top: 2415
        right: 1038
        bottom: 2111
      }
      class_name: "android.view.ViewGroup"
      is_clickable: true
      is_focusable: true
      depth: 14
    }
    nodes {
      bounds_in_screen {
        left: 42
        top: 1226
        right: 1038
        bottom: 1624
      }
      class_name: "android.view.ViewGroup"
      depth: 15
    }
    nodes {
      bounds_in_screen {
        left: 42
        top: 1624
        right: 1038
        bottom: 2022
      }
      class_name: "android.view.ViewGroup"
      depth: 15
    }
    nodes {
      bounds_in_screen {
        left: 42
        top: 2022
        right: 1038
        bottom: 2111
      }
      class_name: "android.view.ViewGroup"
      depth: 15
    }
    nodes {
      bounds_in_screen {
        left: 42
        top: 2415
        right: 1038
        bottom: 2111
      }
      class_name: "android.view.View"
      depth: 15
    }
    nodes {
      bounds_in_screen {
        left: 84
        top: 2462
        right: 954
        bottom: 2111
      }
      class_name: "android.widget.TextView"
      text: "View 11 more"
      depth: 15
    }
    nodes {
      bounds_in_screen {
        left: 954
        top: 2476
        right: 996
        bottom: 2111
      }
      class_name: "android.widget.ImageView"
      depth: 15
    }
    nodes {
      bounds_in_screen {
        left: 42
        top: 1226
        right: 1038
        bottom: 1226
      }
      class_name: "android.view.View"
      depth: 16
    }
    nodes {
      bounds_in_screen {
        left: 84
        top: 1226
        right: 336
        bottom: 1619
      }
      class_name: "android.view.ViewGroup"
      depth: 16
    }
    nodes {
      bounds_in_screen {
        left: 336
        top: 1288
        right: 996
        bottom: 1557
      }
      class_name: "android.view.ViewGroup"
      depth: 16
    }
    nodes {
      bounds_in_screen {
        left: 42
        top: 1619
        right: 1038
        bottom: 1624
      }
      class_name: "android.view.View"
      depth: 16
    }
    nodes {
      bounds_in_screen {
        left: 42
        top: 1624
        right: 1038
        bottom: 1624
      }
      class_name: "android.view.View"
      depth: 16
    }
    nodes {
      bounds_in_screen {
        left: 84
        top: 1624
        right: 336
        bottom: 2017
      }
      class_name: "android.view.ViewGroup"
      depth: 16
    }
    nodes {
      bounds_in_screen {
        left: 336
        top: 1696
        right: 996
        bottom: 1945
      }
      class_name: "android.view.ViewGroup"
      depth: 16
    }
    nodes {
      bounds_in_screen {
        left: 42
        top: 2017
        right: 1038
        bottom: 2022
      }
      class_name: "android.view.View"
      depth: 16
    }
    nodes {
      bounds_in_screen {
        left: 42
        top: 2022
        right: 1038
        bottom: 2022
      }
      class_name: "android.view.View"
      depth: 16
    }
    nodes {
      bounds_in_screen {
        left: 84
        top: 2022
        right: 336
        bottom: 2111
      }
      class_name: "android.view.ViewGroup"
      depth: 16
    }
    nodes {
      bounds_in_screen {
        left: 336
        top: 2094
        right: 996
        bottom: 2111
      }
      class_name: "android.view.ViewGroup"
      depth: 16
    }
    nodes {
      bounds_in_screen {
        left: 84
        top: 1268
        right: 336
        bottom: 1577
      }
      class_name: "android.widget.ImageView"
      depth: 17
    }
    nodes {
      bounds_in_screen {
        left: 97
        top: 1500
        right: 323
        bottom: 1546
      }
      class_name: "android.widget.TextView"
      text: "LEVEL 1"
      depth: 17
    }
    nodes {
      bounds_in_screen {
        left: 368
        top: 1330
        right: 615
        bottom: 1389
      }
      class_name: "android.widget.TextView"
      text: "Photogenic"
      depth: 17
    }
    nodes {
      bounds_in_screen {
        left: 368
        top: 1431
        right: 996
        bottom: 1536
      }
      class_name: "android.widget.TextView"
      text: "CLAIM REWARD"
      is_clickable: true
      is_focusable: true
      depth: 17
    }
    nodes {
      bounds_in_screen {
        left: 84
        top: 1666
        right: 336
        bottom: 1975
      }
      class_name: "android.widget.ImageView"
      depth: 17
    }
    nodes {
      bounds_in_screen {
        left: 97
        top: 1898
        right: 323
        bottom: 1944
      }
      class_name: "android.widget.TextView"
      text: "LEVEL 1"
      depth: 17
    }
    nodes {
      bounds_in_screen {
        left: 368
        top: 1717
        right: 544
        bottom: 1776
      }
      class_name: "android.widget.TextView"
      text: "Wildfire"
      depth: 17
    }
    nodes {
      bounds_in_screen {
        left: 368
        top: 1797
        right: 996
        bottom: 1850
      }
      class_name: "android.widget.TextView"
      text: "Reach a 3 day streak"
      depth: 17
    }
    nodes {
      bounds_in_screen {
        left: 368
        top: 1892
        right: 885
        bottom: 1945
      }
      class_name: "android.view.View"
      depth: 17
    }
    nodes {
      bounds_in_screen {
        left: 927
        top: 1892
        right: 996
        bottom: 1945
      }
      class_name: "android.widget.TextView"
      text: "2/3"
      depth: 17
    }
    nodes {
      bounds_in_screen {
        left: 84
        top: 2064
        right: 336
        bottom: 2111
      }
      class_name: "android.widget.ImageView"
      depth: 17
    }
    nodes {
      bounds_in_screen {
        left: 97
        top: 2296
        right: 323
        bottom: 2111
      }
      class_name: "android.widget.TextView"
      text: "LEVEL 1"
      depth: 17
    }
    nodes {
      bounds_in_screen {
        left: 368
        top: 2115
        right: 477
        bottom: 2111
      }
      class_name: "android.widget.TextView"
      text: "Sage"
      depth: 17
    }
    nodes {
      bounds_in_screen {
        left: 368
        top: 2195
        right: 996
        bottom: 2111
      }
      class_name: "android.widget.TextView"
      text: "Earn 100 XP"
      depth: 17
    }
    nodes {
      bounds_in_screen {
        left: 368
        top: 2290
        right: 810
        bottom: 2111
      }
      class_name: "android.view.View"
      depth: 17
    }
    nodes {
      bounds_in_screen {
        left: 852
        top: 2290
        right: 996
        bottom: 2111
      }
      class_name: "android.widget.TextView"
      text: "27/100"
      depth: 17
    }
  }
}

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