instruction
When I completed the lesson, I received the rewards, so now I want to claim the rewards
previous_actions
{"name": "navigate_back", "parameters": {}}
active_application
Duolingo
screen_description
windows {
  bounds_in_screen {
    right: 1080
    bottom: 136
  }
  id: 6
  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: 421
        bottom: 136
      }
      class_name: "android.widget.FrameLayout"
      depth: 5
    }
    nodes {
      bounds_in_screen {
        left: 762
        top: 1
        right: 1006
        bottom: 136
      }
      class_name: "android.widget.LinearLayout"
      depth: 5
    }
    nodes {
      bounds_in_screen {
        left: 47
        top: 1
        right: 421
        bottom: 136
      }
      class_name: "android.widget.LinearLayout"
      depth: 6
    }
    nodes {
      bounds_in_screen {
        left: 762
        top: 1
        right: 1006
        bottom: 136
      }
      class_name: "android.widget.LinearLayout"
      depth: 6
    }
    nodes {
      bounds_in_screen {
        left: 47
        top: 1
        right: 131
        bottom: 136
      }
      class_name: "android.widget.TextView"
      content_description: "8:01 PM"
      text: "8:01"
      depth: 7
    }
    nodes {
      bounds_in_screen {
        left: 131
        top: 1
        right: 421
        bottom: 136
      }
      class_name: "android.widget.FrameLayout"
      depth: 7
    }
    nodes {
      bounds_in_screen {
        left: 762
        top: 1
        right: 881
        bottom: 136
      }
      class_name: "android.widget.LinearLayout"
      depth: 7
    }
    nodes {
      bounds_in_screen {
        left: 881
        top: 1
        right: 1006
        bottom: 136
      }
      class_name: "android.widget.LinearLayout"
      content_description: "Battery charging, 100 percent."
      depth: 7
    }
    nodes {
      bounds_in_screen {
        left: 131
        top: 1
        right: 421
        bottom: 136
      }
      class_name: "android.view.ViewGroup"
      depth: 8
    }
    nodes {
      bounds_in_screen {
        left: 762
        top: 39
        right: 819
        bottom: 97
      }
      class_name: "android.widget.ImageView"
      content_description: "Do Not Disturb"
      depth: 8
    }
    nodes {
      bounds_in_screen {
        left: 819
        top: 39
        right: 865
        bottom: 97
      }
      class_name: "android.widget.FrameLayout"
      content_description: "Wifi two bars."
      depth: 8
    }
    nodes {
      bounds_in_screen {
        left: 881
        top: 51
        right: 901
        bottom: 85
      }
      class_name: "android.widget.ImageView"
      depth: 8
    }
    nodes {
      bounds_in_screen {
        left: 901
        top: 1
        right: 1006
        bottom: 136
      }
      class_name: "android.widget.TextView"
      text: "100%"
      depth: 8
    }
    nodes {
      bounds_in_screen {
        left: 131
        top: 1
        right: 189
        bottom: 136
      }
      class_name: "android.widget.ImageView"
      content_description: "Limeroad notification: "
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 189
        top: 1
        right: 247
        bottom: 136
      }
      class_name: "android.widget.ImageView"
      content_description: "NykaaFashion notification: #𝗦𝘁𝗮𝘆𝗦𝘁𝘆𝗹𝗶𝘀𝗵𝗘𝘃𝗲𝗿𝘆𝗱𝗮𝘆 in latest drops!"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 247
        top: 1
        right: 305
        bottom: 136
      }
      class_name: "android.widget.ImageView"
      content_description: "Weather&Radar notification: Low Pressure System"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 305
        top: 1
        right: 363
        bottom: 136
      }
      class_name: "android.widget.ImageView"
      content_description: "Gmail notification: 2 new messages"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 363
        top: 1
        right: 421
        bottom: 136
      }
      class_name: "android.widget.ImageView"
      content_description: "System update notification: Get Android 14 now.\r\nMore personal, protective, and accessible.\r"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 826
        top: 39
        right: 865
        bottom: 97
      }
      class_name: "android.widget.LinearLayout"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 826
        top: 48
        right: 865
        bottom: 87
      }
      class_name: "android.widget.FrameLayout"
      depth: 10
    }
    nodes {
      bounds_in_screen {
        left: 826
        top: 48
        right: 865
        bottom: 87
      }
      class_name: "android.widget.ImageView"
      depth: 11
    }
  }
}
windows {
  bounds_in_screen {
    right: 1080
    bottom: 2400
  }
  id: 801
  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: 136
      }
      class_name: "android.view.View"
      depth: 8
    }
    nodes {
      bounds_in_screen {
        top: 136
        right: 1080
        bottom: 2337
      }
      class_name: "android.view.View"
      depth: 8
    }
    nodes {
      bounds_in_screen {
        top: 136
        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: 136
        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: 136
        right: 1080
        bottom: 2111
      }
      class_name: "androidx.recyclerview.widget.RecyclerView"
      is_focusable: true
      is_scrollable: true
      depth: 10
    }
    nodes {
      bounds_in_screen {
        top: 136
        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: 136
        right: 1080
        bottom: 201
      }
      class_name: "android.view.ViewGroup"
      depth: 11
    }
    nodes {
      bounds_in_screen {
        top: 201
        right: 1080
        bottom: 549
      }
      class_name: "android.view.ViewGroup"
      depth: 11
    }
    nodes {
      bounds_in_screen {
        top: 549
        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: 136
        right: 315
        bottom: 159
      }
      class_name: "android.widget.TextView"
      text: "Statistics"
      depth: 12
    }
    nodes {
      bounds_in_screen {
        left: 42
        top: 201
        right: 524
        bottom: 359
      }
      class_name: "android.widget.LinearLayout"
      is_clickable: true
      is_focusable: true
      depth: 12
    }
    nodes {
      bounds_in_screen {
        left: 556
        top: 201
        right: 1038
        bottom: 359
      }
      class_name: "android.widget.LinearLayout"
      depth: 12
    }
    nodes {
      bounds_in_screen {
        left: 42
        top: 391
        right: 524
        bottom: 549
      }
      class_name: "android.widget.LinearLayout"
      depth: 12
    }
    nodes {
      bounds_in_screen {
        left: 556
        top: 391
        right: 1038
        bottom: 549
      }
      class_name: "android.widget.LinearLayout"
      depth: 12
    }
    nodes {
      bounds_in_screen {
        left: 42
        top: 549
        right: 1038
        bottom: 2048
      }
      class_name: "android.widget.LinearLayout"
      depth: 12
    }
    nodes {
      bounds_in_screen {
        left: 42
        top: 201
        right: 524
        bottom: 359
      }
      class_name: "android.view.ViewGroup"
      depth: 13
    }
    nodes {
      bounds_in_screen {
        left: 556
        top: 201
        right: 1038
        bottom: 359
      }
      class_name: "android.view.ViewGroup"
      depth: 13
    }
    nodes {
      bounds_in_screen {
        left: 42
        top: 391
        right: 524
        bottom: 549
      }
      class_name: "android.view.ViewGroup"
      depth: 13
    }
    nodes {
      bounds_in_screen {
        left: 556
        top: 391
        right: 1038
        bottom: 549
      }
      class_name: "android.view.ViewGroup"
      depth: 13
    }
    nodes {
      bounds_in_screen {
        left: 42
        top: 591
        right: 996
        bottom: 669
      }
      class_name: "android.widget.TextView"
      text: "Achievements"
      depth: 13
    }
    nodes {
      bounds_in_screen {
        left: 42
        top: 711
        right: 1038
        bottom: 2048
      }
      class_name: "android.widget.LinearLayout"
      depth: 13
    }
    nodes {
      bounds_in_screen {
        left: 84
        top: 227
        right: 131
        bottom: 280
      }
      class_name: "android.widget.ImageView"
      depth: 14
    }
    nodes {
      bounds_in_screen {
        left: 152
        top: 227
        right: 503
        bottom: 280
      }
      class_name: "android.widget.TextView"
      text: "1"
      depth: 14
    }
    nodes {
      bounds_in_screen {
        left: 152
        top: 280
        right: 503
        bottom: 333
      }
      class_name: "android.widget.TextView"
      text: "Day streak"
      depth: 14
    }
    nodes {
      bounds_in_screen {
        left: 598
        top: 227
        right: 645
        bottom: 280
      }
      class_name: "android.widget.ImageView"
      depth: 14
    }
    nodes {
      bounds_in_screen {
        left: 666
        top: 227
        right: 1017
        bottom: 280
      }
      class_name: "android.widget.TextView"
      text: "13"
      depth: 14
    }
    nodes {
      bounds_in_screen {
        left: 666
        top: 280
        right: 1017
        bottom: 333
      }
      class_name: "android.widget.TextView"
      text: "Total XP"
      depth: 14
    }
    nodes {
      bounds_in_screen {
        left: 84
        top: 417
        right: 131
        bottom: 470
      }
      class_name: "android.widget.ImageView"
      depth: 14
    }
    nodes {
      bounds_in_screen {
        left: 152
        top: 417
        right: 503
        bottom: 470
      }
      class_name: "android.widget.TextView"
      text: "No Current"
      depth: 14
    }
    nodes {
      bounds_in_screen {
        left: 152
        top: 470
        right: 503
        bottom: 523
      }
      class_name: "android.widget.TextView"
      text: "Current league"
      depth: 14
    }
    nodes {
      bounds_in_screen {
        left: 598
        top: 417
        right: 645
        bottom: 470
      }
      class_name: "android.widget.ImageView"
      depth: 14
    }
    nodes {
      bounds_in_screen {
        left: 666
        top: 417
        right: 1017
        bottom: 470
      }
      class_name: "android.widget.TextView"
      text: "0"
      depth: 14
    }
    nodes {
      bounds_in_screen {
        left: 666
        top: 470
        right: 1017
        bottom: 523
      }
      class_name: "android.widget.TextView"
      text: "Top 3 finishes"
      depth: 14
    }
    nodes {
      bounds_in_screen {
        left: 42
        top: 711
        right: 1038
        bottom: 1900
      }
      class_name: "androidx.recyclerview.widget.RecyclerView"
      is_focusable: true
      depth: 14
    }
    nodes {
      bounds_in_screen {
        left: 42
        top: 1900
        right: 1038
        bottom: 2006
      }
      class_name: "android.view.ViewGroup"
      is_clickable: true
      is_focusable: true
      depth: 14
    }
    nodes {
      bounds_in_screen {
        left: 42
        top: 711
        right: 1038
        bottom: 1109
      }
      class_name: "android.view.ViewGroup"
      depth: 15
    }
    nodes {
      bounds_in_screen {
        left: 42
        top: 1109
        right: 1038
        bottom: 1507
      }
      class_name: "android.view.ViewGroup"
      depth: 15
    }
    nodes {
      bounds_in_screen {
        left: 42
        top: 1507
        right: 1038
        bottom: 1900
      }
      class_name: "android.view.ViewGroup"
      depth: 15
    }
    nodes {
      bounds_in_screen {
        left: 42
        top: 1900
        right: 1038
        bottom: 1905
      }
      class_name: "android.view.View"
      depth: 15
    }
    nodes {
      bounds_in_screen {
        left: 84
        top: 1947
        right: 954
        bottom: 2006
      }
      class_name: "android.widget.TextView"
      text: "View 10 more"
      depth: 15
    }
    nodes {
      bounds_in_screen {
        left: 954
        top: 1961
        right: 996
        bottom: 1993
      }
      class_name: "android.widget.ImageView"
      depth: 15
    }
    nodes {
      bounds_in_screen {
        left: 42
        top: 711
        right: 1038
        bottom: 711
      }
      class_name: "android.view.View"
      depth: 16
    }
    nodes {
      bounds_in_screen {
        left: 84
        top: 711
        right: 336
        bottom: 1104
      }
      class_name: "android.view.ViewGroup"
      depth: 16
    }
    nodes {
      bounds_in_screen {
        left: 336
        top: 773
        right: 996
        bottom: 1042
      }
      class_name: "android.view.ViewGroup"
      depth: 16
    }
    nodes {
      bounds_in_screen {
        left: 42
        top: 1104
        right: 1038
        bottom: 1109
      }
      class_name: "android.view.View"
      depth: 16
    }
    nodes {
      bounds_in_screen {
        left: 42
        top: 1109
        right: 1038
        bottom: 1109
      }
      class_name: "android.view.View"
      depth: 16
    }
    nodes {
      bounds_in_screen {
        left: 84
        top: 1109
        right: 336
        bottom: 1502
      }
      class_name: "android.view.ViewGroup"
      depth: 16
    }
    nodes {
      bounds_in_screen {
        left: 336
        top: 1181
        right: 996
        bottom: 1430
      }
      class_name: "android.view.ViewGroup"
      depth: 16
    }
    nodes {
      bounds_in_screen {
        left: 42
        top: 1502
        right: 1038
        bottom: 1507
      }
      class_name: "android.view.View"
      depth: 16
    }
    nodes {
      bounds_in_screen {
        left: 42
        top: 1507
        right: 1038
        bottom: 1507
      }
      class_name: "android.view.View"
      depth: 16
    }
    nodes {
      bounds_in_screen {
        left: 84
        top: 1507
        right: 336
        bottom: 1900
      }
      class_name: "android.view.ViewGroup"
      depth: 16
    }
    nodes {
      bounds_in_screen {
        left: 336
        top: 1579
        right: 996
        bottom: 1828
      }
      class_name: "android.view.ViewGroup"
      depth: 16
    }
    nodes {
      bounds_in_screen {
        left: 84
        top: 753
        right: 336
        bottom: 1062
      }
      class_name: "android.widget.ImageView"
      depth: 17
    }
    nodes {
      bounds_in_screen {
        left: 97
        top: 985
        right: 323
        bottom: 1031
      }
      class_name: "android.widget.TextView"
      text: "LEVEL 1"
      depth: 17
    }
    nodes {
      bounds_in_screen {
        left: 368
        top: 815
        right: 615
        bottom: 874
      }
      class_name: "android.widget.TextView"
      text: "Photogenic"
      depth: 17
    }
    nodes {
      bounds_in_screen {
        left: 368
        top: 916
        right: 996
        bottom: 1021
      }
      class_name: "android.widget.TextView"
      text: "CLAIM REWARD"
      is_clickable: true
      is_focusable: true
      depth: 17
    }
    nodes {
      bounds_in_screen {
        left: 84
        top: 1151
        right: 336
        bottom: 1460
      }
      class_name: "android.widget.ImageView"
      depth: 17
    }
    nodes {
      bounds_in_screen {
        left: 97
        top: 1383
        right: 323
        bottom: 1429
      }
      class_name: "android.widget.TextView"
      text: "LEVEL 1"
      depth: 17
    }
    nodes {
      bounds_in_screen {
        left: 368
        top: 1202
        right: 544
        bottom: 1261
      }
      class_name: "android.widget.TextView"
      text: "Wildfire"
      depth: 17
    }
    nodes {
      bounds_in_screen {
        left: 368
        top: 1282
        right: 996
        bottom: 1335
      }
      class_name: "android.widget.TextView"
      text: "Reach a 3 day streak"
      depth: 17
    }
    nodes {
      bounds_in_screen {
        left: 368
        top: 1377
        right: 885
        bottom: 1430
      }
      class_name: "android.view.View"
      depth: 17
    }
    nodes {
      bounds_in_screen {
        left: 927
        top: 1377
        right: 996
        bottom: 1430
      }
      class_name: "android.widget.TextView"
      text: "1/3"
      depth: 17
    }
    nodes {
      bounds_in_screen {
        left: 84
        top: 1549
        right: 336
        bottom: 1858
      }
      class_name: "android.widget.ImageView"
      depth: 17
    }
    nodes {
      bounds_in_screen {
        left: 97
        top: 1781
        right: 323
        bottom: 1827
      }
      class_name: "android.widget.TextView"
      text: "LEVEL 1"
      depth: 17
    }
    nodes {
      bounds_in_screen {
        left: 368
        top: 1600
        right: 477
        bottom: 1659
      }
      class_name: "android.widget.TextView"
      text: "Sage"
      depth: 17
    }
    nodes {
      bounds_in_screen {
        left: 368
        top: 1680
        right: 996
        bottom: 1733
      }
      class_name: "android.widget.TextView"
      text: "Earn 100 XP"
      depth: 17
    }
    nodes {
      bounds_in_screen {
        left: 368
        top: 1775
        right: 810
        bottom: 1828
      }
      class_name: "android.view.View"
      depth: 17
    }
    nodes {
      bounds_in_screen {
        left: 852
        top: 1775
        right: 996
        bottom: 1828
      }
      class_name: "android.widget.TextView"
      text: "13/100"
      depth: 17
    }
  }
}

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