instruction
In the HealthifyMe app, view your today activity 
previous_actions
{"name": "open_app", "parameters": {"app_name": "HealthifyMe"}}
{"name": "wait", "parameters": {}}
{"name": "click", "parameters": {"x": 539, "y": 2268}}
{"name": "scroll", "parameters": {"direction": "down"}}
active_application
HealthifyMe
screen_description
windows {
  bounds_in_screen {
    right: 1080
    bottom: 136
  }
  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: 513
        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: 513
        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: 223
        bottom: 136
      }
      class_name: "android.widget.TextView"
      content_description: "1:36 PM"
      text: "1:36"
      depth: 7
    }
    nodes {
      bounds_in_screen {
        left: 223
        top: 1
        right: 513
        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: 223
        top: 1
        right: 513
        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 two 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: 223
        top: 1
        right: 281
        bottom: 136
      }
      class_name: "android.widget.ImageView"
      content_description: "PDF Editor notification: 🌟 Make your teamwork dream come true 🙌"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 281
        top: 1
        right: 339
        bottom: 136
      }
      class_name: "android.widget.ImageView"
      content_description: "Bluetooth notification: Bluetooth share: Sent files"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 339
        top: 1
        right: 397
        bottom: 136
      }
      class_name: "android.widget.ImageView"
      content_description: "Calm notification: Mindfulness Reminder"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 397
        top: 1
        right: 455
        bottom: 136
      }
      class_name: "android.widget.ImageView"
      content_description: "Strava notification: All Done!"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 455
        top: 1
        right: 513
        bottom: 136
      }
      class_name: "android.widget.ImageView"
      content_description: "Google Play services notification: Security Alert"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 473
        top: 1
        right: 513
        bottom: 136
      }
      class_name: "android.widget.ImageView"
      content_description: "All Currency Converter notification: All Currency Converter"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 473
        top: 1
        right: 513
        bottom: 136
      }
      class_name: "android.widget.ImageView"
      content_description: "Google Play Store notification: Battlegrounds Mobile India"
      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: 1913
  title: "HealthifyMe"
  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 {
        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.LinearLayout"
      depth: 3
    }
    nodes {
      bounds_in_screen {
        top: 136
        right: 1080
        bottom: 2337
      }
      class_name: "android.widget.FrameLayout"
      depth: 4
    }
    nodes {
      bounds_in_screen {
        top: 136
        right: 1080
        bottom: 2337
      }
      class_name: "android.view.ViewGroup"
      depth: 5
    }
    nodes {
      bounds_in_screen {
        top: 136
        right: 1080
        bottom: 283
      }
      class_name: "android.widget.LinearLayout"
      depth: 6
    }
    nodes {
      bounds_in_screen {
        top: 283
        right: 1080
        bottom: 2211
      }
      class_name: "android.widget.ScrollView"
      is_focusable: true
      depth: 6
    }
    nodes {
      bounds_in_screen {
        top: 2190
        right: 1080
        bottom: 2211
      }
      class_name: "android.view.View"
      depth: 6
    }
    nodes {
      bounds_in_screen {
        top: 2211
        right: 1080
        bottom: 2337
      }
      class_name: "android.widget.Button"
      text: "HOME"
      is_clickable: true
      is_focusable: true
      depth: 6
    }
    nodes {
      bounds_in_screen {
        top: 136
        right: 1080
        bottom: 283
      }
      class_name: "android.view.ViewGroup"
      depth: 7
    }
    nodes {
      bounds_in_screen {
        top: 283
        right: 1080
        bottom: 1626
      }
      class_name: "android.view.ViewGroup"
      depth: 7
    }
    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: 8
      tooltip_text: "Navigate up"
    }
    nodes {
      bounds_in_screen {
        left: 189
        top: 174
        right: 396
        bottom: 245
      }
      class_name: "android.widget.TextView"
      text: "Today"
      is_clickable: true
      is_focusable: true
      depth: 8
    }
    nodes {
      bounds_in_screen {
        left: 828
        top: 136
        right: 975
        bottom: 283
      }
      class_name: "android.widget.ImageView"
      content_description: "Share"
      is_clickable: true
      is_focusable: true
      depth: 8
    }
    nodes {
      bounds_in_screen {
        left: 975
        top: 136
        right: 1080
        bottom: 283
      }
      class_name: "androidx.appcompat.widget.LinearLayoutCompat"
      depth: 8
    }
    nodes {
      bounds_in_screen {
        left: 42
        top: 315
        right: 210
        bottom: 483
      }
      class_name: "android.widget.FrameLayout"
      depth: 8
    }
    nodes {
      bounds_in_screen {
        left: 252
        top: 347
        right: 806
        bottom: 451
      }
      class_name: "android.widget.TextView"
      text: "2 of 327\nCal Burnt"
      depth: 8
    }
    nodes {
      bounds_in_screen {
        left: 806
        top: 336
        right: 932
        bottom: 462
      }
      class_name: "android.widget.ImageButton"
      content_description: "Insights"
      is_clickable: true
      is_focusable: true
      depth: 8
    }
    nodes {
      bounds_in_screen {
        left: 943
        top: 336
        right: 1069
        bottom: 462
      }
      class_name: "android.widget.ImageButton"
      content_description: "Add Workout"
      is_clickable: true
      is_focusable: true
      depth: 8
    }
    nodes {
      bounds_in_screen {
        top: 525
        right: 1080
        bottom: 924
      }
      class_name: "android.widget.FrameLayout"
      depth: 8
    }
    nodes {
      bounds_in_screen {
        top: 924
        right: 1080
        bottom: 924
      }
      class_name: "android.widget.FrameLayout"
      depth: 8
    }
    nodes {
      bounds_in_screen {
        top: 924
        right: 1080
        bottom: 1500
      }
      class_name: "android.widget.FrameLayout"
      depth: 8
    }
    nodes {
      bounds_in_screen {
        top: 1500
        right: 1080
        bottom: 1626
      }
      class_name: "android.widget.LinearLayout"
      depth: 8
    }
    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: 9
      tooltip_text: "More options"
    }
    nodes {
      bounds_in_screen {
        left: 42
        top: 315
        right: 210
        bottom: 483
      }
      class_name: "android.view.View"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 94
        top: 367
        right: 157
        bottom: 430
      }
      class_name: "android.widget.ImageView"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        top: 525
        right: 1080
        bottom: 924
      }
      class_name: "androidx.recyclerview.widget.RecyclerView"
      is_focusable: true
      depth: 9
    }
    nodes {
      bounds_in_screen {
        top: 924
        right: 1080
        bottom: 1500
      }
      class_name: "android.view.ViewGroup"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        top: 1500
        right: 1080
        bottom: 1626
      }
      class_name: "android.view.View"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 42
        top: 525
        right: 1038
        bottom: 693
      }
      class_name: "android.widget.FrameLayout"
      is_clickable: true
      is_focusable: true
      depth: 10
    }
    nodes {
      bounds_in_screen {
        top: 735
        right: 1080
        bottom: 903
      }
      class_name: "android.view.ViewGroup"
      is_clickable: true
      is_focusable: true
      depth: 10
    }
    nodes {
      bounds_in_screen {
        top: 924
        right: 1080
        bottom: 966
      }
      class_name: "android.view.View"
      depth: 10
    }
    nodes {
      bounds_in_screen {
        left: 42
        top: 1008
        right: 423
        bottom: 1065
      }
      class_name: "android.widget.TextView"
      text: "My Workout Routine"
      depth: 10
    }
    nodes {
      bounds_in_screen {
        left: 855
        top: 987
        right: 1059
        bottom: 1080
      }
      class_name: "android.widget.TextView"
      text: "VIEW ALL"
      is_clickable: true
      is_focusable: true
      depth: 10
    }
    nodes {
      bounds_in_screen {
        top: 1107
        right: 1080
        bottom: 1479
      }
      class_name: "androidx.recyclerview.widget.RecyclerView"
      is_focusable: true
      is_scrollable: true
      depth: 10
    }
    nodes {
      bounds_in_screen {
        left: 42
        top: 525
        right: 1038
        bottom: 693
      }
      class_name: "android.view.ViewGroup"
      depth: 11
    }
    nodes {
      bounds_in_screen {
        left: 42
        top: 756
        right: 168
        bottom: 882
      }
      class_name: "android.widget.ImageView"
      depth: 11
    }
    nodes {
      bounds_in_screen {
        left: 210
        top: 756
        right: 823
        bottom: 823
      }
      class_name: "android.widget.TextView"
      text: "Walking"
      depth: 11
    }
    nodes {
      bounds_in_screen {
        left: 210
        top: 823
        right: 823
        bottom: 882
      }
      class_name: "android.widget.TextView"
      text: "0.1 km, 1 minute"
      depth: 11
    }
    nodes {
      bounds_in_screen {
        left: 844
        top: 794
        right: 943
        bottom: 845
      }
      class_name: "android.widget.TextView"
      text: "2 Cal"
      depth: 11
    }
    nodes {
      bounds_in_screen {
        left: 943
        top: 756
        right: 1069
        bottom: 882
      }
      class_name: "android.widget.ImageButton"
      is_clickable: true
      is_focusable: true
      depth: 11
    }
    nodes {
      bounds_in_screen {
        left: 29
        top: 1107
        right: 579
        bottom: 1442
      }
      class_name: "android.widget.FrameLayout"
      is_clickable: true
      is_focusable: true
      depth: 11
    }
    nodes {
      bounds_in_screen {
        left: 595
        top: 1107
        right: 1080
        bottom: 1442
      }
      class_name: "android.widget.FrameLayout"
      is_clickable: true
      is_focusable: true
      depth: 11
    }
    nodes {
      bounds_in_screen {
        left: 84
        top: 557
        right: 731
        bottom: 608
      }
      class_name: "android.widget.TextView"
      text: "Create your Personal Routine"
      depth: 12
    }
    nodes {
      bounds_in_screen {
        left: 84
        top: 619
        right: 731
        bottom: 662
      }
      class_name: "android.widget.TextView"
      text: "Unlock complete workout library"
      depth: 12
    }
    nodes {
      bounds_in_screen {
        left: 870
        top: 525
        right: 1038
        bottom: 693
      }
      class_name: "android.widget.ImageView"
      depth: 12
    }
    nodes {
      bounds_in_screen {
        left: 44
        top: 1125
        right: 564
        bottom: 1424
      }
      class_name: "android.view.ViewGroup"
      depth: 12
    }
    nodes {
      bounds_in_screen {
        left: 610
        top: 1125
        right: 1080
        bottom: 1424
      }
      class_name: "android.view.ViewGroup"
      depth: 12
    }
    nodes {
      bounds_in_screen {
        left: 44
        top: 1125
        right: 564
        bottom: 1424
      }
      class_name: "android.widget.ImageView"
      depth: 13
    }
    nodes {
      bounds_in_screen {
        left: 44
        top: 1125
        right: 564
        bottom: 1424
      }
      class_name: "android.view.View"
      depth: 13
    }
    nodes {
      bounds_in_screen {
        left: 44
        top: 1125
        right: 564
        bottom: 1335
      }
      class_name: "android.widget.TextView"
      text: "Cerebra\'s Workout Routine"
      depth: 13
    }
    nodes {
      bounds_in_screen {
        left: 44
        top: 1335
        right: 564
        bottom: 1424
      }
      class_name: "android.widget.TextView"
      text: "Designed for you"
      depth: 13
    }
    nodes {
      bounds_in_screen {
        left: 610
        top: 1125
        right: 1080
        bottom: 1424
      }
      class_name: "android.widget.ImageView"
      depth: 13
    }
    nodes {
      bounds_in_screen {
        left: 610
        top: 1125
        right: 1080
        bottom: 1424
      }
      class_name: "android.view.View"
      depth: 13
    }
    nodes {
      bounds_in_screen {
        left: 610
        top: 1125
        right: 1080
        bottom: 1335
      }
      class_name: "android.widget.TextView"
      text: "Quick Workouts @ Home"
      depth: 13
    }
    nodes {
      bounds_in_screen {
        left: 610
        top: 1335
        right: 1080
        bottom: 1424
      }
      class_name: "android.widget.TextView"
      text: "Busy? Some short workouts for you"
      depth: 13
    }
  }
}

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