instruction: Open the Todoist app and apply a filter of priority p1 to the Dance Classes task 

previous_actions: {"name": "open_app", "parameters": {"app_name": "Todoist"}}

active_application: 

screen_description: windows {
  bounds_in_screen {
    right: 1080
    bottom: 128
  }
  id: 8
  layer: 1
  window_type: TYPE_SYSTEM
  tree {
    nodes {
      bounds_in_screen {
        right: 1080
        bottom: 128
      }
      class_name: "android.widget.FrameLayout"
    }
    nodes {
      bounds_in_screen {
        right: 1080
        bottom: 128
      }
      class_name: "android.widget.FrameLayout"
      depth: 1
    }
    nodes {
      bounds_in_screen {
        right: 1080
        bottom: 128
      }
      class_name: "android.widget.FrameLayout"
      depth: 1
    }
    nodes {
      bounds_in_screen {
        right: 1080
        bottom: 128
      }
      class_name: "android.widget.FrameLayout"
      depth: 1
    }
    nodes {
      bounds_in_screen {
        right: 1080
        bottom: 128
      }
      class_name: "android.widget.FrameLayout"
      depth: 2
    }
    nodes {
      bounds_in_screen {
        left: 50
        right: 1027
        bottom: 128
      }
      class_name: "android.widget.LinearLayout"
      depth: 3
    }
    nodes {
      bounds_in_screen {
        left: 50
        top: 1
        right: 469
        bottom: 128
      }
      class_name: "android.widget.FrameLayout"
      depth: 4
    }
    nodes {
      bounds_in_screen {
        left: 469
        top: 1
        right: 587
        bottom: 128
      }
      class_name: "android.view.View"
      depth: 4
    }
    nodes {
      bounds_in_screen {
        left: 587
        top: 1
        right: 1006
        bottom: 128
      }
      class_name: "android.widget.FrameLayout"
      depth: 4
    }
    nodes {
      bounds_in_screen {
        left: 50
        top: 1
        right: 442
        bottom: 128
      }
      class_name: "android.widget.FrameLayout"
      depth: 5
    }
    nodes {
      bounds_in_screen {
        left: 924
        top: 1
        right: 1006
        bottom: 128
      }
      class_name: "android.widget.LinearLayout"
      depth: 5
    }
    nodes {
      bounds_in_screen {
        left: 50
        top: 1
        right: 442
        bottom: 128
      }
      class_name: "android.widget.LinearLayout"
      depth: 6
    }
    nodes {
      bounds_in_screen {
        left: 924
        top: 1
        right: 1006
        bottom: 128
      }
      class_name: "android.widget.LinearLayout"
      depth: 6
    }
    nodes {
      bounds_in_screen {
        left: 50
        top: 1
        right: 152
        bottom: 128
      }
      class_name: "android.widget.TextView"
      content_description: "10:52 am"
      text: "10:52"
      depth: 7
    }
    nodes {
      bounds_in_screen {
        left: 152
        top: 1
        right: 442
        bottom: 128
      }
      class_name: "android.widget.FrameLayout"
      depth: 7
    }
    nodes {
      bounds_in_screen {
        left: 924
        top: 1
        right: 986
        bottom: 128
      }
      class_name: "android.widget.LinearLayout"
      depth: 7
    }
    nodes {
      bounds_in_screen {
        left: 986
        top: 1
        right: 1006
        bottom: 128
      }
      class_name: "android.widget.LinearLayout"
      content_description: "Battery charging, 100 percent."
      depth: 7
    }
    nodes {
      bounds_in_screen {
        left: 152
        top: 1
        right: 442
        bottom: 128
      }
      class_name: "android.view.ViewGroup"
      depth: 8
    }
    nodes {
      bounds_in_screen {
        left: 924
        top: 35
        right: 970
        bottom: 93
      }
      class_name: "android.widget.FrameLayout"
      content_description: "Wi-Fi two bars."
      depth: 8
    }
    nodes {
      bounds_in_screen {
        left: 986
        top: 47
        right: 1006
        bottom: 81
      }
      class_name: "android.widget.ImageView"
      depth: 8
    }
    nodes {
      bounds_in_screen {
        left: 152
        top: 1
        right: 210
        bottom: 128
      }
      class_name: "android.widget.ImageView"
      content_description: "AJIO notification: "
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 210
        top: 1
        right: 268
        bottom: 128
      }
      class_name: "android.widget.ImageView"
      content_description: "Moon Phase Calendar notification: 75%"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 268
        top: 1
        right: 326
        bottom: 128
      }
      class_name: "android.widget.ImageView"
      content_description: "Flipkart notification: "
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 326
        top: 1
        right: 384
        bottom: 128
      }
      class_name: "android.widget.ImageView"
      content_description: "Myntra notification: Get Ready for the Year\'s Biggest Launch! 🚀"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 384
        top: 1
        right: 442
        bottom: 128
      }
      class_name: "android.widget.ImageView"
      content_description: "System update notification: Couldn\'t install system update"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 402
        top: 1
        right: 442
        bottom: 128
      }
      class_name: "android.widget.ImageView"
      content_description: "Google Play Store notification: Complete setup by installing apps"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 402
        top: 1
        right: 442
        bottom: 128
      }
      class_name: "android.widget.ImageView"
      content_description: "Google notification: MPPEB"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 931
        top: 35
        right: 970
        bottom: 93
      }
      class_name: "android.widget.LinearLayout"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 931
        top: 44
        right: 970
        bottom: 83
      }
      class_name: "android.widget.FrameLayout"
      depth: 10
    }
    nodes {
      bounds_in_screen {
        left: 931
        top: 44
        right: 970
        bottom: 83
      }
      class_name: "android.widget.ImageView"
      depth: 11
    }
  }
}
windows {
  bounds_in_screen {
    right: 1080
    bottom: 2400
  }
  id: 1525
  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 {
        top: 2337
        right: 1080
        bottom: 2400
      }
      class_name: "android.view.View"
      depth: 1
    }
    nodes {
      bounds_in_screen {
        right: 1080
        bottom: 2337
      }
      class_name: "android.widget.FrameLayout"
      depth: 2
    }
    nodes {
      bounds_in_screen {
        right: 1080
        bottom: 2337
      }
      class_name: "android.widget.FrameLayout"
      depth: 3
    }
    nodes {
      bounds_in_screen {
        right: 1080
        bottom: 2337
      }
      class_name: "android.widget.FrameLayout"
      depth: 4
    }
    nodes {
      bounds_in_screen {
        right: 1080
        bottom: 2337
      }
      class_name: "android.widget.FrameLayout"
      depth: 5
    }
    nodes {
      bounds_in_screen {
        top: 128
        right: 1080
        bottom: 2337
      }
      class_name: "android.view.ViewGroup"
      depth: 6
    }
    nodes {
      bounds_in_screen {
        top: 128
        right: 1080
        bottom: 2337
      }
      class_name: "android.view.View"
      is_clickable: true
      depth: 7
    }
    nodes {
      bounds_in_screen {
        top: 791
        right: 1080
        bottom: 2337
      }
      class_name: "android.widget.FrameLayout"
      depth: 7
    }
    nodes {
      bounds_in_screen {
        top: 791
        right: 1080
        bottom: 2337
      }
      class_name: "android.widget.LinearLayout"
      depth: 8
    }
    nodes {
      bounds_in_screen {
        top: 791
        right: 1080
        bottom: 843
      }
      class_name: "android.widget.FrameLayout"
      depth: 8
    }
    nodes {
      bounds_in_screen {
        top: 843
        right: 1080
        bottom: 2337
      }
      class_name: "android.widget.FrameLayout"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        top: 2200
        right: 1080
        bottom: 2337
      }
      class_name: "android.view.ViewGroup"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 508
        top: 811
        right: 571
        bottom: 822
      }
      class_name: "android.widget.ImageView"
      content_description: "Drag"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        top: 843
        right: 1080
        bottom: 2337
      }
      class_name: "android.widget.ScrollView"
      is_focusable: true
      depth: 10
    }
    nodes {
      bounds_in_screen {
        top: 843
        right: 1080
        bottom: 982
      }
      class_name: "android.widget.FrameLayout"
      depth: 10
    }
    nodes {
      bounds_in_screen {
        left: 985
        top: 875
        right: 1048
        bottom: 938
      }
      class_name: "android.widget.ImageView"
      content_description: "Overflow menu"
      is_clickable: true
      is_focusable: true
      depth: 10
    }
    nodes {
      bounds_in_screen {
        top: 2200
        right: 1080
        bottom: 2337
      }
      class_name: "android.view.View"
      depth: 10
    }
    nodes {
      bounds_in_screen {
        top: 843
        right: 1080
        bottom: 1559
      }
      class_name: "android.widget.FrameLayout"
      depth: 11
    }
    nodes {
      bounds_in_screen {
        top: 979
        right: 1080
        bottom: 982
      }
      class_name: "android.view.View"
      depth: 11
    }
    nodes {
      bounds_in_screen {
        left: 37
        top: 843
        right: 111
        bottom: 982
      }
      class_name: "android.widget.CheckBox"
      content_description: "Complete"
      is_checkable: true
      is_clickable: true
      is_focusable: true
      depth: 11
    }
    nodes {
      bounds_in_screen {
        left: 147
        top: 843
        right: 468
        bottom: 982
      }
      class_name: "android.widget.TextView"
      text: "Dance classes"
      is_clickable: true
      is_focusable: true
      depth: 11
    }
    nodes {
      bounds_in_screen {
        left: 42
        top: 2206
        right: 1038
        bottom: 2332
      }
      class_name: "android.view.View"
      is_clickable: true
      is_focusable: true
      depth: 11
    }
    nodes {
      bounds_in_screen {
        top: 843
        right: 1080
        bottom: 1559
      }
      class_name: "android.view.ViewGroup"
      depth: 12
    }
    nodes {
      bounds_in_screen {
        left: 84
        top: 2240
        right: 388
        bottom: 2297
      }
      class_name: "android.widget.TextView"
      text: "Add a comment"
      depth: 12
    }
    nodes {
      bounds_in_screen {
        left: 912
        top: 2206
        right: 1038
        bottom: 2332
      }
      class_name: "android.widget.ImageView"
      content_description: "Attachment"
      is_clickable: true
      is_focusable: true
      depth: 12
    }
    nodes {
      bounds_in_screen {
        top: 843
        bottom: 843
      }
      class_name: "android.view.View"
      depth: 13
    }
    nodes {
      bounds_in_screen {
        left: 32
        top: 843
        right: 242
        bottom: 969
      }
      class_name: "android.widget.TextView"
      text: "  Inbox"
      depth: 13
    }
    nodes {
      bounds_in_screen {
        left: 32
        top: 859
        right: 923
        bottom: 954
      }
      class_name: "android.view.View"
      is_clickable: true
      is_focusable: true
      depth: 13
    }
    nodes {
      bounds_in_screen {
        left: 253
        top: 889
        right: 290
        bottom: 926
      }
      class_name: "android.widget.ImageView"
      depth: 13
    }
    nodes {
      bounds_in_screen {
        left: 37
        top: 969
        right: 111
        bottom: 1095
      }
      class_name: "android.widget.CheckBox"
      content_description: "Complete"
      is_checkable: true
      is_clickable: true
      is_focusable: true
      is_long_clickable: true
      depth: 13
    }
    nodes {
      bounds_in_screen {
        left: 148
        top: 969
        right: 1080
        bottom: 1095
      }
      class_name: "android.widget.EditText"
      hint_text: "Type your task"
      text: "Dance classes​"
      is_clickable: true
      is_editable: true
      is_long_clickable: true
      depth: 13
    }
    nodes {
      bounds_in_screen {
        top: 1095
        right: 1080
        bottom: 1222
      }
      class_name: "android.view.ViewGroup"
      depth: 13
    }
    nodes {
      bounds_in_screen {
        top: 1222
        right: 1080
        bottom: 1222
      }
      class_name: "android.view.ViewGroup"
      depth: 13
    }
    nodes {
      bounds_in_screen {
        top: 1222
        right: 1080
        bottom: 1222
      }
      class_name: "android.view.ViewGroup"
      depth: 13
    }
    nodes {
      bounds_in_screen {
        top: 1222
        right: 1080
        bottom: 1222
      }
      class_name: "android.view.ViewGroup"
      depth: 13
    }
    nodes {
      bounds_in_screen {
        top: 1222
        right: 1080
        bottom: 1222
      }
      class_name: "android.view.ViewGroup"
      depth: 13
    }
    nodes {
      bounds_in_screen {
        top: 1222
        right: 1080
        bottom: 1222
      }
      class_name: "android.view.ViewGroup"
      depth: 13
    }
    nodes {
      bounds_in_screen {
        top: 1222
        right: 1080
        bottom: 1395
      }
      class_name: "android.widget.HorizontalScrollView"
      is_focusable: true
      is_scrollable: true
      depth: 13
    }
    nodes {
      bounds_in_screen {
        top: 1406
        right: 1080
        bottom: 1422
      }
      class_name: "android.view.View"
      depth: 13
    }
    nodes {
      bounds_in_screen {
        top: 1433
        right: 1080
        bottom: 1559
      }
      class_name: "android.widget.FrameLayout"
      depth: 13
    }
    nodes {
      bounds_in_screen {
        top: 1559
        right: 1080
        bottom: 1559
      }
      class_name: "android.view.ViewGroup"
      depth: 13
    }
    nodes {
      bounds_in_screen {
        top: 1095
        right: 1080
        bottom: 1222
      }
      class_name: "android.view.View"
      depth: 14
    }
    nodes {
      bounds_in_screen {
        top: 1222
        bottom: 1222
      }
      class_name: "android.view.View"
      depth: 14
    }
    nodes {
      bounds_in_screen {
        top: 1222
        bottom: 1222
      }
      class_name: "android.view.View"
      depth: 14
    }
    nodes {
      bounds_in_screen {
        top: 1222
        bottom: 1222
      }
      class_name: "android.view.View"
      depth: 14
    }
    nodes {
      bounds_in_screen {
        top: 1222
        bottom: 1222
      }
      class_name: "android.view.View"
      depth: 14
    }
    nodes {
      bounds_in_screen {
        top: 1222
        bottom: 1222
      }
      class_name: "android.view.View"
      depth: 14
    }
    nodes {
      bounds_in_screen {
        top: 1240
        right: 1080
        bottom: 1377
      }
      class_name: "android.view.ViewGroup"
      depth: 14
    }
    nodes {
      bounds_in_screen {
        top: 1433
        right: 1080
        bottom: 1559
      }
      class_name: "androidx.recyclerview.widget.RecyclerView"
      is_focusable: true
      depth: 14
    }
    nodes {
      bounds_in_screen {
        top: 1559
        bottom: 1559
      }
      class_name: "android.view.View"
      depth: 14
    }
    nodes {
      bounds_in_screen {
        top: 1095
        right: 1080
        bottom: 1222
      }
      class_name: "android.view.View"
      is_clickable: true
      is_focusable: true
      depth: 15
    }
    nodes {
      bounds_in_screen {
        left: 42
        top: 1261
        right: 291
        bottom: 1356
      }
      class_name: "android.widget.Button"
      text: "Priority"
      is_clickable: true
      is_focusable: true
      depth: 15
    }
    nodes {
      bounds_in_screen {
        left: 312
        top: 1261
        right: 528
        bottom: 1356
      }
      class_name: "android.widget.Button"
      text: "Label"
      is_clickable: true
      is_focusable: true
      depth: 15
    }
    nodes {
      bounds_in_screen {
        left: 549
        top: 1261
        right: 942
        bottom: 1356
      }
      class_name: "android.widget.Button"
      text: "Reminders PRO"
      is_clickable: true
      is_focusable: true
      depth: 15
    }
    nodes {
      bounds_in_screen {
        left: 963
        top: 1261
        right: 1080
        bottom: 1356
      }
      class_name: "android.widget.Button"
      text: "Locations PRO"
      is_clickable: true
      is_focusable: true
      depth: 15
    }
    nodes {
      bounds_in_screen {
        left: 1361
        top: 1261
        right: 1080
        bottom: 1356
      }
      class_name: "android.widget.Button"
      text: "Description"
      is_clickable: true
      is_focusable: true
      depth: 15
    }
    nodes {
      bounds_in_screen {
        left: 1700
        top: 1261
        right: 1080
        bottom: 1356
      }
      class_name: "android.widget.Button"
      text: "Move to…"
      is_clickable: true
      is_focusable: true
      depth: 15
    }
    nodes {
      bounds_in_screen {
        top: 1433
        right: 1080
        bottom: 1559
      }
      class_name: "android.widget.TextView"
      text: "Add sub-task"
      is_clickable: true
      is_focusable: true
      depth: 15
    }
    nodes {
      bounds_in_screen {
        left: 42
        top: 1127
        right: 105
        bottom: 1190
      }
      class_name: "android.view.View"
      content_description: "Date"
      depth: 16
    }
    nodes {
      bounds_in_screen {
        left: 147
        top: 1130
        right: 283
        bottom: 1187
      }
      class_name: "android.widget.TextView"
      text: "11 Aug"
      depth: 16
    }
  }
}


assistant: !FUNCTIONCALL{"name": "click", "parameters": {"x": 166, "y": 1308}}