instruction: Open the Khan Academy app and take courses.

previous_actions: 

active_application: Home

screen_description: windows {
  bounds_in_screen {
    right: 1080
    bottom: 118
  }
  id: 8
  layer: 1
  window_type: TYPE_SYSTEM
  tree {
    nodes {
      bounds_in_screen {
        right: 1080
        bottom: 118
      }
      class_name: "android.widget.FrameLayout"
    }
    nodes {
      bounds_in_screen {
        right: 1080
        bottom: 118
      }
      class_name: "android.widget.FrameLayout"
      depth: 1
    }
    nodes {
      bounds_in_screen {
        right: 1080
        bottom: 118
      }
      class_name: "android.widget.FrameLayout"
      depth: 1
    }
    nodes {
      bounds_in_screen {
        right: 1080
        bottom: 118
      }
      class_name: "android.widget.FrameLayout"
      depth: 1
    }
    nodes {
      bounds_in_screen {
        right: 1080
        bottom: 118
      }
      class_name: "android.widget.FrameLayout"
      depth: 2
    }
    nodes {
      bounds_in_screen {
        left: 47
        right: 1027
        bottom: 118
      }
      class_name: "android.widget.LinearLayout"
      depth: 3
    }
    nodes {
      bounds_in_screen {
        left: 47
        top: 1
        right: 454
        bottom: 118
      }
      class_name: "android.widget.FrameLayout"
      depth: 4
    }
    nodes {
      bounds_in_screen {
        left: 454
        top: 1
        right: 599
        bottom: 118
      }
      class_name: "android.view.View"
      depth: 4
    }
    nodes {
      bounds_in_screen {
        left: 599
        top: 1
        right: 1006
        bottom: 118
      }
      class_name: "android.widget.LinearLayout"
      depth: 4
    }
    nodes {
      bounds_in_screen {
        left: 47
        top: 1
        right: 454
        bottom: 118
      }
      class_name: "android.widget.LinearLayout"
      depth: 5
    }
    nodes {
      bounds_in_screen {
        left: 924
        top: 1
        right: 1006
        bottom: 118
      }
      class_name: "android.widget.LinearLayout"
      depth: 5
    }
    nodes {
      bounds_in_screen {
        left: 47
        top: 1
        right: 133
        bottom: 118
      }
      class_name: "android.widget.TextView"
      content_description: "9:48 AM"
      text: "9:48"
      depth: 6
    }
    nodes {
      bounds_in_screen {
        left: 133
        top: 1
        right: 454
        bottom: 118
      }
      class_name: "android.widget.FrameLayout"
      depth: 6
    }
    nodes {
      bounds_in_screen {
        left: 924
        top: 1
        right: 986
        bottom: 118
      }
      class_name: "android.widget.LinearLayout"
      depth: 6
    }
    nodes {
      bounds_in_screen {
        left: 986
        top: 1
        right: 1006
        bottom: 118
      }
      class_name: "android.widget.LinearLayout"
      content_description: "Battery charging, 100 percent."
      depth: 6
    }
    nodes {
      bounds_in_screen {
        left: 133
        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: 133
        top: 1
        right: 454
        bottom: 118
      }
      class_name: "android.widget.FrameLayout"
      depth: 8
    }
    nodes {
      bounds_in_screen {
        left: 931
        top: 30
        right: 970
        bottom: 88
      }
      class_name: "android.widget.LinearLayout"
      depth: 8
    }
    nodes {
      bounds_in_screen {
        left: 931
        top: 39
        right: 970
        bottom: 78
      }
      class_name: "android.widget.FrameLayout"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 931
        top: 39
        right: 970
        bottom: 78
      }
      class_name: "android.widget.ImageView"
      depth: 10
    }
  }
}
windows {
  bounds_in_screen {
    right: 1080
    bottom: 2400
  }
  id: 641
  title: "Home"
  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: 2400
      }
      class_name: "android.widget.FrameLayout"
      depth: 2
    }
    nodes {
      bounds_in_screen {
        right: 1080
        bottom: 2400
      }
      class_name: "android.widget.FrameLayout"
      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.view.View"
      depth: 5
    }
    nodes {
      bounds_in_screen {
        right: 1080
        bottom: 2400
      }
      class_name: "android.widget.ScrollView"
      is_scrollable: true
      depth: 5
    }
    nodes {
      bounds_in_screen {
        top: 118
        right: 1080
        bottom: 2337
      }
      class_name: "android.view.View"
      content_description: "Home"
      depth: 5
    }
    nodes {
      bounds_in_screen {
        top: 1791
        right: 1080
        bottom: 1854
      }
      class_name: "android.view.View"
      depth: 5
    }
    nodes {
      bounds_in_screen {
        top: 1854
        right: 1080
        bottom: 2400
      }
      class_name: "android.view.ViewGroup"
      depth: 5
    }
    nodes {
      bounds_in_screen {
        left: 29
        top: 192
        right: 1051
        bottom: 1776
      }
      class_name: "android.view.ViewGroup"
      depth: 6
    }
    nodes {
      bounds_in_screen {
        left: 1081
        top: 192
        right: 1080
        bottom: 1776
      }
      class_name: "android.view.ViewGroup"
      depth: 6
    }
    nodes {
      bounds_in_screen {
        left: 76
        top: 1854
        right: 1004
        bottom: 2049
      }
      class_name: "android.view.ViewGroup"
      depth: 6
    }
    nodes {
      bounds_in_screen {
        left: 75
        top: 2125
        right: 1004
        bottom: 2290
      }
      class_name: "android.widget.FrameLayout"
      content_description: "Search"
      is_clickable: true
      is_focusable: true
      is_long_clickable: true
      depth: 6
    }
    nodes {
      bounds_in_screen {
        left: 57
        top: 220
        right: 1023
        bottom: 1748
      }
      class_name: "android.view.ViewGroup"
      depth: 7
    }
    nodes {
      bounds_in_screen {
        left: 1109
        top: 220
        right: 1080
        bottom: 1748
      }
      class_name: "android.view.ViewGroup"
      depth: 7
    }
    nodes {
      bounds_in_screen {
        left: 76
        top: 1854
        right: 249
        bottom: 2049
      }
      class_name: "android.widget.TextView"
      content_description: "Phone"
      text: "Phone"
      is_clickable: true
      is_focusable: true
      is_long_clickable: true
      depth: 7
    }
    nodes {
      bounds_in_screen {
        left: 328
        top: 1854
        right: 501
        bottom: 2049
      }
      class_name: "android.widget.TextView"
      content_description: "Messages"
      text: "Messages"
      is_clickable: true
      is_focusable: true
      is_long_clickable: true
      depth: 7
    }
    nodes {
      bounds_in_screen {
        left: 580
        top: 1854
        right: 753
        bottom: 2049
      }
      class_name: "android.widget.TextView"
      content_description: "Chrome"
      text: "Chrome"
      is_clickable: true
      is_focusable: true
      is_long_clickable: true
      depth: 7
    }
    nodes {
      bounds_in_screen {
        left: 832
        top: 1854
        right: 1004
        bottom: 2049
      }
      class_name: "android.widget.TextView"
      content_description: "Camera"
      text: "Camera"
      is_clickable: true
      is_focusable: true
      is_long_clickable: true
      depth: 7
    }
    nodes {
      bounds_in_screen {
        left: 117
        top: 2176
        right: 180
        bottom: 2239
      }
      class_name: "android.widget.ImageView"
      depth: 7
    }
    nodes {
      bounds_in_screen {
        left: 741
        top: 2125
        right: 993
        bottom: 2290
      }
      class_name: "android.widget.LinearLayout"
      depth: 7
    }
    nodes {
      bounds_in_screen {
        left: 57
        top: 220
        right: 1023
        bottom: 492
      }
      class_name: "android.widget.FrameLayout"
      depth: 8
    }
    nodes {
      bounds_in_screen {
        left: 57
        top: 1476
        right: 267
        bottom: 1748
      }
      class_name: "android.widget.TextView"
      content_description: "Play Store"
      text: "Play Store"
      is_clickable: true
      is_focusable: true
      is_long_clickable: true
      depth: 8
    }
    nodes {
      bounds_in_screen {
        left: 309
        top: 1476
        right: 519
        bottom: 1748
      }
      class_name: "android.widget.TextView"
      content_description: "Gmail"
      text: "Gmail"
      is_clickable: true
      is_focusable: true
      is_long_clickable: true
      depth: 8
    }
    nodes {
      bounds_in_screen {
        left: 561
        top: 1476
        right: 771
        bottom: 1748
      }
      class_name: "android.widget.TextView"
      content_description: "Photos"
      text: "Photos"
      is_clickable: true
      is_focusable: true
      is_long_clickable: true
      depth: 8
    }
    nodes {
      bounds_in_screen {
        left: 813
        top: 1476
        right: 1023
        bottom: 1748
      }
      class_name: "android.widget.TextView"
      content_description: "YouTube"
      text: "YouTube"
      is_clickable: true
      is_focusable: true
      is_long_clickable: true
      depth: 8
    }
    nodes {
      bounds_in_screen {
        left: 1109
        top: 220
        right: 1080
        bottom: 492
      }
      class_name: "android.widget.TextView"
      content_description: "DBW Showcase App"
      text: "DBW Showcase App"
      is_clickable: true
      is_focusable: true
      is_long_clickable: true
      depth: 8
    }
    nodes {
      bounds_in_screen {
        left: 1361
        top: 220
        right: 1080
        bottom: 492
      }
      class_name: "android.widget.TextView"
      content_description: "Amazon Seller"
      text: "Amazon Seller"
      is_clickable: true
      is_focusable: true
      is_long_clickable: true
      depth: 8
    }
    nodes {
      bounds_in_screen {
        left: 1613
        top: 220
        right: 1080
        bottom: 492
      }
      class_name: "android.widget.TextView"
      content_description: "Amazon"
      text: "Amazon"
      is_clickable: true
      is_focusable: true
      is_long_clickable: true
      depth: 8
    }
    nodes {
      bounds_in_screen {
        left: 1865
        top: 220
        right: 1080
        bottom: 492
      }
      class_name: "android.widget.TextView"
      content_description: "MX Player"
      text: "MX Player"
      is_clickable: true
      is_focusable: true
      is_long_clickable: true
      depth: 8
    }
    nodes {
      bounds_in_screen {
        left: 1109
        top: 534
        right: 1080
        bottom: 806
      }
      class_name: "android.widget.TextView"
      content_description: "Zomato"
      text: "Zomato"
      is_clickable: true
      is_focusable: true
      is_long_clickable: true
      depth: 8
    }
    nodes {
      bounds_in_screen {
        left: 1361
        top: 534
        right: 1080
        bottom: 806
      }
      class_name: "android.widget.TextView"
      content_description: "Decathlon"
      text: "Decathlon"
      is_clickable: true
      is_focusable: true
      is_long_clickable: true
      depth: 8
    }
    nodes {
      bounds_in_screen {
        left: 1613
        top: 534
        right: 1080
        bottom: 806
      }
      class_name: "android.widget.TextView"
      content_description: "eBay"
      text: "eBay"
      is_clickable: true
      is_focusable: true
      is_long_clickable: true
      depth: 8
    }
    nodes {
      bounds_in_screen {
        left: 1865
        top: 534
        right: 1080
        bottom: 806
      }
      class_name: "android.widget.TextView"
      content_description: "Nike"
      text: "Nike"
      is_clickable: true
      is_focusable: true
      is_long_clickable: true
      depth: 8
    }
    nodes {
      bounds_in_screen {
        left: 1109
        top: 848
        right: 1080
        bottom: 1120
      }
      class_name: "android.widget.TextView"
      content_description: "Flipkart"
      text: "Flipkart"
      is_clickable: true
      is_focusable: true
      is_long_clickable: true
      depth: 8
    }
    nodes {
      bounds_in_screen {
        left: 1361
        top: 848
        right: 1080
        bottom: 1120
      }
      class_name: "android.widget.TextView"
      content_description: "Sports World"
      text: "Sports World"
      is_clickable: true
      is_focusable: true
      is_long_clickable: true
      depth: 8
    }
    nodes {
      bounds_in_screen {
        left: 1613
        top: 848
        right: 1080
        bottom: 1120
      }
      class_name: "android.widget.TextView"
      content_description: "Myntra"
      text: "Myntra"
      is_clickable: true
      is_focusable: true
      is_long_clickable: true
      depth: 8
    }
    nodes {
      bounds_in_screen {
        left: 1865
        top: 848
        right: 1080
        bottom: 1120
      }
      class_name: "android.widget.TextView"
      content_description: "REI Co-op"
      text: "REI Co-op"
      is_clickable: true
      is_focusable: true
      is_long_clickable: true
      depth: 8
    }
    nodes {
      bounds_in_screen {
        left: 1109
        top: 1162
        right: 1080
        bottom: 1434
      }
      class_name: "android.widget.TextView"
      content_description: "BYJU\'S The Learning App"
      text: "BYJU\'S The Learning App"
      is_clickable: true
      is_focusable: true
      is_long_clickable: true
      depth: 8
    }
    nodes {
      bounds_in_screen {
        left: 1361
        top: 1162
        right: 1080
        bottom: 1434
      }
      class_name: "android.widget.TextView"
      content_description: "Unacademy"
      text: "Unacademy"
      is_clickable: true
      is_focusable: true
      is_long_clickable: true
      depth: 8
    }
    nodes {
      bounds_in_screen {
        left: 1613
        top: 1162
        right: 1080
        bottom: 1434
      }
      class_name: "android.widget.TextView"
      content_description: "Toppr"
      text: "Toppr"
      is_clickable: true
      is_focusable: true
      is_long_clickable: true
      depth: 8
    }
    nodes {
      bounds_in_screen {
        left: 1865
        top: 1162
        right: 1080
        bottom: 1434
      }
      class_name: "android.widget.TextView"
      content_description: "Coursera"
      text: "Coursera"
      is_clickable: true
      is_focusable: true
      is_long_clickable: true
      depth: 8
    }
    nodes {
      bounds_in_screen {
        left: 1109
        top: 1476
        right: 1080
        bottom: 1748
      }
      class_name: "android.widget.TextView"
      content_description: "Simplilearn"
      text: "Simplilearn"
      is_clickable: true
      is_focusable: true
      is_long_clickable: true
      depth: 8
    }
    nodes {
      bounds_in_screen {
        left: 1361
        top: 1476
        right: 1080
        bottom: 1748
      }
      class_name: "android.widget.TextView"
      content_description: "Duolingo"
      text: "Duolingo"
      is_clickable: true
      is_focusable: true
      is_long_clickable: true
      depth: 8
    }
    nodes {
      bounds_in_screen {
        left: 1613
        top: 1476
        right: 1080
        bottom: 1748
      }
      class_name: "android.widget.TextView"
      content_description: "Khan Academy"
      text: "Khan Academy"
      is_clickable: true
      is_focusable: true
      is_long_clickable: true
      depth: 8
    }
    nodes {
      bounds_in_screen {
        left: 741
        top: 2125
        right: 867
        bottom: 2290
      }
      class_name: "android.widget.ImageView"
      content_description: "Voice search"
      is_clickable: true
      depth: 8
    }
    nodes {
      bounds_in_screen {
        left: 867
        top: 2125
        right: 993
        bottom: 2290
      }
      class_name: "android.widget.ImageButton"
      content_description: "Google Lens"
      is_clickable: true
      is_focusable: true
      depth: 8
    }
    nodes {
      bounds_in_screen {
        left: 99
        top: 221
        right: 1023
        bottom: 492
      }
      class_name: "android.widget.FrameLayout"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 99
        top: 221
        right: 1023
        bottom: 492
      }
      class_name: "androidx.viewpager.widget.ViewPager"
      is_focusable: true
      is_long_clickable: true
      depth: 10
    }
    nodes {
      bounds_in_screen {
        left: 99
        top: 221
        right: 1023
        bottom: 492
      }
      class_name: "android.view.ViewGroup"
      is_clickable: true
      is_focusable: true
      depth: 11
    }
    nodes {
      bounds_in_screen {
        left: 99
        top: 304
        right: 1023
        bottom: 468
      }
      class_name: "android.widget.RelativeLayout"
      depth: 12
    }
    nodes {
      bounds_in_screen {
        left: 99
        top: 304
        right: 339
        bottom: 370
      }
      class_name: "android.widget.TextView"
      content_description: "Tue, Jul 18"
      text: "Tue, Jul 18"
      depth: 13
    }
    nodes {
      bounds_in_screen {
        left: 99
        top: 394
        right: 684
        bottom: 447
      }
      class_name: "android.view.ViewGroup"
      depth: 13
    }
    nodes {
      bounds_in_screen {
        left: 99
        top: 394
        right: 254
        bottom: 447
      }
      class_name: "android.widget.TextView"
      content_description: "Fog, 29°C"
      text: "29°C"
      is_clickable: true
      is_focusable: true
      depth: 14
    }
    nodes {
      bounds_in_screen {
        left: 275
        top: 394
        right: 684
        bottom: 447
      }
      class_name: "android.widget.TextView"
      text: "· Today 31° / 26° · Fog"
      is_clickable: true
      is_focusable: true
      depth: 14
    }
  }
}


assistant: !FUNCTIONCALL{"name": "open_app", "parameters": {"app_name": "Khan Academy"}}