instruction
In the Spotify app , play the obsessed song from the Punjabi 101 playlist in the Pop genre category .
previous_actions
{"name": "open_app", "parameters": {"app_name": "Spotify"}}
active_application
Popup Window
screen_description
windows {
  bounds_in_screen {
    right: 1080
    bottom: 136
  }
  id: 5
  layer: 2
  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: 145
        right: 1027
        bottom: 136
      }
      class_name: "android.widget.LinearLayout"
      depth: 3
    }
    nodes {
      bounds_in_screen {
        left: 145
        top: 1
        right: 575
        bottom: 136
      }
      class_name: "android.widget.FrameLayout"
      depth: 4
    }
    nodes {
      bounds_in_screen {
        left: 575
        top: 1
        right: 1006
        bottom: 136
      }
      class_name: "android.widget.FrameLayout"
      depth: 4
    }
    nodes {
      bounds_in_screen {
        left: 145
        top: 1
        right: 519
        bottom: 136
      }
      class_name: "android.widget.FrameLayout"
      depth: 5
    }
    nodes {
      bounds_in_screen {
        left: 924
        top: 1
        right: 1006
        bottom: 136
      }
      class_name: "android.widget.LinearLayout"
      depth: 5
    }
    nodes {
      bounds_in_screen {
        left: 145
        top: 1
        right: 519
        bottom: 136
      }
      class_name: "android.widget.LinearLayout"
      depth: 6
    }
    nodes {
      bounds_in_screen {
        left: 924
        top: 1
        right: 1006
        bottom: 136
      }
      class_name: "android.widget.LinearLayout"
      depth: 6
    }
    nodes {
      bounds_in_screen {
        left: 145
        top: 1
        right: 229
        bottom: 136
      }
      class_name: "android.widget.TextView"
      content_description: "8:09 AM"
      text: "8:09"
      depth: 7
    }
    nodes {
      bounds_in_screen {
        left: 229
        top: 1
        right: 519
        bottom: 136
      }
      class_name: "android.widget.FrameLayout"
      depth: 7
    }
    nodes {
      bounds_in_screen {
        left: 924
        top: 1
        right: 986
        bottom: 136
      }
      class_name: "android.widget.LinearLayout"
      depth: 7
    }
    nodes {
      bounds_in_screen {
        left: 986
        top: 1
        right: 1006
        bottom: 136
      }
      class_name: "android.widget.LinearLayout"
      content_description: "Battery charging, 100 percent."
      depth: 7
    }
    nodes {
      bounds_in_screen {
        left: 229
        top: 1
        right: 519
        bottom: 136
      }
      class_name: "android.view.ViewGroup"
      depth: 8
    }
    nodes {
      bounds_in_screen {
        left: 924
        top: 39
        right: 970
        bottom: 97
      }
      class_name: "android.widget.FrameLayout"
      content_description: "Wifi three bars."
      depth: 8
    }
    nodes {
      bounds_in_screen {
        left: 986
        top: 51
        right: 1006
        bottom: 85
      }
      class_name: "android.widget.ImageView"
      depth: 8
    }
    nodes {
      bounds_in_screen {
        left: 229
        top: 1
        right: 287
        bottom: 136
      }
      class_name: "android.widget.ImageView"
      content_description: "Calm notification: "
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 287
        top: 1
        right: 345
        bottom: 136
      }
      class_name: "android.widget.ImageView"
      content_description: "Clock notification: Missed alarm"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 345
        top: 1
        right: 403
        bottom: 136
      }
      class_name: "android.widget.ImageView"
      content_description: "Wynk Music notification: "
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 403
        top: 1
        right: 461
        bottom: 136
      }
      class_name: "android.widget.ImageView"
      content_description: "Pepperfry notification: "
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 461
        top: 1
        right: 519
        bottom: 136
      }
      class_name: "android.widget.ImageView"
      content_description: "Gmail notification: 8 new messages"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 479
        top: 1
        right: 519
        bottom: 136
      }
      class_name: "android.widget.ImageView"
      content_description: "Furlenco notification: [EXCLUSIVE] Just for you...😍"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 479
        top: 1
        right: 519
        bottom: 136
      }
      class_name: "android.widget.ImageView"
      content_description: "Download Manager notification: "
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 479
        top: 1
        right: 519
        bottom: 136
      }
      class_name: "android.widget.ImageView"
      content_description: "System update notification: Android 13"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 479
        top: 1
        right: 519
        bottom: 136
      }
      class_name: "android.widget.ImageView"
      content_description: "Wynk Music notification: Yaar Ka Sataya Hua Hai 💔"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 479
        top: 1
        right: 519
        bottom: 136
      }
      class_name: "android.widget.ImageView"
      content_description: "Google notification: Today\'s forecast · New Delhi"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 479
        top: 1
        right: 519
        bottom: 136
      }
      class_name: "android.widget.ImageView"
      content_description: "Gaana notification: गायत्री मंत्र के साथ "
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 931
        top: 39
        right: 970
        bottom: 97
      }
      class_name: "android.widget.LinearLayout"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 931
        top: 48
        right: 970
        bottom: 87
      }
      class_name: "android.widget.FrameLayout"
      depth: 10
    }
    nodes {
      bounds_in_screen {
        left: 931
        top: 48
        right: 970
        bottom: 87
      }
      class_name: "android.widget.ImageView"
      depth: 11
    }
  }
}
windows {
  bounds_in_screen {
    left: 655
    top: 1393
    right: 1080
    bottom: 1645
  }
  id: 1239
  layer: 1
  title: "Popup Window"
  window_type: TYPE_APPLICATION
  tree {
    nodes {
      bounds_in_screen {
        left: 655
        top: 1393
        right: 1080
        bottom: 1645
      }
      class_name: "android.widget.FrameLayout"
    }
    nodes {
      bounds_in_screen {
        left: 655
        top: 1393
        right: 1080
        bottom: 1645
      }
      class_name: "android.widget.FrameLayout"
      depth: 1
    }
    nodes {
      bounds_in_screen {
        left: 655
        top: 1393
        right: 1080
        bottom: 1645
      }
      class_name: "android.widget.LinearLayout"
      is_clickable: true
      is_focusable: true
      depth: 2
    }
    nodes {
      bounds_in_screen {
        left: 676
        top: 1435
        right: 1059
        bottom: 1561
      }
      class_name: "android.view.ViewGroup"
      depth: 3
    }
    nodes {
      bounds_in_screen {
        left: 934
        top: 1531
        right: 994
        bottom: 1591
      }
      class_name: "android.view.View"
      depth: 3
    }
    nodes {
      bounds_in_screen {
        left: 718
        top: 1475
        right: 1017
        bottom: 1521
      }
      class_name: "android.view.ViewGroup"
      depth: 4
    }
    nodes {
      bounds_in_screen {
        left: 718
        top: 1475
        right: 1017
        bottom: 1521
      }
      class_name: "android.widget.TextView"
      text: "Add to Your Library"
      depth: 5
    }
  }
}
windows {
  bounds_in_screen {
    right: 1080
    bottom: 2400
  }
  id: 1238
  title: "Now Playing View"
  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 {
        right: 1080
        bottom: 136
      }
      class_name: "android.view.View"
      depth: 1
    }
    nodes {
      bounds_in_screen {
        top: 2337
        right: 1080
        bottom: 2400
      }
      class_name: "android.view.View"
      depth: 1
    }
    nodes {
      bounds_in_screen {
        right: 1080
        bottom: 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: 2400
      }
      class_name: "android.widget.FrameLayout"
      depth: 6
    }
    nodes {
      bounds_in_screen {
        right: 1080
        bottom: 2400
      }
      class_name: "android.view.ViewGroup"
      depth: 6
    }
    nodes {
      bounds_in_screen {
        right: 1080
        bottom: 2400
      }
      class_name: "android.view.View"
      depth: 7
    }
    nodes {
      bounds_in_screen {
        right: 1080
        bottom: 2400
      }
      class_name: "android.widget.FrameLayout"
      depth: 7
    }
    nodes {
      bounds_in_screen {
        right: 1080
        bottom: 2400
      }
      class_name: "android.view.ViewGroup"
      depth: 8
    }
    nodes {
      bounds_in_screen {
        right: 1080
        bottom: 2400
      }
      class_name: "android.view.View"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        right: 1080
        bottom: 2400
      }
      class_name: "android.widget.ScrollView"
      is_focusable: true
      is_scrollable: true
      depth: 9
    }
    nodes {
      bounds_in_screen {
        right: 1080
        bottom: 2400
      }
      class_name: "android.widget.LinearLayout"
      depth: 10
    }
    nodes {
      bounds_in_screen {
        right: 1080
        bottom: 2400
      }
      class_name: "android.widget.FrameLayout"
      depth: 11
    }
    nodes {
      bounds_in_screen {
        top: 2253
        right: 1080
        bottom: 2400
      }
      class_name: "android.widget.FrameLayout"
      is_clickable: true
      is_focusable: true
      depth: 11
    }
    nodes {
      bounds_in_screen {
        right: 1080
        bottom: 2400
      }
      class_name: "android.widget.FrameLayout"
      depth: 12
    }
    nodes {
      bounds_in_screen {
        top: 2253
        right: 1080
        bottom: 2400
      }
      class_name: "android.widget.LinearLayout"
      depth: 12
    }
    nodes {
      bounds_in_screen {
        right: 1080
        bottom: 2400
      }
      class_name: "androidx.recyclerview.widget.RecyclerView"
      is_focusable: true
      depth: 13
    }
    nodes {
      bounds_in_screen {
        right: 1080
        bottom: 2400
      }
      class_name: "android.view.ViewGroup"
      depth: 13
    }
    nodes {
      bounds_in_screen {
        left: 63
        top: 2253
        right: 1017
        bottom: 2400
      }
      class_name: "android.view.ViewGroup"
      depth: 13
    }
    nodes {
      bounds_in_screen {
        left: 63
        top: 3167
        right: 1017
        bottom: 2400
      }
      class_name: "android.view.ViewGroup"
      depth: 13
    }
    nodes {
      bounds_in_screen {
        bottom: 2400
      }
      class_name: "android.widget.FrameLayout"
      depth: 14
    }
    nodes {
      bounds_in_screen {
        right: 1080
        bottom: 2400
      }
      class_name: "android.widget.FrameLayout"
      depth: 14
    }
    nodes {
      bounds_in_screen {
        left: 1080
        right: 1080
        bottom: 2400
      }
      class_name: "android.widget.FrameLayout"
      depth: 14
    }
    nodes {
      bounds_in_screen {
        top: 136
        right: 1080
        bottom: 2400
      }
      class_name: "android.view.View"
      depth: 14
    }
    nodes {
      bounds_in_screen {
        top: 157
        right: 1080
        bottom: 262
      }
      class_name: "android.view.ViewGroup"
      depth: 14
    }
    nodes {
      bounds_in_screen {
        top: 1596
        right: 1080
        bottom: 2221
      }
      class_name: "android.widget.LinearLayout"
      depth: 14
    }
    nodes {
      bounds_in_screen {
        left: 105
        top: 2290
        right: 219
        bottom: 2348
      }
      class_name: "android.widget.TextView"
      text: "Lyrics"
      depth: 14
    }
    nodes {
      bounds_in_screen {
        left: 105
        top: 2411
        right: 975
        bottom: 2400
      }
      class_name: "android.widget.FrameLayout"
      depth: 14
    }
    nodes {
      bounds_in_screen {
        left: 63
        top: 3167
        right: 1017
        bottom: 2400
      }
      class_name: "android.widget.ImageView"
      depth: 14
    }
    nodes {
      bounds_in_screen {
        left: 63
        top: 3167
        right: 1017
        bottom: 2400
      }
      class_name: "android.widget.FrameLayout"
      depth: 14
    }
    nodes {
      bounds_in_screen {
        left: 63
        top: 3167
        right: 1017
        bottom: 2400
      }
      class_name: "android.view.ViewGroup"
      is_clickable: true
      is_focusable: true
      depth: 14
    }
    nodes {
      bounds_in_screen {
        top: 481
        right: -84
        bottom: 1393
      }
      class_name: "android.widget.ImageView"
      depth: 15
    }
    nodes {
      bounds_in_screen {
        left: 84
        top: 481
        right: 996
        bottom: 1393
      }
      class_name: "android.widget.ImageView"
      depth: 15
    }
    nodes {
      bounds_in_screen {
        left: 1164
        top: 481
        right: 1080
        bottom: 1393
      }
      class_name: "android.widget.ImageView"
      depth: 15
    }
    nodes {
      bounds_in_screen {
        left: 32
        top: 157
        right: 137
        bottom: 262
      }
      class_name: "android.widget.ImageButton"
      content_description: "Close"
      is_clickable: true
      is_focusable: true
      depth: 15
    }
    nodes {
      bounds_in_screen {
        left: 137
        top: 168
        right: 943
        bottom: 252
      }
      class_name: "android.widget.LinearLayout"
      is_clickable: true
      is_focusable: true
      depth: 15
    }
    nodes {
      bounds_in_screen {
        left: 943
        top: 157
        right: 1048
        bottom: 262
      }
      class_name: "android.widget.ImageButton"
      content_description: "More options for song Obsessed"
      is_clickable: true
      is_focusable: true
      depth: 15
    }
    nodes {
      bounds_in_screen {
        top: 1596
        right: 1080
        bottom: 1779
      }
      class_name: "android.view.ViewGroup"
      depth: 15
    }
    nodes {
      bounds_in_screen {
        left: 42
        top: 1779
        right: 1038
        bottom: 1901
      }
      class_name: "android.widget.FrameLayout"
      is_clickable: true
      depth: 15
    }
    nodes {
      bounds_in_screen {
        top: 1901
        right: 1080
        bottom: 2069
      }
      class_name: "android.view.ViewGroup"
      depth: 15
    }
    nodes {
      bounds_in_screen {
        top: 2069
        right: 1080
        bottom: 2221
      }
      class_name: "android.view.ViewGroup"
      depth: 15
    }
    nodes {
      bounds_in_screen {
        left: 105
        top: 2411
        right: 975
        bottom: 2400
      }
      class_name: "android.widget.LinearLayout"
      depth: 15
    }
    nodes {
      bounds_in_screen {
        left: 105
        top: 3209
        right: 412
        bottom: 2400
      }
      class_name: "android.widget.TextView"
      text: "About the artist"
      depth: 15
    }
    nodes {
      bounds_in_screen {
        left: 105
        top: 3629
        right: 975
        bottom: 2400
      }
      class_name: "android.widget.LinearLayout"
      depth: 15
    }
    nodes {
      bounds_in_screen {
        left: 353
        top: 169
        right: 726
        bottom: 205
      }
      class_name: "android.widget.TextView"
      text: "PLAYING FROM PLAYLIST"
      is_selected: true
      depth: 16
    }
    nodes {
      bounds_in_screen {
        left: 451
        top: 205
        right: 628
        bottom: 251
      }
      class_name: "android.widget.TextView"
      text: "Punjabi 101"
      depth: 16
    }
    nodes {
      bounds_in_screen {
        left: 63
        top: 1596
        right: 891
        bottom: 1779
      }
      class_name: "android.view.ViewGroup"
      depth: 16
    }
    nodes {
      bounds_in_screen {
        left: 912
        top: 1635
        right: 1017
        bottom: 1740
      }
      class_name: "android.widget.FrameLayout"
      depth: 16
    }
    nodes {
      bounds_in_screen {
        left: 42
        top: 1779
        right: 1038
        bottom: 1901
      }
      class_name: "android.widget.FrameLayout"
      depth: 16
    }
    nodes {
      bounds_in_screen {
        left: 42
        top: 1779
        right: 1038
        bottom: 1874
      }
      class_name: "android.widget.SeekBar"
      content_description: "Use volume keys to adjust"
      is_clickable: true
      is_focusable: true
      depth: 16
    }
    nodes {
      bounds_in_screen {
        left: 63
        top: 1933
        right: 168
        bottom: 2038
      }
      class_name: "android.widget.ImageButton"
      content_description: "Shuffle tracks"
      is_clickable: true
      is_focusable: true
      depth: 16
    }
    nodes {
      bounds_in_screen {
        left: 257
        top: 1922
        right: 383
        bottom: 2048
      }
      class_name: "android.widget.ImageButton"
      content_description: "Previous"
      is_clickable: true
      is_focusable: true
      depth: 16
    }
    nodes {
      bounds_in_screen {
        left: 456
        top: 1901
        right: 624
        bottom: 2069
      }
      class_name: "android.widget.ImageButton"
      content_description: "Pause"
      is_clickable: true
      is_focusable: true
      depth: 16
    }
    nodes {
      bounds_in_screen {
        left: 697
        top: 1922
        right: 823
        bottom: 2048
      }
      class_name: "android.widget.ImageButton"
      content_description: "Next"
      is_clickable: true
      is_focusable: true
      depth: 16
    }
    nodes {
      bounds_in_screen {
        left: 912
        top: 1933
        right: 1017
        bottom: 2038
      }
      class_name: "android.widget.ImageButton"
      content_description: "Repeat"
      is_clickable: true
      is_focusable: true
      depth: 16
    }
    nodes {
      bounds_in_screen {
        left: 63
        top: 2111
        right: 755
        bottom: 2189
      }
      class_name: "android.view.ViewGroup"
      depth: 16
    }
    nodes {
      bounds_in_screen {
        left: 797
        top: 2111
        right: 886
        bottom: 2200
      }
      class_name: "android.widget.ImageButton"
      content_description: "Share"
      is_clickable: true
      is_focusable: true
      depth: 16
    }
    nodes {
      bounds_in_screen {
        left: 928
        top: 2111
        right: 1017
        bottom: 2200
      }
      class_name: "android.widget.ImageButton"
      content_description: "Go to Queue"
      is_clickable: true
      is_focusable: true
      depth: 16
    }
    nodes {
      bounds_in_screen {
        left: 105
        top: 2411
        right: 844
        bottom: 2400
      }
      class_name: "android.widget.TextView"
      depth: 16
    }
    nodes {
      bounds_in_screen {
        left: 105
        top: 2501
        right: 778
        bottom: 2400
      }
      class_name: "android.widget.TextView"
      depth: 16
    }
    nodes {
      bounds_in_screen {
        left: 105
        top: 2591
        right: 844
        bottom: 2400
      }
      class_name: "android.widget.TextView"
      depth: 16
    }
    nodes {
      bounds_in_screen {
        left: 105
        top: 2681
        right: 778
        bottom: 2400
      }
      class_name: "android.widget.TextView"
      depth: 16
    }
    nodes {
      bounds_in_screen {
        left: 105
        top: 3629
        right: 975
        bottom: 2400
      }
      class_name: "android.widget.TextView"
      text: "Riar Saab - brings with him a fresh wave in Punjabi music. Fusing a Hip-Hop soundscape with tra…see more"
      is_clickable: true
      is_focusable: true
      clickable_spans {
        text: "…see more"
        source: TEXT
        start: 95
        node_id: 68
      }
      depth: 16
    }
    nodes {
      bounds_in_screen {
        left: 105
        top: 3758
        right: 975
        bottom: 2400
      }
      class_name: "android.view.ViewGroup"
      depth: 16
    }
    nodes {
      bounds_in_screen {
        left: 84
        top: 1622
        right: 327
        bottom: 1695
      }
      class_name: "android.widget.TextView"
      text: "Obsessed"
      depth: 17
    }
    nodes {
      bounds_in_screen {
        left: 84
        top: 1695
        right: 580
        bottom: 1753
      }
      class_name: "android.widget.TextView"
      text: "Riar Saab, Abhijay Sharma"
      depth: 17
    }
    nodes {
      bounds_in_screen {
        left: 912
        top: 1635
        right: 1017
        bottom: 1740
      }
      class_name: "android.widget.ImageButton"
      content_description: "Like this song"
      is_clickable: true
      is_focusable: true
      depth: 17
    }
    nodes {
      bounds_in_screen {
        left: 84
        top: 1853
        right: 156
        bottom: 1901
      }
      class_name: "android.widget.TextView"
      text: "0:00"
      depth: 17
    }
    nodes {
      bounds_in_screen {
        left: 936
        top: 1853
        right: 996
        bottom: 1897
      }
      class_name: "android.widget.TextView"
      text: "3:10"
      depth: 17
    }
    nodes {
      bounds_in_screen {
        left: 63
        top: 2111
        right: 141
        bottom: 2189
      }
      class_name: "android.widget.LinearLayout"
      is_clickable: true
      is_focusable: true
      depth: 17
    }
    nodes {
      bounds_in_screen {
        left: 105
        top: 3771
        right: 723
        bottom: 2400
      }
      class_name: "android.widget.TextView"
      text: "Riar Saab"
      depth: 17
    }
    nodes {
      bounds_in_screen {
        left: 105
        top: 3829
        right: 723
        bottom: 2400
      }
      class_name: "android.widget.TextView"
      text: "7,703,023 monthly listeners"
      depth: 17
    }
    nodes {
      bounds_in_screen {
        left: 786
        top: 3758
        right: 975
        bottom: 2400
      }
      class_name: "android.widget.Button"
      content_description: "Follow this Artist"
      text: "Follow"
      is_clickable: true
      is_focusable: true
      depth: 17
    }
    nodes {
      bounds_in_screen {
        left: 63
        top: 2111
        right: 141
        bottom: 2189
      }
      class_name: "android.widget.ImageButton"
      content_description: "Connect to a device. Opens the devices menu"
      is_focusable: true
      depth: 18
    }
  }
}

assistant
!FUNCTIONCALL{"name": "status", "parameters": {"goal_status": "successful"}}
[{"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"]}}}]