instruction
I'm going to make a new walking activity on the Google Fit app called Burning Fat for 30 minutes today to keep myself motivated.
previous_actions
{"name": "click", "parameters": {"x": 135, "y": 2263}}
{"name": "click", "parameters": {"x": 943, "y": 2052}}
active_application
Add activity
screen_description
windows {
  bounds_in_screen {
    right: 1080
    bottom: 136
  }
  id: 5
  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: 2
    }
    nodes {
      bounds_in_screen {
        left: 47
        right: 1027
        bottom: 136
      }
      class_name: "android.widget.LinearLayout"
      depth: 3
    }
    nodes {
      bounds_in_screen {
        left: 47
        top: 1
        right: 454
        bottom: 136
      }
      class_name: "android.widget.FrameLayout"
      depth: 4
    }
    nodes {
      bounds_in_screen {
        left: 454
        top: 1
        right: 599
        bottom: 136
      }
      class_name: "android.view.View"
      depth: 4
    }
    nodes {
      bounds_in_screen {
        left: 599
        top: 1
        right: 1006
        bottom: 136
      }
      class_name: "android.widget.FrameLayout"
      depth: 4
    }
    nodes {
      bounds_in_screen {
        left: 47
        top: 1
        right: 420
        bottom: 136
      }
      class_name: "android.widget.FrameLayout"
      depth: 5
    }
    nodes {
      bounds_in_screen {
        left: 783
        top: 1
        right: 1006
        bottom: 136
      }
      class_name: "android.widget.LinearLayout"
      depth: 5
    }
    nodes {
      bounds_in_screen {
        left: 47
        top: 1
        right: 420
        bottom: 136
      }
      class_name: "android.widget.LinearLayout"
      depth: 6
    }
    nodes {
      bounds_in_screen {
        left: 783
        top: 1
        right: 1006
        bottom: 136
      }
      class_name: "android.widget.LinearLayout"
      depth: 6
    }
    nodes {
      bounds_in_screen {
        left: 47
        top: 1
        right: 130
        bottom: 136
      }
      class_name: "android.widget.TextView"
      content_description: "8:41 PM"
      text: "8:41"
      depth: 7
    }
    nodes {
      bounds_in_screen {
        left: 130
        top: 1
        right: 420
        bottom: 136
      }
      class_name: "android.widget.FrameLayout"
      depth: 7
    }
    nodes {
      bounds_in_screen {
        left: 783
        top: 1
        right: 902
        bottom: 136
      }
      class_name: "android.widget.LinearLayout"
      depth: 7
    }
    nodes {
      bounds_in_screen {
        left: 902
        top: 1
        right: 1006
        bottom: 136
      }
      class_name: "android.widget.LinearLayout"
      content_description: "Battery charging, 68 percent."
      depth: 7
    }
    nodes {
      bounds_in_screen {
        left: 130
        top: 1
        right: 420
        bottom: 136
      }
      class_name: "android.view.ViewGroup"
      depth: 8
    }
    nodes {
      bounds_in_screen {
        left: 783
        top: 39
        right: 840
        bottom: 97
      }
      class_name: "android.widget.ImageView"
      content_description: "Do Not Disturb"
      depth: 8
    }
    nodes {
      bounds_in_screen {
        left: 840
        top: 39
        right: 886
        bottom: 97
      }
      class_name: "android.widget.FrameLayout"
      content_description: "Wifi three bars."
      depth: 8
    }
    nodes {
      bounds_in_screen {
        left: 902
        top: 51
        right: 922
        bottom: 85
      }
      class_name: "android.widget.ImageView"
      depth: 8
    }
    nodes {
      bounds_in_screen {
        left: 922
        top: 1
        right: 1006
        bottom: 136
      }
      class_name: "android.widget.TextView"
      text: "68%"
      depth: 8
    }
    nodes {
      bounds_in_screen {
        left: 130
        top: 1
        right: 188
        bottom: 136
      }
      class_name: "android.widget.ImageView"
      content_description: "JioMart notification: "
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 188
        top: 1
        right: 246
        bottom: 136
      }
      class_name: "android.widget.ImageView"
      content_description: "Tata CLiQ notification: Made For Comfy Days In, Sporty Days Out"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 246
        top: 1
        right: 304
        bottom: 136
      }
      class_name: "android.widget.ImageView"
      content_description: "Submarino notification: 🔥🔥 Tá fervendo 🔥🔥"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 304
        top: 1
        right: 362
        bottom: 136
      }
      class_name: "android.widget.ImageView"
      content_description: "FirstCry notification: Alert! Truckload of Savings🚛"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 362
        top: 1
        right: 420
        bottom: 136
      }
      class_name: "android.widget.ImageView"
      content_description: "FirstCry notification: Ohh My God😲Flat 60% OFF"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 380
        top: 1
        right: 420
        bottom: 136
      }
      class_name: "android.widget.ImageView"
      content_description: "Fitness Coach notification: "
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 380
        top: 1
        right: 420
        bottom: 136
      }
      class_name: "android.widget.ImageView"
      content_description: "AccuWeather notification: "
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 380
        top: 1
        right: 420
        bottom: 136
      }
      class_name: "android.widget.ImageView"
      content_description: "Myntra notification: Cozy season is on! ❄️"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 380
        top: 1
        right: 420
        bottom: 136
      }
      class_name: "android.widget.ImageView"
      content_description: "FirstCry notification: 3, 2, 1, Boom 💣 FLAT 65% OFF"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 380
        top: 1
        right: 420
        bottom: 136
      }
      class_name: "android.widget.ImageView"
      content_description: "Meesho notification: "
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 380
        top: 1
        right: 420
        bottom: 136
      }
      class_name: "android.widget.ImageView"
      content_description: "Google notification: Tomorrow in Gurugram: Cloudy"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 380
        top: 1
        right: 420
        bottom: 136
      }
      class_name: "android.widget.ImageView"
      content_description: "Gmail notification: 2 new messages"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 847
        top: 39
        right: 886
        bottom: 97
      }
      class_name: "android.widget.LinearLayout"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 847
        top: 48
        right: 886
        bottom: 87
      }
      class_name: "android.widget.FrameLayout"
      depth: 10
    }
    nodes {
      bounds_in_screen {
        left: 847
        top: 48
        right: 886
        bottom: 87
      }
      class_name: "android.widget.ImageView"
      depth: 11
    }
  }
}
windows {
  bounds_in_screen {
    right: 1080
    bottom: 2400
  }
  id: 105
  title: "Add activity"
  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.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.widget.ScrollView"
      is_scrollable: true
      depth: 5
    }
    nodes {
      bounds_in_screen {
        top: 136
        right: 1080
        bottom: 484
      }
      class_name: "android.widget.LinearLayout"
      depth: 6
    }
    nodes {
      bounds_in_screen {
        top: 484
        right: 1080
        bottom: 1978
      }
      class_name: "android.widget.ScrollView"
      is_focusable: true
      depth: 6
    }
    nodes {
      bounds_in_screen {
        top: 136
        right: 1080
        bottom: 484
      }
      class_name: "android.widget.FrameLayout"
      depth: 7
    }
    nodes {
      bounds_in_screen {
        top: 484
        right: 1080
        bottom: 1978
      }
      class_name: "android.widget.LinearLayout"
      depth: 7
    }
    nodes {
      bounds_in_screen {
        top: 136
        right: 1080
        bottom: 484
      }
      class_name: "android.widget.FrameLayout"
      depth: 8
    }
    nodes {
      bounds_in_screen {
        top: 136
        right: 1080
        bottom: 283
      }
      class_name: "android.view.ViewGroup"
      depth: 8
    }
    nodes {
      bounds_in_screen {
        top: 505
        right: 1080
        bottom: 508
      }
      class_name: "android.view.View"
      depth: 8
    }
    nodes {
      bounds_in_screen {
        top: 534
        right: 1080
        bottom: 660
      }
      class_name: "android.widget.LinearLayout"
      is_clickable: true
      is_focusable: true
      depth: 8
    }
    nodes {
      bounds_in_screen {
        top: 686
        right: 1080
        bottom: 689
      }
      class_name: "android.view.View"
      depth: 8
    }
    nodes {
      bounds_in_screen {
        top: 715
        right: 1080
        bottom: 841
      }
      class_name: "android.widget.LinearLayout"
      depth: 8
    }
    nodes {
      bounds_in_screen {
        top: 867
        right: 1080
        bottom: 870
      }
      class_name: "android.view.View"
      depth: 8
    }
    nodes {
      bounds_in_screen {
        top: 896
        right: 1080
        bottom: 1022
      }
      class_name: "android.widget.LinearLayout"
      depth: 8
    }
    nodes {
      bounds_in_screen {
        top: 1032
        right: 1080
        bottom: 1158
      }
      class_name: "android.widget.LinearLayout"
      depth: 8
    }
    nodes {
      bounds_in_screen {
        top: 1184
        right: 1080
        bottom: 1187
      }
      class_name: "android.view.View"
      depth: 8
    }
    nodes {
      bounds_in_screen {
        top: 1213
        right: 1080
        bottom: 1339
      }
      class_name: "android.widget.FrameLayout"
      depth: 8
    }
    nodes {
      bounds_in_screen {
        top: 1349
        right: 1080
        bottom: 1475
      }
      class_name: "android.widget.LinearLayout"
      is_clickable: true
      is_focusable: true
      depth: 8
    }
    nodes {
      bounds_in_screen {
        top: 1485
        right: 1080
        bottom: 1611
      }
      class_name: "android.widget.LinearLayout"
      is_clickable: true
      is_focusable: true
      depth: 8
    }
    nodes {
      bounds_in_screen {
        top: 1621
        right: 1080
        bottom: 1747
      }
      class_name: "android.widget.LinearLayout"
      is_clickable: true
      is_focusable: true
      depth: 8
    }
    nodes {
      bounds_in_screen {
        top: 1773
        right: 1080
        bottom: 1776
      }
      class_name: "android.view.View"
      depth: 8
    }
    nodes {
      bounds_in_screen {
        left: 42
        top: 1802
        right: 1038
        bottom: 1928
      }
      class_name: "android.widget.EditText"
      hint_text: "Add notes"
      text: "Add notes"
      is_clickable: true
      is_editable: true
      is_focusable: true
      is_long_clickable: true
      depth: 8
    }
    nodes {
      bounds_in_screen {
        top: 1954
        right: 1080
        bottom: 1957
      }
      class_name: "android.view.View"
      depth: 8
    }
    nodes {
      bounds_in_screen {
        top: 283
        right: 1080
        bottom: 484
      }
      class_name: "android.widget.TextView"
      text: "Add activity"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        top: 136
        right: 147
        bottom: 283
      }
      class_name: "android.widget.ImageButton"
      content_description: "Close"
      is_clickable: true
      is_focusable: true
      depth: 9
      tooltip_text: "Close"
    }
    nodes {
      bounds_in_screen {
        left: 147
        top: 136
        right: 807
        bottom: 283
      }
      class_name: "android.widget.FrameLayout"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 807
        top: 136
        right: 1080
        bottom: 283
      }
      class_name: "android.support.v7.widget.LinearLayoutCompat"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        top: 564
        right: 912
        bottom: 629
      }
      class_name: "android.widget.TextView"
      text: "Title"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 912
        top: 534
        right: 1038
        bottom: 660
      }
      class_name: "android.widget.LinearLayout"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        top: 745
        right: 222
        bottom: 810
      }
      class_name: "android.widget.TextView"
      text: "Activity"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 222
        top: 715
        right: 1080
        bottom: 841
      }
      class_name: "android.widget.Spinner"
      is_clickable: true
      is_focusable: true
      is_scrollable: true
      depth: 9
    }
    nodes {
      bounds_in_screen {
        top: 926
        right: 660
        bottom: 991
      }
      class_name: "android.widget.TextView"
      text: "Start"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 681
        top: 896
        right: 838
        bottom: 1022
      }
      class_name: "android.widget.Button"
      text: "Today"
      is_clickable: true
      is_focusable: true
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 859
        top: 896
        right: 1059
        bottom: 1022
      }
      class_name: "android.widget.Button"
      text: "8:11 PM"
      is_clickable: true
      is_focusable: true
      depth: 9
    }
    nodes {
      bounds_in_screen {
        top: 1062
        right: 887
        bottom: 1127
      }
      class_name: "android.widget.TextView"
      text: "Duration"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 887
        top: 1032
        right: 1059
        bottom: 1158
      }
      class_name: "android.widget.Button"
      content_description: "30 minutes"
      text: "30 min"
      is_clickable: true
      is_focusable: true
      depth: 9
    }
    nodes {
      bounds_in_screen {
        top: 1213
        right: 1080
        bottom: 1339
      }
      class_name: "android.widget.LinearLayout"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        top: 1379
        right: 904
        bottom: 1444
      }
      class_name: "android.widget.TextView"
      text: "Distance"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 904
        top: 1349
        right: 1038
        bottom: 1475
      }
      class_name: "android.widget.LinearLayout"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        top: 1515
        right: 891
        bottom: 1580
      }
      class_name: "android.widget.TextView"
      text: "Energy expended"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 891
        top: 1485
        right: 1038
        bottom: 1611
      }
      class_name: "android.widget.LinearLayout"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        top: 1651
        right: 846
        bottom: 1716
      }
      class_name: "android.widget.TextView"
      text: "Steps"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 846
        top: 1621
        right: 1038
        bottom: 1747
      }
      class_name: "android.widget.LinearLayout"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 147
        top: 136
        right: 147
        bottom: 283
      }
      class_name: "android.widget.TextView"
      text: "Add activity"
      depth: 10
    }
    nodes {
      bounds_in_screen {
        left: 807
        top: 146
        right: 975
        bottom: 272
      }
      class_name: "android.widget.FrameLayout"
      depth: 10
    }
    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: 10
      tooltip_text: "More options"
    }
    nodes {
      bounds_in_screen {
        left: 912
        top: 534
        right: 1038
        bottom: 660
      }
      class_name: "android.widget.EditText"
      hint_text: "Add"
      text: "Add"
      is_clickable: true
      is_editable: true
      is_focusable: true
      is_long_clickable: true
      depth: 10
      labeled_by_id: 19
    }
    nodes {
      bounds_in_screen {
        left: 222
        top: 728
        right: 1080
        bottom: 827
      }
      class_name: "android.widget.TextView"
      text: "Walking"
      depth: 10
    }
    nodes {
      bounds_in_screen {
        top: 1243
        right: 751
        bottom: 1308
      }
      class_name: "android.widget.TextView"
      text: "Intensity"
      depth: 10
    }
    nodes {
      bounds_in_screen {
        left: 751
        top: 1213
        right: 1059
        bottom: 1339
      }
      class_name: "android.widget.Button"
      content_description: "Add Heart Points"
      hint_text: "Add Heart Pts"
      text: "Add Heart Pts"
      is_clickable: true
      is_focusable: true
      depth: 10
    }
    nodes {
      bounds_in_screen {
        left: 904
        top: 1349
        right: 1038
        bottom: 1475
      }
      class_name: "android.widget.EditText"
      hint_text: "Add mi"
      text: "Add miles"
      is_clickable: true
      is_editable: true
      is_focusable: true
      is_long_clickable: true
      depth: 10
      labeled_by_id: 43
    }
    nodes {
      bounds_in_screen {
        left: 891
        top: 1485
        right: 1038
        bottom: 1611
      }
      class_name: "android.widget.EditText"
      hint_text: "Add Cal"
      text: "Add Calories"
      is_clickable: true
      is_editable: true
      is_focusable: true
      is_long_clickable: true
      depth: 10
      labeled_by_id: 45
    }
    nodes {
      bounds_in_screen {
        left: 846
        top: 1621
        right: 1038
        bottom: 1747
      }
      class_name: "android.widget.EditText"
      hint_text: "Add steps"
      text: "Add steps"
      is_clickable: true
      is_editable: true
      is_focusable: true
      is_long_clickable: true
      depth: 10
      labeled_by_id: 47
    }
    nodes {
      bounds_in_screen {
        left: 807
        top: 146
        right: 933
        bottom: 272
      }
      class_name: "android.widget.TextView"
      text: "Save"
      is_clickable: true
      is_focusable: true
      depth: 11
    }
  }
}

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