instruction
I'm making my way home by foot from my gym. Use the Google Fit app to keep track of my walking distance.
previous_actions
{"name": "click", "parameters": {"x": 700, "y": 1846}}
active_application
Track workout
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: 418
        bottom: 136
      }
      class_name: "android.widget.FrameLayout"
      depth: 5
    }
    nodes {
      bounds_in_screen {
        left: 720
        top: 1
        right: 1006
        bottom: 136
      }
      class_name: "android.widget.LinearLayout"
      depth: 5
    }
    nodes {
      bounds_in_screen {
        left: 47
        top: 1
        right: 418
        bottom: 136
      }
      class_name: "android.widget.LinearLayout"
      depth: 6
    }
    nodes {
      bounds_in_screen {
        left: 720
        top: 1
        right: 1006
        bottom: 136
      }
      class_name: "android.widget.LinearLayout"
      depth: 6
    }
    nodes {
      bounds_in_screen {
        left: 47
        top: 1
        right: 128
        bottom: 136
      }
      class_name: "android.widget.TextView"
      content_description: "8:26 PM"
      text: "8:26"
      depth: 7
    }
    nodes {
      bounds_in_screen {
        left: 128
        top: 1
        right: 418
        bottom: 136
      }
      class_name: "android.widget.FrameLayout"
      depth: 7
    }
    nodes {
      bounds_in_screen {
        left: 720
        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, 58 percent."
      depth: 7
    }
    nodes {
      bounds_in_screen {
        left: 128
        top: 1
        right: 418
        bottom: 136
      }
      class_name: "android.view.ViewGroup"
      depth: 8
    }
    nodes {
      bounds_in_screen {
        left: 720
        top: 39
        right: 783
        bottom: 97
      }
      class_name: "android.widget.ImageView"
      content_description: "Location requests active"
      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: "58%"
      depth: 8
    }
    nodes {
      bounds_in_screen {
        left: 128
        top: 1
        right: 186
        bottom: 136
      }
      class_name: "android.widget.ImageView"
      content_description: "JioMart notification: "
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 186
        top: 1
        right: 244
        bottom: 136
      }
      class_name: "android.widget.ImageView"
      content_description: "JioCinema notification: "
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 244
        top: 1
        right: 302
        bottom: 136
      }
      class_name: "android.widget.ImageView"
      content_description: "Snapdeal notification: "
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 302
        top: 1
        right: 360
        bottom: 136
      }
      class_name: "android.widget.ImageView"
      content_description: "Tata CLiQ notification: "
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 360
        top: 1
        right: 418
        bottom: 136
      }
      class_name: "android.widget.ImageView"
      content_description: "Submarino notification: 🔥🔥 Tá fervendo 🔥🔥"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 378
        top: 1
        right: 418
        bottom: 136
      }
      class_name: "android.widget.ImageView"
      content_description: "Gmail notification: noreply.noisefit"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 378
        top: 1
        right: 418
        bottom: 136
      }
      class_name: "android.widget.ImageView"
      content_description: "Fitness Coach notification: "
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 378
        top: 1
        right: 418
        bottom: 136
      }
      class_name: "android.widget.ImageView"
      content_description: "AccuWeather notification: "
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 378
        top: 1
        right: 418
        bottom: 136
      }
      class_name: "android.widget.ImageView"
      content_description: "Myntra notification: Cozy season is on! ❄️"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 378
        top: 1
        right: 418
        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: 378
        top: 1
        right: 418
        bottom: 136
      }
      class_name: "android.widget.ImageView"
      content_description: "FirstCry notification: Ohh My God😲Flat 60% OFF"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 378
        top: 1
        right: 418
        bottom: 136
      }
      class_name: "android.widget.ImageView"
      content_description: "FirstCry notification: Alert! Truckload of Savings🚛"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 378
        top: 1
        right: 418
        bottom: 136
      }
      class_name: "android.widget.ImageView"
      content_description: "Meesho notification: "
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 378
        top: 1
        right: 418
        bottom: 136
      }
      class_name: "android.widget.ImageView"
      content_description: "Google notification: Tomorrow in Gurugram: Cloudy"
      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: 75
  title: "Track workout"
  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 {
        right: 1080
        bottom: 2337
      }
      class_name: "android.widget.FrameLayout"
      depth: 2
    }
    nodes {
      bounds_in_screen {
        right: 1080
        bottom: 2337
      }
      class_name: "android.widget.LinearLayout"
      depth: 3
    }
    nodes {
      bounds_in_screen {
        right: 1080
        bottom: 2337
      }
      class_name: "android.widget.FrameLayout"
      depth: 4
    }
    nodes {
      bounds_in_screen {
        right: 1080
        bottom: 2337
      }
      class_name: "android.view.ViewGroup"
      depth: 5
    }
    nodes {
      bounds_in_screen {
        right: 1080
        bottom: 2337
      }
      class_name: "android.widget.FrameLayout"
      depth: 6
    }
    nodes {
      bounds_in_screen {
        right: 1080
        bottom: 2337
      }
      class_name: "android.widget.LinearLayout"
      depth: 7
    }
    nodes {
      bounds_in_screen {
        right: 1080
        bottom: 1630
      }
      class_name: "android.widget.FrameLayout"
      depth: 8
    }
    nodes {
      bounds_in_screen {
        top: 1630
        right: 1080
        bottom: 2337
      }
      class_name: "android.widget.FrameLayout"
      depth: 8
    }
    nodes {
      bounds_in_screen {
        right: 1080
        bottom: 1630
      }
      class_name: "android.widget.FrameLayout"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        top: 1630
        right: 1080
        bottom: 2337
      }
      class_name: "android.widget.LinearLayout"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        right: 1080
        bottom: 1630
      }
      class_name: "android.widget.FrameLayout"
      depth: 10
    }
    nodes {
      bounds_in_screen {
        top: 63
        right: 147
        bottom: 210
      }
      class_name: "android.widget.ImageView"
      content_description: "Back"
      is_clickable: true
      is_focusable: true
      depth: 10
    }
    nodes {
      bounds_in_screen {
        left: 42
        top: 1651
        right: 1038
        bottom: 1812
      }
      class_name: "android.widget.FrameLayout"
      depth: 10
    }
    nodes {
      bounds_in_screen {
        top: 1812
        right: 1080
        bottom: 2337
      }
      class_name: "android.widget.FrameLayout"
      depth: 10
    }
    nodes {
      bounds_in_screen {
        right: 1080
        bottom: 1630
      }
      class_name: "android.widget.FrameLayout"
      is_clickable: true
      is_focusable: true
      depth: 11
    }
    nodes {
      bounds_in_screen {
        left: 42
        top: 1651
        right: 1038
        bottom: 1812
      }
      class_name: "android.widget.FrameLayout"
      depth: 11
    }
    nodes {
      bounds_in_screen {
        left: 473
        top: 1921
        right: 606
        bottom: 2176
      }
      class_name: "android.widget.TextView"
      text: "1"
      is_clickable: true
      is_focusable: true
      depth: 11
    }
    nodes {
      bounds_in_screen {
        right: 1080
        bottom: 1630
      }
      class_name: "android.widget.FrameLayout"
      depth: 12
    }
    nodes {
      bounds_in_screen {
        left: 42
        top: 1651
        right: 1038
        bottom: 1812
      }
      class_name: "android.widget.LinearLayout"
      depth: 12
    }
    nodes {
      bounds_in_screen {
        left: 42
        top: 1669
        right: 1038
        bottom: 1812
      }
      class_name: "android.widget.Spinner"
      is_focusable: true
      is_scrollable: true
      depth: 12
    }
    nodes {
      bounds_in_screen {
        right: 1080
        bottom: 1630
      }
      class_name: "android.view.View"
      content_description: "Google Map"
      is_clickable: true
      is_focusable: true
      depth: 13
    }
    nodes {
      bounds_in_screen {
        right: 1080
        bottom: 1630
      }
      class_name: "android.widget.RelativeLayout"
      depth: 13
    }
    nodes {
      bounds_in_screen {
        right: 1080
        bottom: 1630
      }
      class_name: "android.widget.RelativeLayout"
      depth: 13
    }
    nodes {
      bounds_in_screen {
        left: 42
        top: 1665
        right: 1038
        bottom: 1812
      }
      class_name: "android.widget.FrameLayout"
      depth: 13
    }
    nodes {
      bounds_in_screen {
        left: 42
        top: 1669
        right: 996
        bottom: 1812
      }
      class_name: "android.widget.TextView"
      text: "Walking • Recent"
      depth: 13
    }
    nodes {
      bounds_in_screen {
        left: 42
        top: 1665
        right: 1038
        bottom: 1812
      }
      class_name: "android.widget.Button"
      hint_text: "Activity type"
      text: " "
      is_clickable: true
      is_editable: true
      is_focusable: true
      is_long_clickable: true
      depth: 14
    }
  }
}

assistant
!FUNCTIONCALL{"name": "wait", "parameters": {}}
[{"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"]}}}]