instruction
i want to make brushetta today but due to poor timing i have run out of bread stock use insta shop app to find bread
previous_actions
{"name": "open_app", "parameters": {"app_name": "InstaShop"}}
{"name": "wait", "parameters": {}}
{"name": "click", "parameters": {"x": 571, "y": 312}}
{"name": "input_text", "parameters": {"text": "bread"}}
{"name": "scroll", "parameters": {"direction": "down"}}
active_application
InstaShop
screen_description
windows {
  bounds_in_screen {
    right: 1080
    bottom: 118
  }
  id: 14
  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: 128
        bottom: 118
      }
      class_name: "android.widget.TextView"
      content_description: "7:53 AM"
      text: "7:53"
      depth: 6
    }
    nodes {
      bounds_in_screen {
        left: 128
        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, 84 percent."
      depth: 6
    }
    nodes {
      bounds_in_screen {
        left: 128
        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 signal full."
      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: 128
        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: 128
        top: 1
        right: 186
        bottom: 118
      }
      class_name: "android.widget.ImageView"
      content_description: "Digital Wellbeing notification: Need time to focus?"
      depth: 9
    }
    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: 467
  title: "InstaShop"
  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.view.ViewGroup"
      depth: 5
    }
    nodes {
      bounds_in_screen {
        top: 118
        right: 1080
        bottom: 2337
      }
      class_name: "android.widget.FrameLayout"
      depth: 6
    }
    nodes {
      bounds_in_screen {
        top: 118
        right: 1080
        bottom: 2337
      }
      class_name: "android.view.ViewGroup"
      depth: 7
    }
    nodes {
      bounds_in_screen {
        top: 118
        right: 1080
        bottom: 265
      }
      class_name: "android.view.ViewGroup"
      depth: 8
    }
    nodes {
      bounds_in_screen {
        top: 244
        right: 1080
        bottom: 265
      }
      class_name: "android.widget.ProgressBar"
      depth: 8
    }
    nodes {
      bounds_in_screen {
        top: 265
        right: 1080
        bottom: 2337
      }
      class_name: "androidx.recyclerview.widget.RecyclerView"
      is_focusable: true
      depth: 8
    }
    nodes {
      bounds_in_screen {
        top: 265
        right: 1080
        bottom: 2337
      }
      class_name: "android.widget.FrameLayout"
      depth: 8
    }
    nodes {
      bounds_in_screen {
        top: 265
        right: 1064
        bottom: 2337
      }
      class_name: "android.widget.RelativeLayout"
      depth: 8
    }
    nodes {
      bounds_in_screen {
        top: 118
        right: 1080
        bottom: 265
      }
      class_name: "android.view.ViewGroup"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        top: 265
        right: 1080
        bottom: 705
      }
      class_name: "android.widget.LinearLayout"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        top: 705
        right: 1080
        bottom: 855
      }
      class_name: "android.view.ViewGroup"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        top: 855
        right: 1080
        bottom: 978
      }
      class_name: "android.view.ViewGroup"
      is_clickable: true
      is_focusable: true
      depth: 9
    }
    nodes {
      bounds_in_screen {
        top: 978
        right: 1080
        bottom: 1101
      }
      class_name: "android.view.ViewGroup"
      is_clickable: true
      is_focusable: true
      depth: 9
    }
    nodes {
      bounds_in_screen {
        top: 1101
        right: 1080
        bottom: 1224
      }
      class_name: "android.view.ViewGroup"
      is_clickable: true
      is_focusable: true
      depth: 9
    }
    nodes {
      bounds_in_screen {
        top: 1224
        right: 1080
        bottom: 1347
      }
      class_name: "android.view.ViewGroup"
      is_clickable: true
      is_focusable: true
      depth: 9
    }
    nodes {
      bounds_in_screen {
        top: 1347
        right: 1080
        bottom: 1470
      }
      class_name: "android.view.ViewGroup"
      is_clickable: true
      is_focusable: true
      depth: 9
    }
    nodes {
      bounds_in_screen {
        top: 1470
        right: 1080
        bottom: 1593
      }
      class_name: "android.view.ViewGroup"
      is_clickable: true
      is_focusable: true
      depth: 9
    }
    nodes {
      bounds_in_screen {
        top: 1593
        right: 1080
        bottom: 1716
      }
      class_name: "android.view.ViewGroup"
      is_clickable: true
      is_focusable: true
      depth: 9
    }
    nodes {
      bounds_in_screen {
        top: 1716
        right: 1080
        bottom: 1839
      }
      class_name: "android.view.ViewGroup"
      is_clickable: true
      is_focusable: true
      depth: 9
    }
    nodes {
      bounds_in_screen {
        top: 265
        right: 1080
        bottom: 2337
      }
      class_name: "android.widget.LinearLayout"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        top: 118
        right: 147
        bottom: 265
      }
      class_name: "android.widget.ImageButton"
      is_clickable: true
      is_focusable: true
      depth: 10
    }
    nodes {
      bounds_in_screen {
        left: 147
        top: 144
        right: 1038
        bottom: 239
      }
      class_name: "android.view.ViewGroup"
      depth: 10
    }
    nodes {
      bounds_in_screen {
        left: 42
        top: 307
        right: 1038
        bottom: 663
      }
      class_name: "android.view.ViewGroup"
      depth: 10
    }
    nodes {
      bounds_in_screen {
        left: 11
        top: 747
        right: 391
        bottom: 813
      }
      class_name: "android.widget.LinearLayout"
      depth: 10
    }
    nodes {
      bounds_in_screen {
        left: 42
        top: 855
        right: 958
        bottom: 978
      }
      class_name: "android.widget.TextView"
      text: "bread crumbs"
      depth: 10
    }
    nodes {
      bounds_in_screen {
        left: 42
        top: 975
        right: 1080
        bottom: 978
      }
      class_name: "android.view.View"
      depth: 10
    }
    nodes {
      bounds_in_screen {
        left: 958
        top: 855
        right: 1080
        bottom: 977
      }
      class_name: "android.widget.ImageView"
      is_clickable: true
      is_focusable: true
      depth: 10
    }
    nodes {
      bounds_in_screen {
        left: 42
        top: 978
        right: 958
        bottom: 1101
      }
      class_name: "android.widget.TextView"
      text: "breadway"
      depth: 10
    }
    nodes {
      bounds_in_screen {
        left: 42
        top: 1098
        right: 1080
        bottom: 1101
      }
      class_name: "android.view.View"
      depth: 10
    }
    nodes {
      bounds_in_screen {
        left: 958
        top: 978
        right: 1080
        bottom: 1100
      }
      class_name: "android.widget.ImageView"
      is_clickable: true
      is_focusable: true
      depth: 10
    }
    nodes {
      bounds_in_screen {
        left: 42
        top: 1101
        right: 958
        bottom: 1224
      }
      class_name: "android.widget.TextView"
      text: "breadcrumbs"
      depth: 10
    }
    nodes {
      bounds_in_screen {
        left: 42
        top: 1221
        right: 1080
        bottom: 1224
      }
      class_name: "android.view.View"
      depth: 10
    }
    nodes {
      bounds_in_screen {
        left: 958
        top: 1101
        right: 1080
        bottom: 1223
      }
      class_name: "android.widget.ImageView"
      is_clickable: true
      is_focusable: true
      depth: 10
    }
    nodes {
      bounds_in_screen {
        left: 42
        top: 1224
        right: 958
        bottom: 1347
      }
      class_name: "android.widget.TextView"
      text: "breadsticks"
      depth: 10
    }
    nodes {
      bounds_in_screen {
        left: 42
        top: 1344
        right: 1080
        bottom: 1347
      }
      class_name: "android.view.View"
      depth: 10
    }
    nodes {
      bounds_in_screen {
        left: 958
        top: 1224
        right: 1080
        bottom: 1346
      }
      class_name: "android.widget.ImageView"
      is_clickable: true
      is_focusable: true
      depth: 10
    }
    nodes {
      bounds_in_screen {
        left: 42
        top: 1347
        right: 958
        bottom: 1470
      }
      class_name: "android.widget.TextView"
      text: "bread rolls"
      depth: 10
    }
    nodes {
      bounds_in_screen {
        left: 42
        top: 1467
        right: 1080
        bottom: 1470
      }
      class_name: "android.view.View"
      depth: 10
    }
    nodes {
      bounds_in_screen {
        left: 958
        top: 1347
        right: 1080
        bottom: 1469
      }
      class_name: "android.widget.ImageView"
      is_clickable: true
      is_focusable: true
      depth: 10
    }
    nodes {
      bounds_in_screen {
        left: 42
        top: 1470
        right: 958
        bottom: 1593
      }
      class_name: "android.widget.TextView"
      text: "bread roll"
      depth: 10
    }
    nodes {
      bounds_in_screen {
        left: 42
        top: 1590
        right: 1080
        bottom: 1593
      }
      class_name: "android.view.View"
      depth: 10
    }
    nodes {
      bounds_in_screen {
        left: 958
        top: 1470
        right: 1080
        bottom: 1592
      }
      class_name: "android.widget.ImageView"
      is_clickable: true
      is_focusable: true
      depth: 10
    }
    nodes {
      bounds_in_screen {
        left: 42
        top: 1593
        right: 958
        bottom: 1716
      }
      class_name: "android.widget.TextView"
      text: "bread sticks"
      depth: 10
    }
    nodes {
      bounds_in_screen {
        left: 42
        top: 1713
        right: 1080
        bottom: 1716
      }
      class_name: "android.view.View"
      depth: 10
    }
    nodes {
      bounds_in_screen {
        left: 958
        top: 1593
        right: 1080
        bottom: 1715
      }
      class_name: "android.widget.ImageView"
      is_clickable: true
      is_focusable: true
      depth: 10
    }
    nodes {
      bounds_in_screen {
        left: 42
        top: 1716
        right: 841
        bottom: 1839
      }
      class_name: "android.widget.TextView"
      text: "See all results for bread"
      depth: 10
    }
    nodes {
      bounds_in_screen {
        left: 894
        top: 1720
        right: 958
        bottom: 1836
      }
      class_name: "android.widget.TextView"
      depth: 10
    }
    nodes {
      bounds_in_screen {
        left: 42
        top: 1836
        right: 1080
        bottom: 1839
      }
      class_name: "android.view.View"
      depth: 10
    }
    nodes {
      bounds_in_screen {
        top: 265
        right: 1080
        bottom: 444
      }
      class_name: "android.widget.LinearLayout"
      depth: 10
    }
    nodes {
      bounds_in_screen {
        top: 444
        right: 1080
        bottom: 560
      }
      class_name: "android.widget.LinearLayout"
      depth: 10
    }
    nodes {
      bounds_in_screen {
        top: 560
        right: 1080
        bottom: 760
      }
      class_name: "android.widget.LinearLayout"
      depth: 10
    }
    nodes {
      bounds_in_screen {
        top: 760
        right: 1080
        bottom: 879
      }
      class_name: "android.view.ViewGroup"
      depth: 10
    }
    nodes {
      bounds_in_screen {
        top: 879
        right: 1080
        bottom: 998
      }
      class_name: "android.view.ViewGroup"
      depth: 10
    }
    nodes {
      bounds_in_screen {
        top: 998
        right: 1080
        bottom: 1117
      }
      class_name: "android.view.ViewGroup"
      depth: 10
    }
    nodes {
      bounds_in_screen {
        top: 1117
        right: 1080
        bottom: 1236
      }
      class_name: "android.view.ViewGroup"
      depth: 10
    }
    nodes {
      bounds_in_screen {
        left: 168
        top: 163
        right: 231
        bottom: 221
      }
      class_name: "android.widget.ImageView"
      depth: 11
    }
    nodes {
      bounds_in_screen {
        left: 231
        top: 144
        right: 933
        bottom: 239
      }
      class_name: "android.widget.EditText"
      hint_text: "Search for any product"
      text: "bread"
      is_clickable: true
      is_editable: true
      is_focusable: true
      is_long_clickable: true
      depth: 11
    }
    nodes {
      bounds_in_screen {
        left: 933
        top: 160
        right: 996
        bottom: 223
      }
      class_name: "android.widget.ImageView"
      is_clickable: true
      is_focusable: true
      depth: 11
    }
    nodes {
      bounds_in_screen {
        left: 74
        top: 339
        right: 159
        bottom: 402
      }
      class_name: "android.widget.ImageView"
      depth: 11
    }
    nodes {
      bounds_in_screen {
        left: 164
        top: 339
        right: 995
        bottom: 631
      }
      class_name: "android.widget.TextView"
      text: "Power search tip: use + to include or - to exclude a word from your search results. Also use \"\" to search for an exact phrase. Examples: +vegan -dairy \"salt & vinegar\"\n\n"
      depth: 11
    }
    nodes {
      bounds_in_screen {
        left: 849
        top: 556
        right: 1006
        bottom: 631
      }
      class_name: "android.widget.TextView"
      text: "Dismiss"
      is_clickable: true
      is_focusable: true
      depth: 11
    }
    nodes {
      bounds_in_screen {
        left: 43
        top: 747
        right: 349
        bottom: 813
      }
      class_name: "android.widget.TextView"
      text: "Suggestions"
      depth: 11
    }
    nodes {
      bounds_in_screen {
        left: 42
        top: 339
        right: 567
        bottom: 423
      }
      class_name: "android.widget.LinearLayout"
      depth: 11
    }
    nodes {
      bounds_in_screen {
        left: 53
        top: 487
        right: 389
        bottom: 559
      }
      class_name: "android.view.ViewGroup"
      depth: 11
    }
    nodes {
      bounds_in_screen {
        left: 415
        top: 487
        right: 664
        bottom: 559
      }
      class_name: "android.view.ViewGroup"
      depth: 11
    }
    nodes {
      bounds_in_screen {
        left: 690
        top: 487
        right: 1026
        bottom: 559
      }
      class_name: "android.view.ViewGroup"
      depth: 11
    }
    nodes {
      bounds_in_screen {
        left: 1052
        top: 487
        right: 1080
        bottom: 559
      }
      class_name: "android.view.ViewGroup"
      depth: 11
    }
    nodes {
      bounds_in_screen {
        left: 1327
        top: 487
        right: 1080
        bottom: 559
      }
      class_name: "android.view.ViewGroup"
      depth: 11
    }
    nodes {
      bounds_in_screen {
        left: 1642
        top: 487
        right: 1080
        bottom: 559
      }
      class_name: "android.view.ViewGroup"
      depth: 11
    }
    nodes {
      bounds_in_screen {
        left: 42
        top: 634
        right: 567
        bottom: 718
      }
      class_name: "android.widget.LinearLayout"
      depth: 11
    }
    nodes {
      bounds_in_screen {
        left: 42
        top: 760
        right: 985
        bottom: 876
      }
      class_name: "android.view.ViewGroup"
      depth: 11
    }
    nodes {
      bounds_in_screen {
        left: 985
        top: 781
        right: 1059
        bottom: 855
      }
      class_name: "android.widget.ImageView"
      depth: 11
    }
    nodes {
      bounds_in_screen {
        left: 42
        top: 876
        right: 1080
        bottom: 879
      }
      class_name: "android.view.View"
      depth: 11
    }
    nodes {
      bounds_in_screen {
        left: 42
        top: 879
        right: 985
        bottom: 995
      }
      class_name: "android.view.ViewGroup"
      depth: 11
    }
    nodes {
      bounds_in_screen {
        left: 985
        top: 900
        right: 1059
        bottom: 974
      }
      class_name: "android.widget.ImageView"
      depth: 11
    }
    nodes {
      bounds_in_screen {
        left: 42
        top: 995
        right: 1080
        bottom: 998
      }
      class_name: "android.view.View"
      depth: 11
    }
    nodes {
      bounds_in_screen {
        left: 42
        top: 998
        right: 985
        bottom: 1114
      }
      class_name: "android.view.ViewGroup"
      depth: 11
    }
    nodes {
      bounds_in_screen {
        left: 985
        top: 1019
        right: 1059
        bottom: 1093
      }
      class_name: "android.widget.ImageView"
      depth: 11
    }
    nodes {
      bounds_in_screen {
        left: 42
        top: 1114
        right: 1080
        bottom: 1117
      }
      class_name: "android.view.View"
      depth: 11
    }
    nodes {
      bounds_in_screen {
        left: 42
        top: 1117
        right: 985
        bottom: 1233
      }
      class_name: "android.view.ViewGroup"
      depth: 11
    }
    nodes {
      bounds_in_screen {
        left: 985
        top: 1138
        right: 1059
        bottom: 1212
      }
      class_name: "android.widget.ImageView"
      depth: 11
    }
    nodes {
      bounds_in_screen {
        left: 42
        top: 1233
        right: 1080
        bottom: 1236
      }
      class_name: "android.view.View"
      depth: 11
    }
    nodes {
      bounds_in_screen {
        left: 92
        top: 495
        right: 381
        bottom: 548
      }
      class_name: "android.widget.TextView"
      depth: 12
    }
    nodes {
      bounds_in_screen {
        left: 454
        top: 495
        right: 664
        bottom: 548
      }
      class_name: "android.widget.TextView"
      depth: 12
    }
    nodes {
      bounds_in_screen {
        left: 729
        top: 495
        right: 1018
        bottom: 548
      }
      class_name: "android.widget.TextView"
      depth: 12
    }
    nodes {
      bounds_in_screen {
        left: 1091
        top: 495
        right: 1080
        bottom: 548
      }
      class_name: "android.widget.TextView"
      depth: 12
    }
    nodes {
      bounds_in_screen {
        left: 1366
        top: 495
        right: 1080
        bottom: 548
      }
      class_name: "android.widget.TextView"
      depth: 12
    }
    nodes {
      bounds_in_screen {
        left: 1681
        top: 495
        right: 1080
        bottom: 548
      }
      class_name: "android.widget.TextView"
      depth: 12
    }
    nodes {
      bounds_in_screen {
        left: 42
        top: 781
        right: 116
        bottom: 855
      }
      class_name: "android.widget.ImageView"
      depth: 12
    }
    nodes {
      bounds_in_screen {
        left: 116
        top: 797
        right: 641
        bottom: 839
      }
      class_name: "android.widget.LinearLayout"
      depth: 12
    }
    nodes {
      bounds_in_screen {
        left: 42
        top: 900
        right: 116
        bottom: 974
      }
      class_name: "android.widget.ImageView"
      depth: 12
    }
    nodes {
      bounds_in_screen {
        left: 116
        top: 916
        right: 641
        bottom: 958
      }
      class_name: "android.widget.LinearLayout"
      depth: 12
    }
    nodes {
      bounds_in_screen {
        left: 42
        top: 1019
        right: 116
        bottom: 1093
      }
      class_name: "android.widget.ImageView"
      depth: 12
    }
    nodes {
      bounds_in_screen {
        left: 116
        top: 1035
        right: 641
        bottom: 1077
      }
      class_name: "android.widget.LinearLayout"
      depth: 12
    }
    nodes {
      bounds_in_screen {
        left: 42
        top: 1138
        right: 116
        bottom: 1212
      }
      class_name: "android.widget.ImageView"
      depth: 12
    }
    nodes {
      bounds_in_screen {
        left: 116
        top: 1154
        right: 641
        bottom: 1196
      }
      class_name: "android.widget.LinearLayout"
      depth: 12
    }
  }
}

assistant
!FUNCTIONCALL{"name": "wait", "parameters": {}}
[{"type": "function", "function": {"name": "click", "description": "Click on a specific location on the screen", "parameters": {"type": "object", "properties": {"x": {"type": "integer", "description": "Coordinate on the x axis to click."}, "y": {"type": "integer", "description": "Coordinate on the y axis to click."}}, "required": ["x", "y"]}}}, {"type": "function", "function": {"name": "long_press", "description": "Long press on a specific location on the screen.", "parameters": {"type": "object", "properties": {"x": {"type": "integer", "description": "Coordinate on the x axis to long press."}, "y": {"type": "integer", "description": "Coordinate on the y axis to long press."}}, "required": ["x", "y"]}}}, {"type": "function", "function": {"name": "input_text", "description": "Write text inside of an already selected text field, typically this is preceeded by a 'click' action that selects a field on the screen to type into.", "parameters": {"type": "object", "properties": {"text": {"type": "string", "description": "The text to input in the field."}}, "required": ["text"]}}}, {"type": "function", "function": {"name": "scroll", "description": "Scroll a fixed amount in a specific direction.", "parameters": {"type": "object", "properties": {"direction": {"type": "string", "enum": ["up", "down", "left", "right"], "description": "The direction to scroll in."}}, "required": ["direction"]}}}, {"type": "function", "function": {"name": "navigate_home", "description": "Navigate to the home screen from the current screen you are on.", "parameters": {"type": "object", "properties": {}}}}, {"type": "function", "function": {"name": "navigate_back", "description": "Navigate back to the previous page.", "parameters": {"type": "object", "properties": {}}}}, {"type": "function", "function": {"name": "open_app", "description": "Open an application.", "parameters": {"type": "object", "properties": {"app_name": {"type": "string", "description": "The name of the application to open."}}, "required": ["app_name"]}}}, {"type": "function", "function": {"name": "wait", "description": "Wait for a fixed amount of time. This is useful when you need to 'await' the results of a page that is still loading.", "parameters": {"type": "object", "properties": {}}}}, {"type": "function", "function": {"name": "status", "description": "Once you have completed the work required to fulfill an instruction, report your status by calling this function with 'successful'. If you find that a task is impossible to complete,  call this with 'infeasible' after finding that information.", "parameters": {"type": "object", "properties": {"goal_status": {"type": "string", "enum": ["successful", "infeasible"], "description": "The status of the completion of a instruction, either 'successful' or 'infeasible', called to conclude an episode."}}, "required": ["goal_status"]}}}]