instruction
I would like to use the math app to help my child with their math homework , thus i want to view the algebra chapter details 
previous_actions
{"name": "click", "parameters": {"x": 81, "y": 226}}
{"name": "click", "parameters": {"x": 753, "y": 1430}}
{"name": "scroll", "parameters": {"direction": "down"}}
active_application
Math
screen_description
windows {
  bounds_in_screen {
    right: 1080
    bottom: 118
  }
  id: 5
  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: 131
        bottom: 118
      }
      class_name: "android.widget.TextView"
      content_description: "8:55 AM"
      text: "8:55"
      depth: 6
    }
    nodes {
      bounds_in_screen {
        left: 131
        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: 131
        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: 131
        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: 131
        top: 1
        right: 189
        bottom: 118
      }
      class_name: "android.widget.ImageView"
      content_description: "Google Play services notification: "
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 189
        top: 1
        right: 247
        bottom: 118
      }
      class_name: "android.widget.ImageView"
      content_description: "Google notification: Today\'s forecast · Kanpur"
      depth: 9
    }
    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: 582
  title: "Math"
  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.view.ViewGroup"
      depth: 1
    }
    nodes {
      bounds_in_screen {
        right: 1080
        bottom: 2337
      }
      class_name: "android.widget.LinearLayout"
      depth: 1
    }
    nodes {
      bounds_in_screen {
        right: 1080
        bottom: 118
      }
      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: 119
        right: 1080
        bottom: 2338
      }
      class_name: "android.view.ViewGroup"
      depth: 2
    }
    nodes {
      bounds_in_screen {
        top: 118
        right: 1080
        bottom: 2337
      }
      class_name: "android.widget.FrameLayout"
      depth: 2
    }
    nodes {
      bounds_in_screen {
        top: 119
        right: 1080
        bottom: 1105
      }
      class_name: "android.widget.Button"
      is_clickable: true
      is_focusable: true
      depth: 3
    }
    nodes {
      bounds_in_screen {
        top: 1105
        right: 1080
        bottom: 2338
      }
      class_name: "android.widget.FrameLayout"
      depth: 3
    }
    nodes {
      bounds_in_screen {
        top: 118
        right: 1080
        bottom: 2337
      }
      class_name: "android.widget.FrameLayout"
      depth: 3
    }
    nodes {
      bounds_in_screen {
        left: 53
        top: 1158
        right: 1028
        bottom: 2287
      }
      class_name: "android.view.ViewGroup"
      depth: 4
    }
    nodes {
      bounds_in_screen {
        top: 118
        right: 1080
        bottom: 2337
      }
      class_name: "android.widget.FrameLayout"
      depth: 4
    }
    nodes {
      bounds_in_screen {
        left: 53
        top: 1174
        right: 1028
        bottom: 1753
      }
      class_name: "android.view.View"
      depth: 5
    }
    nodes {
      bounds_in_screen {
        left: 931
        top: 1158
        right: 1028
        bottom: 1295
      }
      class_name: "android.view.View"
      depth: 5
    }
    nodes {
      bounds_in_screen {
        left: 151
        top: 1787
        right: 931
        bottom: 1962
      }
      class_name: "android.view.ViewGroup"
      depth: 5
    }
    nodes {
      bounds_in_screen {
        left: 151
        top: 1986
        right: 931
        bottom: 2117
      }
      class_name: "android.view.View"
      depth: 5
    }
    nodes {
      bounds_in_screen {
        left: 151
        top: 2143
        right: 931
        bottom: 2274
      }
      class_name: "android.view.View"
      depth: 5
    }
    nodes {
      bounds_in_screen {
        top: 118
        right: 1080
        bottom: 2337
      }
      class_name: "android.view.ViewGroup"
      depth: 5
    }
    nodes {
      bounds_in_screen {
        left: 151
        top: 1787
        right: 521
        bottom: 1865
      }
      class_name: "android.view.View"
      depth: 6
    }
    nodes {
      bounds_in_screen {
        left: 562
        top: 1787
        right: 931
        bottom: 1865
      }
      class_name: "android.view.View"
      depth: 6
    }
    nodes {
      bounds_in_screen {
        left: 157
        top: 1870
        right: 926
        bottom: 1956
      }
      class_name: "android.view.View"
      depth: 6
    }
    nodes {
      bounds_in_screen {
        top: 118
        right: 1080
        bottom: 118
      }
      class_name: "android.widget.LinearLayout"
      depth: 6
    }
    nodes {
      bounds_in_screen {
        top: 118
        right: 1080
        bottom: 2337
      }
      class_name: "android.view.View"
      depth: 6
    }
    nodes {
      bounds_in_screen {
        top: 118
        right: 1080
        bottom: 2337
      }
      class_name: "android.widget.FrameLayout"
      depth: 6
    }
    nodes {
      bounds_in_screen {
        top: 2337
        right: 1080
        bottom: 2337
      }
      class_name: "android.widget.FrameLayout"
      depth: 6
    }
    nodes {
      bounds_in_screen {
        top: 118
        right: 1080
        bottom: 118
      }
      class_name: "android.widget.FrameLayout"
      depth: 7
    }
    nodes {
      bounds_in_screen {
        top: 118
        right: 1080
        bottom: 118
      }
      class_name: "android.view.ViewGroup"
      depth: 7
    }
    nodes {
      bounds_in_screen {
        top: 118
        right: 1080
        bottom: 2337
      }
      class_name: "android.widget.FrameLayout"
      depth: 7
    }
    nodes {
      bounds_in_screen {
        left: 1080
        top: 118
        right: 1080
        bottom: 118
      }
      class_name: "androidx.appcompat.widget.LinearLayoutCompat"
      depth: 8
    }
    nodes {
      bounds_in_screen {
        top: 118
        right: 1080
        bottom: 2337
      }
      class_name: "android.widget.FrameLayout"
      depth: 8
    }
    nodes {
      bounds_in_screen {
        top: 118
        right: 1080
        bottom: 2337
      }
      class_name: "android.view.ViewGroup"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        top: 118
        right: 1080
        bottom: 2337
      }
      class_name: "android.view.ViewGroup"
      depth: 10
    }
    nodes {
      bounds_in_screen {
        top: 118
        right: 1080
        bottom: 2109
      }
      class_name: "android.view.ViewGroup"
      depth: 11
    }
    nodes {
      bounds_in_screen {
        top: 2109
        right: 1080
        bottom: 2114
      }
      class_name: "android.view.ViewGroup"
      depth: 11
    }
    nodes {
      bounds_in_screen {
        top: 2114
        right: 1080
        bottom: 2337
      }
      class_name: "android.view.ViewGroup"
      depth: 11
    }
    nodes {
      bounds_in_screen {
        top: 118
        right: 1080
        bottom: 2109
      }
      class_name: "android.view.ViewGroup"
      depth: 12
    }
    nodes {
      bounds_in_screen {
        top: 2109
        right: 1080
        bottom: 2114
      }
      class_name: "android.view.View"
      depth: 12
    }
    nodes {
      bounds_in_screen {
        top: 2114
        right: 270
        bottom: 2337
      }
      class_name: "android.view.View"
      depth: 12
    }
    nodes {
      bounds_in_screen {
        left: 270
        top: 2114
        right: 540
        bottom: 2337
      }
      class_name: "android.view.View"
      depth: 12
    }
    nodes {
      bounds_in_screen {
        left: 540
        top: 2114
        right: 810
        bottom: 2337
      }
      class_name: "android.view.View"
      depth: 12
    }
    nodes {
      bounds_in_screen {
        left: 810
        top: 2114
        right: 1080
        bottom: 2337
      }
      class_name: "android.view.View"
      depth: 12
    }
    nodes {
      bounds_in_screen {
        top: 118
        right: 1080
        bottom: 2109
      }
      class_name: "android.view.ViewGroup"
      depth: 13
    }
    nodes {
      bounds_in_screen {
        top: 118
        right: 1080
        bottom: 328
      }
      class_name: "android.view.ViewGroup"
      depth: 14
    }
    nodes {
      bounds_in_screen {
        top: 328
        right: 1080
        bottom: 2109
      }
      class_name: "android.widget.ScrollView"
      is_focusable: true
      is_scrollable: true
      depth: 14
    }
    nodes {
      bounds_in_screen {
        left: 849
        top: 360
        right: 1049
        bottom: 559
      }
      class_name: "android.view.View"
      depth: 14
    }
    nodes {
      bounds_in_screen {
        top: 118
        right: 1080
        bottom: 328
      }
      class_name: "android.view.ViewGroup"
      depth: 15
    }
    nodes {
      bounds_in_screen {
        top: 328
        right: 1080
        bottom: 2109
      }
      class_name: "android.view.ViewGroup"
      depth: 15
    }
    nodes {
      bounds_in_screen {
        left: 19
        top: 137
        right: 342
        bottom: 305
      }
      class_name: "android.view.View"
      depth: 16
    }
    nodes {
      bounds_in_screen {
        left: 360
        top: 118
        right: 720
        bottom: 315
      }
      class_name: "android.view.View"
      depth: 16
    }
    nodes {
      bounds_in_screen {
        left: 720
        top: 118
        right: 1080
        bottom: 323
      }
      class_name: "android.view.View"
      depth: 16
    }
    nodes {
      bounds_in_screen {
        top: 323
        right: 1080
        bottom: 328
      }
      class_name: "android.view.ViewGroup"
      depth: 16
    }
    nodes {
      bounds_in_screen {
        top: 328
        right: 1080
        bottom: 2109
      }
      class_name: "android.view.ViewGroup"
      depth: 16
    }
    nodes {
      bounds_in_screen {
        top: 323
        right: 1080
        bottom: 328
      }
      class_name: "android.view.View"
      depth: 17
    }
    nodes {
      bounds_in_screen {
        top: 328
        right: 1080
        bottom: -138
      }
      class_name: "android.view.View"
      depth: 17
    }
    nodes {
      bounds_in_screen {
        top: 328
        right: 1080
        bottom: 308
      }
      class_name: "android.view.View"
      depth: 17
    }
    nodes {
      bounds_in_screen {
        top: 328
        right: 540
        bottom: 754
      }
      class_name: "android.view.View"
      depth: 17
    }
    nodes {
      bounds_in_screen {
        left: 540
        top: 328
        right: 1080
        bottom: 754
      }
      class_name: "android.view.View"
      depth: 17
    }
    nodes {
      bounds_in_screen {
        top: 754
        right: 540
        bottom: 1200
      }
      class_name: "android.view.View"
      depth: 17
    }
    nodes {
      bounds_in_screen {
        left: 540
        top: 754
        right: 1080
        bottom: 1200
      }
      class_name: "android.view.View"
      depth: 17
    }
    nodes {
      bounds_in_screen {
        top: 1200
        right: 540
        bottom: 1647
      }
      class_name: "android.view.View"
      depth: 17
    }
    nodes {
      bounds_in_screen {
        left: 540
        top: 1200
        right: 1080
        bottom: 1647
      }
      class_name: "android.view.View"
      depth: 17
    }
    nodes {
      bounds_in_screen {
        top: 1647
        right: 540
        bottom: 2093
      }
      class_name: "android.view.View"
      depth: 17
    }
    nodes {
      bounds_in_screen {
        left: 540
        top: 1647
        right: 1080
        bottom: 2093
      }
      class_name: "android.view.View"
      depth: 17
    }
    nodes {
      bounds_in_screen {
        top: 2093
        right: 540
        bottom: 2109
      }
      class_name: "android.view.View"
      depth: 17
    }
    nodes {
      bounds_in_screen {
        left: 540
        top: 2093
        right: 1080
        bottom: 2109
      }
      class_name: "android.view.View"
      depth: 17
    }
    nodes {
      bounds_in_screen {
        top: 2539
        right: 540
        bottom: 2109
      }
      class_name: "android.view.View"
      depth: 17
    }
    nodes {
      bounds_in_screen {
        left: 540
        top: 2539
        right: 1080
        bottom: 2109
      }
      class_name: "android.view.View"
      depth: 17
    }
    nodes {
      bounds_in_screen {
        top: 2985
        right: 1080
        bottom: 2109
      }
      class_name: "android.view.View"
      depth: 17
    }
    nodes {
      bounds_in_screen {
        left: 27
        top: 3471
        right: 1054
        bottom: 2109
      }
      class_name: "android.view.ViewGroup"
      depth: 17
    }
    nodes {
      bounds_in_screen {
        top: 4167
        right: 1080
        bottom: 2109
      }
      class_name: "android.view.View"
      depth: 17
    }
    nodes {
      bounds_in_screen {
        top: 4482
        right: 540
        bottom: 2109
      }
      class_name: "android.view.View"
      depth: 17
    }
    nodes {
      bounds_in_screen {
        left: 540
        top: 4482
        right: 1080
        bottom: 2109
      }
      class_name: "android.view.View"
      depth: 17
    }
    nodes {
      bounds_in_screen {
        top: 4928
        right: 540
        bottom: 2109
      }
      class_name: "android.view.View"
      depth: 17
    }
    nodes {
      bounds_in_screen {
        left: 540
        top: 4928
        right: 1080
        bottom: 2109
      }
      class_name: "android.view.View"
      depth: 17
    }
    nodes {
      bounds_in_screen {
        top: 5374
        right: 540
        bottom: 2109
      }
      class_name: "android.view.View"
      depth: 17
    }
    nodes {
      bounds_in_screen {
        left: 540
        top: 5374
        right: 1080
        bottom: 2109
      }
      class_name: "android.view.View"
      depth: 17
    }
    nodes {
      bounds_in_screen {
        top: 5820
        right: 540
        bottom: 2109
      }
      class_name: "android.view.View"
      depth: 17
    }
    nodes {
      bounds_in_screen {
        left: 540
        top: 5820
        right: 1080
        bottom: 2109
      }
      class_name: "android.view.View"
      depth: 17
    }
    nodes {
      bounds_in_screen {
        top: 6267
        right: 540
        bottom: 2109
      }
      class_name: "android.view.View"
      depth: 17
    }
    nodes {
      bounds_in_screen {
        left: 540
        top: 6267
        right: 1080
        bottom: 2109
      }
      class_name: "android.view.View"
      depth: 17
    }
    nodes {
      bounds_in_screen {
        left: 53
        top: 6747
        right: 1028
        bottom: 2109
      }
      class_name: "android.view.View"
      depth: 17
    }
    nodes {
      bounds_in_screen {
        left: 27
        top: 3471
        right: 1054
        bottom: 2109
      }
      class_name: "android.view.View"
      depth: 18
    }
    nodes {
      bounds_in_screen {
        left: 93
        top: 3550
        right: 989
        bottom: 2109
      }
      class_name: "android.view.View"
      depth: 18
    }
    nodes {
      bounds_in_screen {
        left: 119
        top: 3550
        right: 963
        bottom: 2109
      }
      class_name: "android.view.ViewGroup"
      depth: 18
    }
    nodes {
      bounds_in_screen {
        left: 146
        top: 3676
        right: 937
        bottom: 2109
      }
      class_name: "android.widget.TextView"
      text: "You will learn math much faster with Premium!"
      depth: 19
    }
    nodes {
      bounds_in_screen {
        left: 146
        top: 3905
        right: 937
        bottom: 2109
      }
      class_name: "android.view.View"
      depth: 19
    }
  }
}

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