instruction
Open the Google Fit app and track my running activity.
previous_actions
{"name": "open_app", "parameters": {"app_name": "Fit"}}
{"name": "click", "parameters": {"x": 405, "y": 2263}}
{"name": "click", "parameters": {"x": 135, "y": 2263}}
active_application
Track workout
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: 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: 202
        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: 47
        top: 1
        right: 202
        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: 47
        top: 1
        right: 144
        bottom: 136
      }
      class_name: "android.widget.TextView"
      content_description: "10:38 AM"
      text: "10:38"
      depth: 7
    }
    nodes {
      bounds_in_screen {
        left: 144
        top: 1
        right: 202
        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: 144
        top: 1
        right: 202
        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 three 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: 144
        top: 1
        right: 202
        bottom: 136
      }
      class_name: "android.widget.ImageView"
      content_description: "Flipkart 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: 1303
  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 {
        top: 2137
        right: 1080
        bottom: 2337
      }
      class_name: "android.widget.FrameLayout"
      depth: 7
    }
    nodes {
      bounds_in_screen {
        right: 1080
        bottom: 1542
      }
      class_name: "android.widget.FrameLayout"
      depth: 8
    }
    nodes {
      bounds_in_screen {
        top: 1542
        right: 1080
        bottom: 2137
      }
      class_name: "android.widget.FrameLayout"
      depth: 8
    }
    nodes {
      bounds_in_screen {
        top: 2137
        right: 1080
        bottom: 2337
      }
      class_name: "android.widget.RelativeLayout"
      depth: 8
    }
    nodes {
      bounds_in_screen {
        right: 1080
        bottom: 1542
      }
      class_name: "android.widget.FrameLayout"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        top: 1542
        right: 1080
        bottom: 2137
      }
      class_name: "android.widget.LinearLayout"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 63
        top: 2168
        right: 200
        bottom: 2305
      }
      class_name: "android.widget.FrameLayout"
      is_clickable: true
      is_focusable: true
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 471
        top: 2168
        right: 608
        bottom: 2305
      }
      class_name: "android.widget.FrameLayout"
      is_clickable: true
      is_focusable: true
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 880
        top: 2168
        right: 1017
        bottom: 2305
      }
      class_name: "android.widget.FrameLayout"
      is_clickable: true
      is_focusable: true
      depth: 9
    }
    nodes {
      bounds_in_screen {
        top: 136
        right: 1080
        bottom: 1542
      }
      class_name: "android.view.ViewGroup"
      depth: 10
    }
    nodes {
      bounds_in_screen {
        left: 42
        top: 157
        right: 1038
        bottom: 283
      }
      class_name: "android.view.ViewGroup"
      depth: 10
    }
    nodes {
      bounds_in_screen {
        left: 391
        top: 1563
        right: 689
        bottom: 1660
      }
      class_name: "android.widget.TextView"
      text: "Paced walking"
      depth: 10
    }
    nodes {
      bounds_in_screen {
        left: 341
        top: 1660
        right: 738
        bottom: 1883
      }
      class_name: "android.widget.FrameLayout"
      content_description: "3 seconds Active time"
      is_focusable: true
      depth: 10
    }
    nodes {
      bounds_in_screen {
        left: 21
        top: 1883
        right: 1059
        bottom: 2116
      }
      class_name: "android.widget.FrameLayout"
      depth: 10
    }
    nodes {
      bounds_in_screen {
        left: 63
        top: 2168
        right: 200
        bottom: 2305
      }
      class_name: "android.widget.ImageView"
      content_description: "End and save workout"
      depth: 10
    }
    nodes {
      bounds_in_screen {
        left: 471
        top: 2168
        right: 608
        bottom: 2305
      }
      class_name: "android.widget.ImageView"
      content_description: "Resume workout"
      depth: 10
    }
    nodes {
      bounds_in_screen {
        left: 880
        top: 2168
        right: 1017
        bottom: 2305
      }
      class_name: "android.widget.ImageView"
      content_description: "Turn map view on"
      depth: 10
    }
    nodes {
      bounds_in_screen {
        left: 343
        top: 579
        right: 737
        bottom: 973
      }
      class_name: "android.widget.FrameLayout"
      depth: 11
    }
    nodes {
      bounds_in_screen {
        left: 351
        top: 973
        right: 729
        bottom: 1162
      }
      class_name: "android.widget.LinearLayout"
      depth: 11
    }
    nodes {
      bounds_in_screen {
        left: 912
        top: 157
        right: 1038
        bottom: 283
      }
      class_name: "android.widget.ImageView"
      content_description: "Open volume slider"
      is_clickable: true
      is_focusable: true
      depth: 11
    }
    nodes {
      bounds_in_screen {
        left: 341
        top: 1660
        right: 738
        bottom: 1883
      }
      class_name: "android.widget.LinearLayout"
      depth: 11
    }
    nodes {
      bounds_in_screen {
        left: 21
        top: 1883
        right: 1059
        bottom: 2116
      }
      class_name: "android.widget.FrameLayout"
      depth: 11
    }
    nodes {
      bounds_in_screen {
        left: 343
        top: 579
        right: 737
        bottom: 973
      }
      class_name: "android.view.View"
      depth: 12
    }
    nodes {
      bounds_in_screen {
        left: 343
        top: 579
        right: 737
        bottom: 973
      }
      class_name: "android.widget.LinearLayout"
      depth: 12
    }
    nodes {
      bounds_in_screen {
        left: 382
        top: 1015
        right: 529
        bottom: 1162
      }
      class_name: "android.widget.Button"
      content_description: "Decrease target pace."
      depth: 12
    }
    nodes {
      bounds_in_screen {
        left: 550
        top: 1015
        right: 697
        bottom: 1162
      }
      class_name: "android.widget.Button"
      content_description: "Increase target pace."
      depth: 12
    }
    nodes {
      bounds_in_screen {
        left: 346
        top: 1665
        right: 733
        bottom: 1878
      }
      class_name: "android.widget.TextView"
      text: "00:03"
      depth: 12
    }
    nodes {
      bounds_in_screen {
        left: 21
        top: 1883
        right: 1059
        bottom: 2116
      }
      class_name: "android.widget.TableLayout"
      depth: 12
    }
    nodes {
      bounds_in_screen {
        left: 453
        top: 653
        right: 626
        bottom: 700
      }
      class_name: "android.widget.TextView"
      text: "PACE GOAL"
      depth: 13
    }
    nodes {
      bounds_in_screen {
        left: 445
        top: 700
        right: 634
        bottom: 852
      }
      class_name: "android.widget.TextView"
      content_description: "100 steps per minute"
      text: "100"
      depth: 13
    }
    nodes {
      bounds_in_screen {
        left: 461
        top: 852
        right: 619
        bottom: 899
      }
      class_name: "android.widget.TextView"
      text: "STEPS/MIN"
      depth: 13
    }
    nodes {
      bounds_in_screen {
        left: 21
        top: 1883
        right: 1059
        bottom: 2116
      }
      class_name: "android.widget.TableRow"
      depth: 13
    }
    nodes {
      bounds_in_screen {
        left: 42
        top: 1904
        right: 374
        bottom: 2095
      }
      class_name: "android.widget.FrameLayout"
      content_description: "0 miles"
      is_focusable: true
      depth: 14
    }
    nodes {
      bounds_in_screen {
        left: 374
        top: 1904
        right: 706
        bottom: 2095
      }
      class_name: "android.widget.FrameLayout"
      content_description: "—:— per mile"
      is_focusable: true
      depth: 14
    }
    nodes {
      bounds_in_screen {
        left: 706
        top: 1904
        right: 1038
        bottom: 2095
      }
      class_name: "android.widget.FrameLayout"
      is_focusable: true
      depth: 14
    }
    nodes {
      bounds_in_screen {
        left: 42
        top: 1904
        right: 374
        bottom: 2095
      }
      class_name: "android.widget.LinearLayout"
      depth: 15
    }
    nodes {
      bounds_in_screen {
        left: 374
        top: 1904
        right: 706
        bottom: 2095
      }
      class_name: "android.widget.LinearLayout"
      depth: 15
    }
    nodes {
      bounds_in_screen {
        left: 706
        top: 1904
        right: 1038
        bottom: 2095
      }
      class_name: "android.widget.LinearLayout"
      depth: 15
    }
    nodes {
      bounds_in_screen {
        left: 108
        top: 1909
        right: 308
        bottom: 2047
      }
      class_name: "android.widget.TextView"
      text: "0.00"
      depth: 16
    }
    nodes {
      bounds_in_screen {
        left: 189
        top: 2047
        right: 227
        bottom: 2090
      }
      class_name: "android.widget.TextView"
      text: "mi"
      depth: 16
    }
    nodes {
      bounds_in_screen {
        left: 439
        top: 1909
        right: 640
        bottom: 2047
      }
      class_name: "android.widget.TextView"
      text: "—:—"
      depth: 16
    }
    nodes {
      bounds_in_screen {
        left: 514
        top: 2047
        right: 566
        bottom: 2090
      }
      class_name: "android.widget.TextView"
      text: "/mi"
      depth: 16
    }
    nodes {
      bounds_in_screen {
        left: 843
        top: 1909
        right: 900
        bottom: 2047
      }
      class_name: "android.widget.TextView"
      text: "0"
      depth: 16
    }
    nodes {
      bounds_in_screen {
        left: 830
        top: 2047
        right: 914
        bottom: 2090
      }
      class_name: "android.widget.TextView"
      text: "steps"
      depth: 16
    }
  }
}

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