instruction
In the maths test app practice additional problems..
previous_actions
active_application
Math Tests
screen_description
windows {
  bounds_in_screen {
    right: 1080
    bottom: 136
  }
  id: 1861
  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: 537
        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: 537
        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: 247
        bottom: 136
      }
      class_name: "android.widget.TextView"
      content_description: "10:36 AM"
      text: "10:36"
      depth: 7
    }
    nodes {
      bounds_in_screen {
        left: 247
        top: 1
        right: 537
        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: 247
        top: 1
        right: 537
        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 signal full."
      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: 247
        top: 1
        right: 305
        bottom: 136
      }
      class_name: "android.widget.ImageView"
      content_description: "YouTube notification: The Script"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 305
        top: 1
        right: 363
        bottom: 136
      }
      class_name: "android.widget.ImageView"
      content_description: "YouTube notification: The Script"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 363
        top: 1
        right: 421
        bottom: 136
      }
      class_name: "android.widget.ImageView"
      content_description: "Xe notification: NEW: Refer a friend"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 421
        top: 1
        right: 479
        bottom: 136
      }
      class_name: "android.widget.ImageView"
      content_description: "Flipkart notification: Curtain Raising at Midnight! 🎪"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 479
        top: 1
        right: 537
        bottom: 136
      }
      class_name: "android.widget.ImageView"
      content_description: "Myntra notification: "
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 497
        top: 1
        right: 537
        bottom: 136
      }
      class_name: "android.widget.ImageView"
      content_description: "BestPrice Flipkart Wholesale notification: "
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 497
        top: 1
        right: 537
        bottom: 136
      }
      class_name: "android.widget.ImageView"
      content_description: "Any.do notification: Integrate with Alexa to add reminders hands free 🙌"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 497
        top: 1
        right: 537
        bottom: 136
      }
      class_name: "android.widget.ImageView"
      content_description: "YouTube notification: How To Make The Best Jasmine Rice On The Stovetop | Perfect for Meal Prep"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 497
        top: 1
        right: 537
        bottom: 136
      }
      class_name: "android.widget.ImageView"
      content_description: "Google News notification: "
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 497
        top: 1
        right: 537
        bottom: 136
      }
      class_name: "android.widget.ImageView"
      content_description: "Google Play services notification: "
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 497
        top: 1
        right: 537
        bottom: 136
      }
      class_name: "android.widget.ImageView"
      content_description: "Dictionary notification: "
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 497
        top: 1
        right: 537
        bottom: 136
      }
      class_name: "android.widget.ImageView"
      content_description: "Android System notification: 2 unused apps"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 497
        top: 1
        right: 537
        bottom: 136
      }
      class_name: "android.widget.ImageView"
      content_description: "English Dictionary notification: "
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 497
        top: 1
        right: 537
        bottom: 136
      }
      class_name: "android.widget.ImageView"
      content_description: "Google Play Store notification: Manage your spend with Google Play"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 497
        top: 1
        right: 537
        bottom: 136
      }
      class_name: "android.widget.ImageView"
      content_description: "YouTube 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 {
    right: 1080
    bottom: 2400
  }
  id: 2287
  title: "Math Tests"
  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.view.ViewGroup"
      depth: 3
    }
    nodes {
      bounds_in_screen {
        top: 136
        right: 1080
        bottom: 283
      }
      class_name: "android.widget.FrameLayout"
      depth: 4
    }
    nodes {
      bounds_in_screen {
        top: 283
        right: 1080
        bottom: 2337
      }
      class_name: "android.widget.FrameLayout"
      depth: 4
    }
    nodes {
      bounds_in_screen {
        top: 136
        right: 1080
        bottom: 283
      }
      class_name: "android.view.ViewGroup"
      depth: 5
    }
    nodes {
      bounds_in_screen {
        top: 283
        right: 1080
        bottom: 2337
      }
      class_name: "android.widget.RelativeLayout"
      depth: 5
    }
    nodes {
      bounds_in_screen {
        top: 136
        right: 147
        bottom: 283
      }
      class_name: "android.widget.ImageButton"
      content_description: "Navigate up"
      is_clickable: true
      is_focusable: true
      depth: 6
    }
    nodes {
      bounds_in_screen {
        left: 189
        top: 178
        right: 425
        bottom: 241
      }
      class_name: "android.widget.TextView"
      text: "Math Tests"
      depth: 6
    }
    nodes {
      bounds_in_screen {
        left: 492
        top: 136
        right: 1080
        bottom: 283
      }
      class_name: "androidx.appcompat.widget.LinearLayoutCompat"
      depth: 6
    }
    nodes {
      bounds_in_screen {
        left: 52
        top: 309
        right: 1028
        bottom: 2311
      }
      class_name: "android.widget.ListView"
      is_focusable: true
      depth: 6
    }
    nodes {
      bounds_in_screen {
        left: 492
        top: 146
        right: 722
        bottom: 272
      }
      class_name: "android.widget.TextView"
      text: "PREMIUM"
      is_clickable: true
      is_focusable: true
      depth: 7
    }
    nodes {
      bounds_in_screen {
        left: 722
        top: 146
        right: 848
        bottom: 272
      }
      class_name: "android.widget.TextView"
      content_description: "Share app link"
      is_clickable: true
      is_focusable: true
      depth: 7
      tooltip_text: "Share app link"
    }
    nodes {
      bounds_in_screen {
        left: 848
        top: 146
        right: 975
        bottom: 272
      }
      class_name: "android.widget.TextView"
      content_description: "Search"
      is_clickable: true
      is_focusable: true
      depth: 7
      tooltip_text: "Search"
    }
    nodes {
      bounds_in_screen {
        left: 975
        top: 146
        right: 1080
        bottom: 272
      }
      class_name: "android.widget.ImageView"
      content_description: "More options"
      is_clickable: true
      is_focusable: true
      is_long_clickable: true
      depth: 7
      tooltip_text: "More options"
    }
    nodes {
      bounds_in_screen {
        left: 52
        top: 309
        right: 1028
        bottom: 525
      }
      class_name: "android.widget.RelativeLayout"
      is_clickable: true
      depth: 7
    }
    nodes {
      bounds_in_screen {
        left: 52
        top: 551
        right: 1028
        bottom: 767
      }
      class_name: "android.widget.RelativeLayout"
      is_clickable: true
      depth: 7
    }
    nodes {
      bounds_in_screen {
        left: 52
        top: 793
        right: 1028
        bottom: 1009
      }
      class_name: "android.widget.RelativeLayout"
      is_clickable: true
      depth: 7
    }
    nodes {
      bounds_in_screen {
        left: 52
        top: 1035
        right: 1028
        bottom: 1251
      }
      class_name: "android.widget.RelativeLayout"
      is_clickable: true
      depth: 7
    }
    nodes {
      bounds_in_screen {
        left: 52
        top: 1277
        right: 1028
        bottom: 1493
      }
      class_name: "android.widget.RelativeLayout"
      is_clickable: true
      depth: 7
    }
    nodes {
      bounds_in_screen {
        left: 52
        top: 1519
        right: 1028
        bottom: 1735
      }
      class_name: "android.widget.RelativeLayout"
      is_clickable: true
      depth: 7
    }
    nodes {
      bounds_in_screen {
        left: 52
        top: 1761
        right: 1028
        bottom: 1977
      }
      class_name: "android.widget.RelativeLayout"
      is_clickable: true
      depth: 7
    }
    nodes {
      bounds_in_screen {
        left: 52
        top: 2003
        right: 1028
        bottom: 2219
      }
      class_name: "android.widget.RelativeLayout"
      is_clickable: true
      depth: 7
    }
    nodes {
      bounds_in_screen {
        left: 65
        top: 322
        right: 1015
        bottom: 512
      }
      class_name: "android.widget.RelativeLayout"
      depth: 8
    }
    nodes {
      bounds_in_screen {
        left: 65
        top: 564
        right: 1015
        bottom: 754
      }
      class_name: "android.widget.RelativeLayout"
      depth: 8
    }
    nodes {
      bounds_in_screen {
        left: 65
        top: 806
        right: 1015
        bottom: 996
      }
      class_name: "android.widget.RelativeLayout"
      depth: 8
    }
    nodes {
      bounds_in_screen {
        left: 65
        top: 1048
        right: 1015
        bottom: 1238
      }
      class_name: "android.widget.RelativeLayout"
      depth: 8
    }
    nodes {
      bounds_in_screen {
        left: 65
        top: 1290
        right: 1015
        bottom: 1480
      }
      class_name: "android.widget.RelativeLayout"
      depth: 8
    }
    nodes {
      bounds_in_screen {
        left: 65
        top: 1532
        right: 1015
        bottom: 1722
      }
      class_name: "android.widget.RelativeLayout"
      depth: 8
    }
    nodes {
      bounds_in_screen {
        left: 65
        top: 1774
        right: 1015
        bottom: 1964
      }
      class_name: "android.widget.RelativeLayout"
      depth: 8
    }
    nodes {
      bounds_in_screen {
        left: 65
        top: 2016
        right: 1015
        bottom: 2206
      }
      class_name: "android.widget.RelativeLayout"
      depth: 8
    }
    nodes {
      bounds_in_screen {
        left: 83
        top: 340
        right: 944
        bottom: 494
      }
      class_name: "android.widget.TextView"
      text: "Adding numbers 1-100 in columns (no carrying)"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 971
        top: 397
        right: 997
        bottom: 436
      }
      class_name: "android.widget.RelativeLayout"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 83
        top: 494
        right: 931
        bottom: 494
      }
      class_name: "android.widget.RelativeLayout"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 83
        top: 582
        right: 944
        bottom: 736
      }
      class_name: "android.widget.TextView"
      text: "Adding numbers 1-100 in columns (with carrying)"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 971
        top: 639
        right: 997
        bottom: 678
      }
      class_name: "android.widget.RelativeLayout"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 83
        top: 736
        right: 931
        bottom: 736
      }
      class_name: "android.widget.RelativeLayout"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 83
        top: 824
        right: 944
        bottom: 978
      }
      class_name: "android.widget.TextView"
      text: "Subtracting 1-100 numbers in columns (no carrying)"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 971
        top: 881
        right: 997
        bottom: 920
      }
      class_name: "android.widget.RelativeLayout"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 83
        top: 978
        right: 931
        bottom: 978
      }
      class_name: "android.widget.RelativeLayout"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 83
        top: 1066
        right: 944
        bottom: 1220
      }
      class_name: "android.widget.TextView"
      text: "Subtracting 1-100 numbers in columns (with carrying)"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 948
        top: 1123
        right: 997
        bottom: 1162
      }
      class_name: "android.widget.RelativeLayout"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 83
        top: 1220
        right: 931
        bottom: 1220
      }
      class_name: "android.widget.RelativeLayout"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 83
        top: 1308
        right: 944
        bottom: 1462
      }
      class_name: "android.widget.TextView"
      text: "Adding numbers 1-1,000 in columns (no carrying)"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 948
        top: 1365
        right: 997
        bottom: 1404
      }
      class_name: "android.widget.RelativeLayout"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 83
        top: 1462
        right: 931
        bottom: 1462
      }
      class_name: "android.widget.RelativeLayout"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 83
        top: 1550
        right: 944
        bottom: 1704
      }
      class_name: "android.widget.TextView"
      text: "Adding numbers 1-1,000 in columns (with carrying)"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 948
        top: 1607
        right: 997
        bottom: 1646
      }
      class_name: "android.widget.RelativeLayout"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 83
        top: 1704
        right: 931
        bottom: 1704
      }
      class_name: "android.widget.RelativeLayout"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 83
        top: 1792
        right: 944
        bottom: 1946
      }
      class_name: "android.widget.TextView"
      text: "Subtracting numbers 1-1,000 in columns (no carrying)"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 948
        top: 1849
        right: 997
        bottom: 1888
      }
      class_name: "android.widget.RelativeLayout"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 83
        top: 1946
        right: 931
        bottom: 1946
      }
      class_name: "android.widget.RelativeLayout"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 83
        top: 2034
        right: 944
        bottom: 2188
      }
      class_name: "android.widget.TextView"
      text: "Subtracting numbers 1-1,000 in columns (with carrying)"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 948
        top: 2091
        right: 997
        bottom: 2130
      }
      class_name: "android.widget.RelativeLayout"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 83
        top: 2188
        right: 931
        bottom: 2188
      }
      class_name: "android.widget.RelativeLayout"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 971
        top: 397
        right: 997
        bottom: 436
      }
      class_name: "android.widget.ImageView"
      depth: 10
    }
    nodes {
      bounds_in_screen {
        left: 971
        top: 639
        right: 997
        bottom: 678
      }
      class_name: "android.widget.ImageView"
      depth: 10
    }
    nodes {
      bounds_in_screen {
        left: 971
        top: 881
        right: 997
        bottom: 920
      }
      class_name: "android.widget.ImageView"
      depth: 10
    }
    nodes {
      bounds_in_screen {
        left: 948
        top: 1123
        right: 997
        bottom: 1162
      }
      class_name: "android.widget.ImageView"
      depth: 10
    }
    nodes {
      bounds_in_screen {
        left: 948
        top: 1365
        right: 997
        bottom: 1404
      }
      class_name: "android.widget.ImageView"
      depth: 10
    }
    nodes {
      bounds_in_screen {
        left: 948
        top: 1607
        right: 997
        bottom: 1646
      }
      class_name: "android.widget.ImageView"
      depth: 10
    }
    nodes {
      bounds_in_screen {
        left: 948
        top: 1849
        right: 997
        bottom: 1888
      }
      class_name: "android.widget.ImageView"
      depth: 10
    }
    nodes {
      bounds_in_screen {
        left: 948
        top: 2091
        right: 997
        bottom: 2130
      }
      class_name: "android.widget.ImageView"
      depth: 10
    }
  }
}

assistant
!FUNCTIONCALL{"name": "click", "parameters": {"x": 984, "y": 423}}
[{"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"]}}}]