instruction
Go to the REI Co-op app and keep track of your purchased sports equipment that needs to be replaced.
previous_actions
{"name": "open_app", "parameters": {"app_name": "REI Co-op"}}
{"name": "wait", "parameters": {}}
active_application
screen_description
windows {
  bounds_in_screen {
    right: 1080
    bottom: 118
  }
  id: 8
  layer: 1
  window_type: TYPE_SYSTEM
  tree {
    nodes {
      bounds_in_screen {
        right: 1080
        bottom: 118
      }
      class_name: "android.widget.FrameLayout"
    }
    nodes {
      bounds_in_screen {
        right: 1080
        bottom: 118
      }
      class_name: "android.widget.FrameLayout"
      depth: 1
    }
    nodes {
      bounds_in_screen {
        right: 1080
        bottom: 118
      }
      class_name: "android.widget.FrameLayout"
      depth: 1
    }
    nodes {
      bounds_in_screen {
        right: 1080
        bottom: 118
      }
      class_name: "android.widget.FrameLayout"
      depth: 1
    }
    nodes {
      bounds_in_screen {
        right: 1080
        bottom: 118
      }
      class_name: "android.widget.FrameLayout"
      depth: 2
    }
    nodes {
      bounds_in_screen {
        left: 47
        right: 1027
        bottom: 118
      }
      class_name: "android.widget.LinearLayout"
      depth: 3
    }
    nodes {
      bounds_in_screen {
        left: 47
        top: 1
        right: 454
        bottom: 118
      }
      class_name: "android.widget.FrameLayout"
      depth: 4
    }
    nodes {
      bounds_in_screen {
        left: 454
        top: 1
        right: 599
        bottom: 118
      }
      class_name: "android.view.View"
      depth: 4
    }
    nodes {
      bounds_in_screen {
        left: 599
        top: 1
        right: 1006
        bottom: 118
      }
      class_name: "android.widget.LinearLayout"
      depth: 4
    }
    nodes {
      bounds_in_screen {
        left: 47
        top: 1
        right: 454
        bottom: 118
      }
      class_name: "android.widget.LinearLayout"
      depth: 5
    }
    nodes {
      bounds_in_screen {
        left: 924
        top: 1
        right: 1006
        bottom: 118
      }
      class_name: "android.widget.LinearLayout"
      depth: 5
    }
    nodes {
      bounds_in_screen {
        left: 47
        top: 1
        right: 148
        bottom: 118
      }
      class_name: "android.widget.TextView"
      content_description: "10:14 AM"
      text: "10:14"
      depth: 6
    }
    nodes {
      bounds_in_screen {
        left: 148
        top: 1
        right: 454
        bottom: 118
      }
      class_name: "android.widget.FrameLayout"
      depth: 6
    }
    nodes {
      bounds_in_screen {
        left: 924
        top: 1
        right: 986
        bottom: 118
      }
      class_name: "android.widget.LinearLayout"
      depth: 6
    }
    nodes {
      bounds_in_screen {
        left: 986
        top: 1
        right: 1006
        bottom: 118
      }
      class_name: "android.widget.LinearLayout"
      content_description: "Battery charging, 100 percent."
      depth: 6
    }
    nodes {
      bounds_in_screen {
        left: 148
        top: 1
        right: 454
        bottom: 118
      }
      class_name: "android.widget.LinearLayout"
      depth: 7
    }
    nodes {
      bounds_in_screen {
        left: 924
        top: 30
        right: 970
        bottom: 88
      }
      class_name: "android.widget.FrameLayout"
      content_description: "Wifi three bars."
      depth: 7
    }
    nodes {
      bounds_in_screen {
        left: 986
        top: 42
        right: 1006
        bottom: 76
      }
      class_name: "android.widget.ImageView"
      depth: 7
    }
    nodes {
      bounds_in_screen {
        left: 148
        top: 1
        right: 454
        bottom: 118
      }
      class_name: "android.widget.FrameLayout"
      depth: 8
    }
    nodes {
      bounds_in_screen {
        left: 931
        top: 30
        right: 970
        bottom: 88
      }
      class_name: "android.widget.LinearLayout"
      depth: 8
    }
    nodes {
      bounds_in_screen {
        left: 931
        top: 39
        right: 970
        bottom: 78
      }
      class_name: "android.widget.FrameLayout"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 931
        top: 39
        right: 970
        bottom: 78
      }
      class_name: "android.widget.ImageView"
      depth: 10
    }
  }
}
windows {
  bounds_in_screen {
    right: 1080
    bottom: 2400
  }
  id: 624
  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: 118
      }
      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: 118
        right: 1080
        bottom: 2337
      }
      class_name: "android.widget.FrameLayout"
      depth: 2
    }
    nodes {
      bounds_in_screen {
        top: 118
        right: 1080
        bottom: 2337
      }
      class_name: "android.widget.FrameLayout"
      depth: 3
    }
    nodes {
      bounds_in_screen {
        top: 118
        right: 1080
        bottom: 2337
      }
      class_name: "android.widget.FrameLayout"
      depth: 4
    }
    nodes {
      bounds_in_screen {
        top: 118
        right: 1080
        bottom: 2337
      }
      class_name: "android.widget.RelativeLayout"
      depth: 5
    }
    nodes {
      bounds_in_screen {
        top: 118
        right: 1080
        bottom: 265
      }
      class_name: "android.view.ViewGroup"
      depth: 6
    }
    nodes {
      bounds_in_screen {
        top: 265
        right: 1080
        bottom: 2180
      }
      class_name: "android.widget.FrameLayout"
      depth: 6
    }
    nodes {
      bounds_in_screen {
        top: 2180
        right: 1080
        bottom: 2337
      }
      class_name: "android.widget.FrameLayout"
      depth: 6
    }
    nodes {
      bounds_in_screen {
        left: 42
        top: 161
        right: 128
        bottom: 222
      }
      class_name: "android.widget.TextView"
      text: "Cart"
      is_focusable: true
      depth: 7
    }
    nodes {
      bounds_in_screen {
        left: 1059
        top: 118
        right: 1059
        bottom: 265
      }
      class_name: "androidx.appcompat.widget.LinearLayoutCompat"
      depth: 7
    }
    nodes {
      bounds_in_screen {
        top: 265
        right: 1080
        bottom: 2180
      }
      class_name: "android.widget.FrameLayout"
      depth: 7
    }
    nodes {
      bounds_in_screen {
        top: 2185
        right: 1080
        bottom: 2332
      }
      class_name: "android.view.ViewGroup"
      depth: 7
    }
    nodes {
      bounds_in_screen {
        top: 265
        right: 1080
        bottom: 2180
      }
      class_name: "android.widget.RelativeLayout"
      is_focusable: true
      depth: 8
    }
    nodes {
      bounds_in_screen {
        top: 2185
        right: 216
        bottom: 2332
      }
      class_name: "android.widget.FrameLayout"
      content_description: "Home"
      is_clickable: true
      is_focusable: true
      depth: 8
      tooltip_text: "Home"
    }
    nodes {
      bounds_in_screen {
        left: 216
        top: 2185
        right: 432
        bottom: 2332
      }
      class_name: "android.widget.FrameLayout"
      content_description: "Shop"
      is_clickable: true
      is_focusable: true
      depth: 8
      tooltip_text: "Shop"
    }
    nodes {
      bounds_in_screen {
        left: 432
        top: 2185
        right: 648
        bottom: 2332
      }
      class_name: "android.widget.FrameLayout"
      content_description: "Stores"
      is_clickable: true
      is_focusable: true
      depth: 8
      tooltip_text: "Stores"
    }
    nodes {
      bounds_in_screen {
        left: 648
        top: 2185
        right: 864
        bottom: 2332
      }
      class_name: "android.widget.FrameLayout"
      content_description: "Cart, 1 item"
      is_focusable: true
      is_selected: true
      depth: 8
      tooltip_text: "Cart"
    }
    nodes {
      bounds_in_screen {
        left: 864
        top: 2185
        right: 1080
        bottom: 2332
      }
      class_name: "android.widget.FrameLayout"
      content_description: "Account, 2 messages"
      is_clickable: true
      is_focusable: true
      depth: 8
      tooltip_text: "Account"
    }
    nodes {
      bounds_in_screen {
        top: 265
        right: 1080
        bottom: 391
      }
      class_name: "android.widget.LinearLayout"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        top: 391
        right: 1080
        bottom: 1937
      }
      class_name: "android.widget.ScrollView"
      is_focusable: true
      depth: 9
    }
    nodes {
      bounds_in_screen {
        top: 391
        right: 1080
        bottom: 1937
      }
      class_name: "androidx.recyclerview.widget.RecyclerView"
      is_focusable: true
      depth: 9
    }
    nodes {
      bounds_in_screen {
        top: 391
        right: 1080
        bottom: 412
      }
      class_name: "android.view.View"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        top: 1937
        right: 1080
        bottom: 2180
      }
      class_name: "android.widget.RelativeLayout"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 76
        top: 2206
        right: 139
        bottom: 2269
      }
      class_name: "android.widget.FrameLayout"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 65
        top: 2272
        right: 151
        bottom: 2332
      }
      class_name: "android.view.ViewGroup"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 292
        top: 2206
        right: 355
        bottom: 2269
      }
      class_name: "android.widget.FrameLayout"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 287
        top: 2272
        right: 360
        bottom: 2332
      }
      class_name: "android.view.ViewGroup"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 508
        top: 2206
        right: 571
        bottom: 2269
      }
      class_name: "android.widget.FrameLayout"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 494
        top: 2272
        right: 586
        bottom: 2332
      }
      class_name: "android.view.ViewGroup"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 724
        top: 2206
        right: 787
        bottom: 2269
      }
      class_name: "android.widget.FrameLayout"
      is_selected: true
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 726
        top: 2272
        right: 786
        bottom: 2332
      }
      class_name: "android.view.ViewGroup"
      is_selected: true
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 940
        top: 2206
        right: 1003
        bottom: 2269
      }
      class_name: "android.widget.FrameLayout"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 912
        top: 2272
        right: 1031
        bottom: 2332
      }
      class_name: "android.view.ViewGroup"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        top: 265
        right: 540
        bottom: 391
      }
      class_name: "android.widget.RelativeLayout"
      is_clickable: true
      is_focusable: true
      is_selected: true
      depth: 10
    }
    nodes {
      bounds_in_screen {
        left: 540
        top: 265
        right: 1080
        bottom: 391
      }
      class_name: "android.widget.RelativeLayout"
      is_clickable: true
      is_focusable: true
      depth: 10
    }
    nodes {
      bounds_in_screen {
        top: 391
        right: 1080
        bottom: 1937
      }
      class_name: "android.widget.LinearLayout"
      depth: 10
    }
    nodes {
      bounds_in_screen {
        top: 412
        right: 1080
        bottom: 1580
      }
      class_name: "android.widget.FrameLayout"
      depth: 10
    }
    nodes {
      bounds_in_screen {
        top: 1937
        right: 1080
        bottom: 1938
      }
      class_name: "android.view.View"
      depth: 10
    }
    nodes {
      bounds_in_screen {
        top: 1938
        right: 1080
        bottom: 2180
      }
      class_name: "android.widget.RelativeLayout"
      depth: 10
    }
    nodes {
      bounds_in_screen {
        left: 76
        top: 2206
        right: 139
        bottom: 2269
      }
      class_name: "android.widget.ImageView"
      depth: 10
    }
    nodes {
      bounds_in_screen {
        left: 65
        top: 2272
        right: 151
        bottom: 2315
      }
      class_name: "android.widget.TextView"
      text: "Home"
      depth: 10
    }
    nodes {
      bounds_in_screen {
        left: 292
        top: 2206
        right: 355
        bottom: 2269
      }
      class_name: "android.widget.ImageView"
      depth: 10
    }
    nodes {
      bounds_in_screen {
        left: 287
        top: 2272
        right: 360
        bottom: 2315
      }
      class_name: "android.widget.TextView"
      text: "Shop"
      depth: 10
    }
    nodes {
      bounds_in_screen {
        left: 508
        top: 2206
        right: 571
        bottom: 2269
      }
      class_name: "android.widget.ImageView"
      depth: 10
    }
    nodes {
      bounds_in_screen {
        left: 494
        top: 2272
        right: 586
        bottom: 2315
      }
      class_name: "android.widget.TextView"
      text: "Stores"
      depth: 10
    }
    nodes {
      bounds_in_screen {
        left: 724
        top: 2206
        right: 787
        bottom: 2269
      }
      class_name: "android.widget.ImageView"
      is_selected: true
      depth: 10
    }
    nodes {
      bounds_in_screen {
        left: 726
        top: 2272
        right: 786
        bottom: 2315
      }
      class_name: "android.widget.TextView"
      text: "Cart"
      is_selected: true
      depth: 10
    }
    nodes {
      bounds_in_screen {
        left: 940
        top: 2206
        right: 1003
        bottom: 2269
      }
      class_name: "android.widget.ImageView"
      depth: 10
    }
    nodes {
      bounds_in_screen {
        left: 912
        top: 2272
        right: 1031
        bottom: 2315
      }
      class_name: "android.widget.TextView"
      text: "Account"
      depth: 10
    }
    nodes {
      bounds_in_screen {
        top: 265
        right: 540
        bottom: 391
      }
      class_name: "android.widget.RelativeLayout"
      is_selected: true
      depth: 11
    }
    nodes {
      bounds_in_screen {
        left: 540
        top: 265
        right: 1080
        bottom: 391
      }
      class_name: "android.widget.RelativeLayout"
      depth: 11
    }
    nodes {
      bounds_in_screen {
        left: 21
        top: 412
        right: 1059
        bottom: 1580
      }
      class_name: "android.widget.FrameLayout"
      depth: 11
    }
    nodes {
      bounds_in_screen {
        left: 42
        top: 1959
        right: 187
        bottom: 2012
      }
      class_name: "android.widget.TextView"
      text: "Subtotal"
      depth: 11
    }
    nodes {
      bounds_in_screen {
        left: 918
        top: 1959
        right: 1038
        bottom: 2012
      }
      class_name: "android.widget.TextView"
      text: "$29.95"
      depth: 11
    }
    nodes {
      bounds_in_screen {
        left: 42
        top: 2033
        right: 1038
        bottom: 2138
      }
      class_name: "android.widget.Button"
      text: "Checkout"
      is_clickable: true
      is_focusable: true
      depth: 11
    }
    nodes {
      bounds_in_screen {
        top: 265
        right: 540
        bottom: 391
      }
      class_name: "android.widget.TextView"
      text: "Cart items (1)"
      is_selected: true
      depth: 12
    }
    nodes {
      bounds_in_screen {
        top: 265
        right: 540
        bottom: 266
      }
      class_name: "android.view.View"
      is_selected: true
      depth: 12
    }
    nodes {
      bounds_in_screen {
        top: 386
        right: 540
        bottom: 391
      }
      class_name: "android.view.View"
      is_selected: true
      depth: 12
    }
    nodes {
      bounds_in_screen {
        top: 390
        right: 540
        bottom: 391
      }
      class_name: "android.view.View"
      is_selected: true
      depth: 12
    }
    nodes {
      bounds_in_screen {
        left: 540
        top: 265
        right: 1080
        bottom: 391
      }
      class_name: "android.widget.TextView"
      text: "Saved for later (0)"
      depth: 12
    }
    nodes {
      bounds_in_screen {
        left: 540
        top: 265
        right: 1080
        bottom: 266
      }
      class_name: "android.view.View"
      depth: 12
    }
    nodes {
      bounds_in_screen {
        left: 540
        top: 390
        right: 1080
        bottom: 391
      }
      class_name: "android.view.View"
      depth: 12
    }
    nodes {
      bounds_in_screen {
        left: 34
        top: 430
        right: 1046
        bottom: 1562
      }
      class_name: "android.widget.LinearLayout"
      depth: 12
    }
    nodes {
      bounds_in_screen {
        left: 34
        top: 430
        right: 1046
        bottom: 825
      }
      class_name: "android.widget.LinearLayout"
      depth: 13
    }
    nodes {
      bounds_in_screen {
        left: 34
        top: 825
        right: 1046
        bottom: 826
      }
      class_name: "android.view.View"
      depth: 13
    }
    nodes {
      bounds_in_screen {
        left: 34
        top: 826
        right: 1046
        bottom: 1034
      }
      class_name: "android.widget.RelativeLayout"
      depth: 13
    }
    nodes {
      bounds_in_screen {
        left: 34
        top: 1034
        right: 1046
        bottom: 1373
      }
      class_name: "android.widget.LinearLayout"
      depth: 13
    }
    nodes {
      bounds_in_screen {
        left: 34
        top: 1373
        right: 1046
        bottom: 1562
      }
      class_name: "android.widget.LinearLayout"
      depth: 13
    }
    nodes {
      bounds_in_screen {
        left: 76
        top: 472
        right: 1004
        bottom: 783
      }
      class_name: "android.widget.LinearLayout"
      depth: 14
    }
    nodes {
      bounds_in_screen {
        left: 34
        top: 868
        right: 390
        bottom: 992
      }
      class_name: "android.widget.LinearLayout"
      depth: 14
    }
    nodes {
      bounds_in_screen {
        left: 390
        top: 903
        right: 425
        bottom: 956
      }
      class_name: "android.widget.TextView"
      text: "@"
      depth: 14
    }
    nodes {
      bounds_in_screen {
        left: 436
        top: 903
        right: 556
        bottom: 956
      }
      class_name: "android.widget.TextView"
      text: "$29.95"
      depth: 14
    }
    nodes {
      bounds_in_screen {
        left: 883
        top: 903
        right: 1004
        bottom: 956
      }
      class_name: "android.widget.TextView"
      text: "$29.95"
      depth: 14
    }
    nodes {
      bounds_in_screen {
        left: 34
        top: 1035
        right: 1046
        bottom: 1203
      }
      class_name: "android.widget.LinearLayout"
      is_clickable: true
      is_focusable: true
      depth: 14
    }
    nodes {
      bounds_in_screen {
        left: 34
        top: 1204
        right: 1046
        bottom: 1372
      }
      class_name: "android.widget.LinearLayout"
      is_clickable: true
      is_focusable: true
      depth: 14
    }
    nodes {
      bounds_in_screen {
        left: 76
        top: 1415
        right: 519
        bottom: 1520
      }
      class_name: "android.widget.Button"
      text: "Save for later"
      is_clickable: true
      is_focusable: true
      depth: 14
    }
    nodes {
      bounds_in_screen {
        left: 561
        top: 1415
        right: 1004
        bottom: 1520
      }
      class_name: "android.widget.Button"
      text: "Remove"
      is_clickable: true
      is_focusable: true
      depth: 14
    }
    nodes {
      bounds_in_screen {
        left: 76
        top: 472
        right: 325
        bottom: 721
      }
      class_name: "android.widget.ImageView"
      text: "Pro-Tec Athletics X-Trac Knee Support, image"
      is_clickable: true
      is_focusable: true
      depth: 15
    }
    nodes {
      bounds_in_screen {
        left: 367
        top: 472
        right: 1004
        bottom: 783
      }
      class_name: "android.widget.LinearLayout"
      depth: 15
    }
    nodes {
      bounds_in_screen {
        left: 34
        top: 868
        right: 390
        bottom: 992
      }
      class_name: "android.widget.LinearLayout"
      depth: 15
    }
    nodes {
      bounds_in_screen {
        left: 76
        top: 1077
        right: 160
        bottom: 1161
      }
      class_name: "android.widget.RadioButton"
      is_checkable: true
      is_checked: true
      is_clickable: true
      is_focusable: true
      depth: 15
      labeled_by_id: 84
    }
    nodes {
      bounds_in_screen {
        left: 160
        top: 1091
        right: 450
        bottom: 1144
      }
      class_name: "android.widget.TextView"
      text: "Ship to address"
      depth: 15
      label_for_id: 83
    }
    nodes {
      bounds_in_screen {
        left: 76
        top: 1246
        right: 160
        bottom: 1330
      }
      class_name: "android.widget.RadioButton"
      content_description: "Pick up at store – Free  "
      is_checkable: true
      is_clickable: true
      is_focusable: true
      depth: 15
    }
    nodes {
      bounds_in_screen {
        left: 160
        top: 1261
        right: 574
        bottom: 1314
      }
      class_name: "android.widget.LinearLayout"
      depth: 15
    }
    nodes {
      bounds_in_screen {
        left: 367
        top: 472
        right: 1004
        bottom: 525
      }
      class_name: "android.widget.TextView"
      text: "Pro-Tec Athletics"
      depth: 16
    }
    nodes {
      bounds_in_screen {
        left: 367
        top: 525
        right: 1004
        bottom: 624
      }
      class_name: "android.widget.TextView"
      text: "Pro-Tec Athletics X-Trac Knee Support"
      depth: 16
    }
    nodes {
      bounds_in_screen {
        left: 367
        top: 624
        right: 1004
        bottom: 677
      }
      class_name: "android.widget.TextView"
      text: "M/BLACK"
      depth: 16
    }
    nodes {
      bounds_in_screen {
        left: 367
        top: 677
        right: 1004
        bottom: 730
      }
      class_name: "android.widget.TextView"
      text: "edit product"
      is_clickable: true
      is_focusable: true
      depth: 16
    }
    nodes {
      bounds_in_screen {
        left: 367
        top: 730
        right: 611
        bottom: 783
      }
      class_name: "android.widget.TextView"
      text: "#1622240002"
      depth: 16
    }
    nodes {
      bounds_in_screen {
        left: 34
        top: 872
        right: 150
        bottom: 988
      }
      class_name: "android.widget.ImageButton"
      content_description: "Reduce quantity"
      is_focusable: true
      depth: 16
    }
    nodes {
      bounds_in_screen {
        left: 150
        top: 868
        right: 274
        bottom: 992
      }
      class_name: "android.widget.FrameLayout"
      depth: 16
    }
    nodes {
      bounds_in_screen {
        left: 274
        top: 872
        right: 390
        bottom: 988
      }
      class_name: "android.widget.ImageButton"
      content_description: "Increase quantity"
      is_clickable: true
      is_focusable: true
      depth: 16
    }
    nodes {
      bounds_in_screen {
        left: 181
        top: 1261
        right: 574
        bottom: 1314
      }
      class_name: "android.widget.TextView"
      text: "Pick up at store – Free"
      depth: 16
    }
    nodes {
      bounds_in_screen {
        left: 153
        top: 871
        right: 271
        bottom: 989
      }
      class_name: "android.widget.Spinner"
      content_description: "Quantity 1"
      is_clickable: true
      is_focusable: true
      is_long_clickable: true
      is_scrollable: true
      depth: 17
    }
    nodes {
      bounds_in_screen {
        left: 181
        top: 903
        right: 244
        bottom: 956
      }
      class_name: "android.widget.TextView"
      text: "1"
      depth: 18
    }
  }
}

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