instruction: Go to the library section and create a  playlist named  favourite song and add katty perry videos to the playlist 

previous_actions: {"name": "open_app", "parameters": {"app_name": "YouTube"}}
{"name": "click", "parameters": {"x": 972, "y": 2273}}

active_application: 

screen_description: windows {
  bounds_in_screen {
    right: 1080
    bottom: 136
  }
  id: 8
  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: 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: 518
        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: 518
        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: 228
        bottom: 136
      }
      class_name: "android.widget.TextView"
      content_description: "9:40 AM"
      text: "9:40"
      depth: 7
    }
    nodes {
      bounds_in_screen {
        left: 228
        top: 1
        right: 518
        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: 228
        top: 1
        right: 518
        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: 228
        top: 1
        right: 286
        bottom: 136
      }
      class_name: "android.widget.ImageView"
      content_description: "Photos notification: New! Hide sensitive photos & videos"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 286
        top: 1
        right: 344
        bottom: 136
      }
      class_name: "android.widget.ImageView"
      content_description: "Nearby Share notification: Visible to nearby contacts"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 344
        top: 1
        right: 402
        bottom: 136
      }
      class_name: "android.widget.ImageView"
      content_description: "Digital Wellbeing notification: Need time to focus?"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 402
        top: 1
        right: 460
        bottom: 136
      }
      class_name: "android.widget.ImageView"
      content_description: "Android System notification: Review app with full device access"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 460
        top: 1
        right: 518
        bottom: 136
      }
      class_name: "android.widget.ImageView"
      content_description: "Google notification: CHDRECTT"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 478
        top: 1
        right: 518
        bottom: 136
      }
      class_name: "android.widget.ImageView"
      content_description: "Google notification: Today\'s forecast · Bandhwari"
      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 {
    right: 1080
    bottom: 2400
  }
  id: 214
  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: 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 {
        top: 136
        right: 1080
        bottom: 2337
      }
      class_name: "android.widget.FrameLayout"
      depth: 2
    }
    nodes {
      bounds_in_screen {
        top: 136
        right: 1080
        bottom: 2337
      }
      class_name: "android.widget.FrameLayout"
      depth: 3
    }
    nodes {
      bounds_in_screen {
        top: 136
        right: 1080
        bottom: 2337
      }
      class_name: "android.widget.LinearLayout"
      depth: 4
    }
    nodes {
      bounds_in_screen {
        top: 136
        right: 1080
        bottom: 283
      }
      class_name: "android.widget.RelativeLayout"
      depth: 5
    }
    nodes {
      bounds_in_screen {
        top: 283
        right: 1080
        bottom: 2337
      }
      class_name: "android.support.v7.widget.RecyclerView"
      is_focusable: true
      is_scrollable: true
      depth: 5
    }
    nodes {
      bounds_in_screen {
        left: 21
        top: 157
        right: 126
        bottom: 262
      }
      class_name: "android.widget.TextView"
      content_description: "Close"
      is_clickable: true
      is_focusable: true
      depth: 6
    }
    nodes {
      bounds_in_screen {
        left: 168
        top: 174
        right: 898
        bottom: 245
      }
      class_name: "android.widget.TextView"
      text: "Add videos"
      depth: 6
    }
    nodes {
      bounds_in_screen {
        left: 940
        top: 157
        right: 1059
        bottom: 250
      }
      class_name: "android.widget.TextView"
      content_description: "Next"
      text: "Next"
      is_clickable: true
      is_focusable: true
      depth: 6
    }
    nodes {
      bounds_in_screen {
        top: 283
        right: 1080
        bottom: 397
      }
      class_name: "android.widget.RelativeLayout"
      depth: 6
    }
    nodes {
      bounds_in_screen {
        top: 397
        right: 1080
        bottom: 616
      }
      class_name: "android.view.ViewGroup"
      content_description: "4*TOWN (From Disney and Pixar’s Turning Red) - Nobody Like U (From \"Turning Red\") - 3 minutes, 2 seconds -  - DisneyMusicVEVO - 233M views - 1 year ago"
      is_clickable: true
      is_focusable: true
      depth: 6
    }
    nodes {
      bounds_in_screen {
        top: 616
        right: 1080
        bottom: 835
      }
      class_name: "android.view.ViewGroup"
      content_description: "Katy Perry - Part Of Me (Official) - 4 minutes, 12 seconds -  - KatyPerryVEVO - 948M views - 11 years ago"
      is_clickable: true
      is_focusable: true
      depth: 6
    }
    nodes {
      bounds_in_screen {
        top: 835
        right: 1080
        bottom: 1054
      }
      class_name: "android.view.ViewGroup"
      content_description: "Katy Perry - Roar - 4 minutes, 30 seconds -  - KatyPerryVEVO - 3.8B views - 9 years ago"
      is_clickable: true
      is_focusable: true
      depth: 6
    }
    nodes {
      bounds_in_screen {
        top: 1054
        right: 1080
        bottom: 1273
      }
      class_name: "android.view.ViewGroup"
      content_description: "Nhạy theo điệu nhảy của các chú mèo nào các bạn ơi - 19 seconds -  - Thai Le - 148M views - 3 years ago"
      is_clickable: true
      is_focusable: true
      depth: 6
    }
    nodes {
      bounds_in_screen {
        top: 1273
        right: 1080
        bottom: 1492
      }
      class_name: "android.view.ViewGroup"
      content_description: "Katy Perry - Chained To The Rhythm (Official) ft. Skip Marley - 4 minutes, 1 second -  - KatyPerryVEVO - 735M views - 6 years ago"
      is_clickable: true
      is_focusable: true
      depth: 6
    }
    nodes {
      bounds_in_screen {
        top: 1492
        right: 1080
        bottom: 1711
      }
      class_name: "android.view.ViewGroup"
      content_description: "I only ate MOMOS for 24 hours challenge// Challenge Video// Foodiesince96 // 24 HOUR - 13 minutes, 4 seconds -  - Mehak Dhawan 96 - 15K views - 2 years ago"
      is_clickable: true
      is_focusable: true
      depth: 6
    }
    nodes {
      bounds_in_screen {
        top: 1711
        right: 1080
        bottom: 1930
      }
      class_name: "android.view.ViewGroup"
      content_description: "Katy Perry - Dark Horse ft. Juicy J - 3 minutes, 45 seconds -  - KatyPerryVEVO - 3.5B views - 9 years ago"
      is_clickable: true
      is_focusable: true
      depth: 6
    }
    nodes {
      bounds_in_screen {
        top: 1930
        right: 1080
        bottom: 2149
      }
      class_name: "android.view.ViewGroup"
      content_description: "Katy Perry - Bon Appétit (Official) ft. Migos - 4 minutes, 18 seconds -  - KatyPerryVEVO - 1.2B views - 6 years ago"
      is_clickable: true
      is_focusable: true
      depth: 6
    }
    nodes {
      bounds_in_screen {
        top: 2149
        right: 1080
        bottom: 2337
      }
      class_name: "android.view.ViewGroup"
      content_description: "Rise of Nationalism in Europe Full Chapter | Class 10 History Chapter 1 | Shubham Pathak - 2 hours, 37 minutes -  - Shubham Pathak - 1.1M views - Streamed 1 year ago"
      is_clickable: true
      is_focusable: true
      depth: 6
    }
    nodes {
      bounds_in_screen {
        left: 42
        top: 325
        right: 339
        bottom: 376
      }
      class_name: "android.widget.TextView"
      text: "Recently Watched"
      depth: 7
    }
    nodes {
      bounds_in_screen {
        left: 339
        top: 325
        right: 1038
        bottom: 376
      }
      class_name: "android.widget.RelativeLayout"
      depth: 7
    }
    nodes {
      bounds_in_screen {
        left: 42
        top: 418
        right: 357
        bottom: 595
      }
      class_name: "android.view.ViewGroup"
      depth: 7
    }
    nodes {
      bounds_in_screen {
        left: 399
        top: 418
        right: 933
        bottom: 588
      }
      class_name: "android.view.ViewGroup"
      depth: 7
    }
    nodes {
      bounds_in_screen {
        left: 980
        top: 480
        right: 1033
        bottom: 533
      }
      class_name: "android.widget.ImageView"
      depth: 7
    }
    nodes {
      bounds_in_screen {
        left: 42
        top: 637
        right: 357
        bottom: 814
      }
      class_name: "android.view.ViewGroup"
      depth: 7
    }
    nodes {
      bounds_in_screen {
        left: 399
        top: 637
        right: 933
        bottom: 764
      }
      class_name: "android.view.ViewGroup"
      depth: 7
    }
    nodes {
      bounds_in_screen {
        left: 980
        top: 699
        right: 1033
        bottom: 752
      }
      class_name: "android.widget.ImageView"
      depth: 7
    }
    nodes {
      bounds_in_screen {
        left: 42
        top: 856
        right: 357
        bottom: 1033
      }
      class_name: "android.view.ViewGroup"
      depth: 7
    }
    nodes {
      bounds_in_screen {
        left: 399
        top: 856
        right: 933
        bottom: 983
      }
      class_name: "android.view.ViewGroup"
      depth: 7
    }
    nodes {
      bounds_in_screen {
        left: 980
        top: 918
        right: 1033
        bottom: 971
      }
      class_name: "android.widget.ImageView"
      depth: 7
    }
    nodes {
      bounds_in_screen {
        left: 42
        top: 1075
        right: 357
        bottom: 1252
      }
      class_name: "android.view.ViewGroup"
      depth: 7
    }
    nodes {
      bounds_in_screen {
        left: 399
        top: 1075
        right: 933
        bottom: 1245
      }
      class_name: "android.view.ViewGroup"
      depth: 7
    }
    nodes {
      bounds_in_screen {
        left: 980
        top: 1137
        right: 1033
        bottom: 1190
      }
      class_name: "android.widget.ImageView"
      depth: 7
    }
    nodes {
      bounds_in_screen {
        left: 42
        top: 1294
        right: 357
        bottom: 1471
      }
      class_name: "android.view.ViewGroup"
      depth: 7
    }
    nodes {
      bounds_in_screen {
        left: 399
        top: 1294
        right: 933
        bottom: 1464
      }
      class_name: "android.view.ViewGroup"
      depth: 7
    }
    nodes {
      bounds_in_screen {
        left: 980
        top: 1356
        right: 1033
        bottom: 1409
      }
      class_name: "android.widget.ImageView"
      depth: 7
    }
    nodes {
      bounds_in_screen {
        left: 42
        top: 1513
        right: 357
        bottom: 1690
      }
      class_name: "android.view.ViewGroup"
      depth: 7
    }
    nodes {
      bounds_in_screen {
        left: 399
        top: 1513
        right: 933
        bottom: 1683
      }
      class_name: "android.view.ViewGroup"
      depth: 7
    }
    nodes {
      bounds_in_screen {
        left: 980
        top: 1575
        right: 1033
        bottom: 1628
      }
      class_name: "android.widget.ImageView"
      depth: 7
    }
    nodes {
      bounds_in_screen {
        left: 42
        top: 1732
        right: 357
        bottom: 1909
      }
      class_name: "android.view.ViewGroup"
      depth: 7
    }
    nodes {
      bounds_in_screen {
        left: 399
        top: 1732
        right: 933
        bottom: 1902
      }
      class_name: "android.view.ViewGroup"
      depth: 7
    }
    nodes {
      bounds_in_screen {
        left: 980
        top: 1794
        right: 1033
        bottom: 1847
      }
      class_name: "android.widget.ImageView"
      depth: 7
    }
    nodes {
      bounds_in_screen {
        left: 42
        top: 1951
        right: 357
        bottom: 2128
      }
      class_name: "android.view.ViewGroup"
      depth: 7
    }
    nodes {
      bounds_in_screen {
        left: 399
        top: 1951
        right: 933
        bottom: 2121
      }
      class_name: "android.view.ViewGroup"
      depth: 7
    }
    nodes {
      bounds_in_screen {
        left: 980
        top: 2013
        right: 1033
        bottom: 2066
      }
      class_name: "android.widget.ImageView"
      depth: 7
    }
    nodes {
      bounds_in_screen {
        left: 42
        top: 2170
        right: 357
        bottom: 2337
      }
      class_name: "android.view.ViewGroup"
      depth: 7
    }
    nodes {
      bounds_in_screen {
        left: 399
        top: 2170
        right: 933
        bottom: 2337
      }
      class_name: "android.view.ViewGroup"
      depth: 7
    }
    nodes {
      bounds_in_screen {
        left: 980
        top: 2232
        right: 1033
        bottom: 2285
      }
      class_name: "android.widget.ImageView"
      depth: 7
    }
    nodes {
      bounds_in_screen {
        left: 751
        top: 325
        right: 1038
        bottom: 376
      }
      class_name: "android.widget.TextView"
      content_description: "0 videos selected"
      text: "0 videos selected"
      depth: 8
    }
    nodes {
      bounds_in_screen {
        left: 42
        top: 418
        right: 357
        bottom: 595
      }
      class_name: "android.widget.ImageView"
      depth: 8
    }
    nodes {
      bounds_in_screen {
        left: 399
        top: 418
        right: 933
        bottom: 504
      }
      class_name: "android.view.ViewGroup"
      depth: 8
    }
    nodes {
      bounds_in_screen {
        left: 399
        top: 504
        right: 663
        bottom: 550
      }
      class_name: "android.view.ViewGroup"
      depth: 8
    }
    nodes {
      bounds_in_screen {
        left: 399
        top: 550
        right: 695
        bottom: 588
      }
      class_name: "android.view.ViewGroup"
      depth: 8
    }
    nodes {
      bounds_in_screen {
        left: 42
        top: 637
        right: 357
        bottom: 814
      }
      class_name: "android.widget.ImageView"
      depth: 8
    }
    nodes {
      bounds_in_screen {
        left: 399
        top: 637
        right: 933
        bottom: 680
      }
      class_name: "android.view.ViewGroup"
      depth: 8
    }
    nodes {
      bounds_in_screen {
        left: 399
        top: 680
        right: 544
        bottom: 726
      }
      class_name: "android.view.ViewGroup"
      depth: 8
    }
    nodes {
      bounds_in_screen {
        left: 399
        top: 726
        right: 730
        bottom: 764
      }
      class_name: "android.view.ViewGroup"
      depth: 8
    }
    nodes {
      bounds_in_screen {
        left: 42
        top: 856
        right: 357
        bottom: 1033
      }
      class_name: "android.widget.ImageView"
      depth: 8
    }
    nodes {
      bounds_in_screen {
        left: 399
        top: 856
        right: 933
        bottom: 899
      }
      class_name: "android.view.ViewGroup"
      depth: 8
    }
    nodes {
      bounds_in_screen {
        left: 399
        top: 899
        right: 544
        bottom: 945
      }
      class_name: "android.view.ViewGroup"
      depth: 8
    }
    nodes {
      bounds_in_screen {
        left: 399
        top: 945
        right: 694
        bottom: 983
      }
      class_name: "android.view.ViewGroup"
      depth: 8
    }
    nodes {
      bounds_in_screen {
        left: 42
        top: 1075
        right: 357
        bottom: 1252
      }
      class_name: "android.widget.ImageView"
      depth: 8
    }
    nodes {
      bounds_in_screen {
        left: 399
        top: 1075
        right: 933
        bottom: 1161
      }
      class_name: "android.view.ViewGroup"
      depth: 8
    }
    nodes {
      bounds_in_screen {
        left: 399
        top: 1161
        right: 503
        bottom: 1207
      }
      class_name: "android.view.ViewGroup"
      depth: 8
    }
    nodes {
      bounds_in_screen {
        left: 399
        top: 1207
        right: 712
        bottom: 1245
      }
      class_name: "android.view.ViewGroup"
      depth: 8
    }
    nodes {
      bounds_in_screen {
        left: 42
        top: 1294
        right: 357
        bottom: 1471
      }
      class_name: "android.widget.ImageView"
      depth: 8
    }
    nodes {
      bounds_in_screen {
        left: 399
        top: 1294
        right: 933
        bottom: 1380
      }
      class_name: "android.view.ViewGroup"
      depth: 8
    }
    nodes {
      bounds_in_screen {
        left: 399
        top: 1380
        right: 544
        bottom: 1426
      }
      class_name: "android.view.ViewGroup"
      depth: 8
    }
    nodes {
      bounds_in_screen {
        left: 399
        top: 1426
        right: 712
        bottom: 1464
      }
      class_name: "android.view.ViewGroup"
      depth: 8
    }
    nodes {
      bounds_in_screen {
        left: 42
        top: 1513
        right: 357
        bottom: 1690
      }
      class_name: "android.widget.ImageView"
      depth: 8
    }
    nodes {
      bounds_in_screen {
        left: 399
        top: 1513
        right: 933
        bottom: 1599
      }
      class_name: "android.view.ViewGroup"
      depth: 8
    }
    nodes {
      bounds_in_screen {
        left: 399
        top: 1599
        right: 662
        bottom: 1645
      }
      class_name: "android.view.ViewGroup"
      depth: 8
    }
    nodes {
      bounds_in_screen {
        left: 399
        top: 1645
        right: 686
        bottom: 1683
      }
      class_name: "android.view.ViewGroup"
      depth: 8
    }
    nodes {
      bounds_in_screen {
        left: 42
        top: 1732
        right: 357
        bottom: 1909
      }
      class_name: "android.widget.ImageView"
      depth: 8
    }
    nodes {
      bounds_in_screen {
        left: 399
        top: 1732
        right: 933
        bottom: 1818
      }
      class_name: "android.view.ViewGroup"
      depth: 8
    }
    nodes {
      bounds_in_screen {
        left: 399
        top: 1818
        right: 544
        bottom: 1864
      }
      class_name: "android.view.ViewGroup"
      depth: 8
    }
    nodes {
      bounds_in_screen {
        left: 399
        top: 1864
        right: 694
        bottom: 1902
      }
      class_name: "android.view.ViewGroup"
      depth: 8
    }
    nodes {
      bounds_in_screen {
        left: 42
        top: 1951
        right: 357
        bottom: 2128
      }
      class_name: "android.widget.ImageView"
      depth: 8
    }
    nodes {
      bounds_in_screen {
        left: 399
        top: 1951
        right: 933
        bottom: 2037
      }
      class_name: "android.view.ViewGroup"
      depth: 8
    }
    nodes {
      bounds_in_screen {
        left: 399
        top: 2037
        right: 544
        bottom: 2083
      }
      class_name: "android.view.ViewGroup"
      depth: 8
    }
    nodes {
      bounds_in_screen {
        left: 399
        top: 2083
        right: 694
        bottom: 2121
      }
      class_name: "android.view.ViewGroup"
      depth: 8
    }
    nodes {
      bounds_in_screen {
        left: 42
        top: 2170
        right: 357
        bottom: 2337
      }
      class_name: "android.widget.ImageView"
      depth: 8
    }
    nodes {
      bounds_in_screen {
        left: 399
        top: 2170
        right: 933
        bottom: 2256
      }
      class_name: "android.view.ViewGroup"
      depth: 8
    }
    nodes {
      bounds_in_screen {
        left: 399
        top: 2256
        right: 641
        bottom: 2302
      }
      class_name: "android.view.ViewGroup"
      depth: 8
    }
    nodes {
      bounds_in_screen {
        left: 399
        top: 2302
        right: 830
        bottom: 2337
      }
      class_name: "android.view.ViewGroup"
      depth: 8
    }
  }
}


assistant: !FUNCTIONCALL{"name": "click", "parameters": {"x": 540, "y": 725}}