instruction
In the Weather app. Search the location of New York to view the past weather conditions.
previous_actions
{"name": "navigate_back", "parameters": {}}
{"name": "click", "parameters": {"x": 997, "y": 212}}
{"name": "click", "parameters": {"x": 245, "y": 348}}
{"name": "input_text", "parameters": {"text": "New York"}}
active_application
Weather
screen_description
windows {
  bounds_in_screen {
    top: 136
    right: 1080
    bottom: 2400
  }
  id: 2035
  title: "Weather"
  window_type: TYPE_APPLICATION
  is_active: true
  is_focused: true
  tree {
    nodes {
      bounds_in_screen {
        top: 136
        right: 1080
        bottom: 2400
      }
      class_name: "android.widget.FrameLayout"
    }
    nodes {
      bounds_in_screen {
        top: 136
        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.widget.FrameLayout"
      depth: 5
    }
    nodes {
      bounds_in_screen {
        top: 136
        right: 1080
        bottom: 2337
      }
      class_name: "android.widget.LinearLayout"
      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: 414
      }
      class_name: "android.widget.LinearLayout"
      is_clickable: true
      is_focusable: true
      depth: 7
    }
    nodes {
      bounds_in_screen {
        left: 42
        top: 414
        right: 1080
        bottom: 415
      }
      class_name: "android.widget.TextView"
      depth: 7
    }
    nodes {
      bounds_in_screen {
        top: 415
        right: 1080
        bottom: 546
      }
      class_name: "android.widget.LinearLayout"
      depth: 7
    }
    nodes {
      bounds_in_screen {
        top: 546
        right: 1080
        bottom: 677
      }
      class_name: "android.widget.RelativeLayout"
      depth: 7
    }
    nodes {
      bounds_in_screen {
        top: 680
        right: 1080
        bottom: 2337
      }
      class_name: "android.widget.RelativeLayout"
      depth: 7
    }
    nodes {
      bounds_in_screen {
        top: 136
        right: 147
        bottom: 283
      }
      class_name: "android.widget.ImageButton"
      is_clickable: true
      is_focusable: true
      depth: 8
    }
    nodes {
      bounds_in_screen {
        left: 157
        top: 174
        right: 470
        bottom: 245
      }
      class_name: "android.widget.TextView"
      text: "Edit Location"
      depth: 8
    }
    nodes {
      bounds_in_screen {
        left: 26
        top: 309
        right: 105
        bottom: 388
      }
      class_name: "android.widget.ImageView"
      depth: 8
    }
    nodes {
      bounds_in_screen {
        left: 131
        top: 322
        right: 360
        bottom: 375
      }
      class_name: "android.widget.TextView"
      text: "Add Location"
      depth: 8
    }
    nodes {
      bounds_in_screen {
        left: 26
        top: 441
        right: 105
        bottom: 520
      }
      class_name: "android.widget.ImageView"
      depth: 8
    }
    nodes {
      bounds_in_screen {
        left: 131
        top: 454
        right: 420
        bottom: 507
      }
      class_name: "android.widget.TextView"
      text: "Current Location"
      depth: 8
    }
    nodes {
      bounds_in_screen {
        left: 420
        top: 441
        right: 1043
        bottom: 520
      }
      class_name: "android.widget.LinearLayout"
      depth: 8
    }
    nodes {
      bounds_in_screen {
        top: 546
        right: 1080
        bottom: 677
      }
      class_name: "android.widget.ImageView"
      depth: 8
    }
    nodes {
      bounds_in_screen {
        top: 546
        right: 277
        bottom: 677
      }
      class_name: "android.widget.TextView"
      text: "My Location"
      depth: 8
    }
    nodes {
      bounds_in_screen {
        left: 954
        top: 546
        right: 1059
        bottom: 677
      }
      class_name: "android.widget.ImageView"
      is_clickable: true
      is_focusable: true
      depth: 8
    }
    nodes {
      bounds_in_screen {
        top: 680
        right: 1080
        bottom: 2178
      }
      class_name: "androidx.recyclerview.widget.RecyclerView"
      is_focusable: true
      depth: 8
    }
    nodes {
      bounds_in_screen {
        top: 2178
        right: 1080
        bottom: 2337
      }
      class_name: "android.widget.LinearLayout"
      depth: 8
    }
    nodes {
      bounds_in_screen {
        left: 959
        top: 441
        right: 1043
        bottom: 520
      }
      class_name: "android.widget.CheckBox"
      is_checkable: true
      is_checked: true
      is_clickable: true
      is_focusable: true
      depth: 9
    }
    nodes {
      bounds_in_screen {
        top: 680
        right: 1080
        bottom: 812
      }
      class_name: "android.widget.LinearLayout"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        top: 812
        right: 1080
        bottom: 944
      }
      class_name: "android.widget.LinearLayout"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        top: 944
        right: 1080
        bottom: 1076
      }
      class_name: "android.widget.LinearLayout"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        top: 1076
        right: 1080
        bottom: 1208
      }
      class_name: "android.widget.LinearLayout"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        top: 1208
        right: 1080
        bottom: 1340
      }
      class_name: "android.widget.LinearLayout"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        top: 2180
        right: 1080
        bottom: 2337
      }
      class_name: "android.view.ViewGroup"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        top: 680
        right: 1080
        bottom: 811
      }
      class_name: "android.widget.LinearLayout"
      is_clickable: true
      is_focusable: true
      depth: 10
    }
    nodes {
      bounds_in_screen {
        left: 42
        top: 811
        right: 1080
        bottom: 812
      }
      class_name: "android.widget.TextView"
      depth: 10
    }
    nodes {
      bounds_in_screen {
        top: 812
        right: 1080
        bottom: 943
      }
      class_name: "android.widget.LinearLayout"
      is_clickable: true
      is_focusable: true
      depth: 10
    }
    nodes {
      bounds_in_screen {
        left: 42
        top: 943
        right: 1080
        bottom: 944
      }
      class_name: "android.widget.TextView"
      depth: 10
    }
    nodes {
      bounds_in_screen {
        top: 944
        right: 1080
        bottom: 1075
      }
      class_name: "android.widget.LinearLayout"
      is_clickable: true
      is_focusable: true
      depth: 10
    }
    nodes {
      bounds_in_screen {
        left: 42
        top: 1075
        right: 1080
        bottom: 1076
      }
      class_name: "android.widget.TextView"
      depth: 10
    }
    nodes {
      bounds_in_screen {
        top: 1076
        right: 1080
        bottom: 1207
      }
      class_name: "android.widget.LinearLayout"
      is_clickable: true
      is_focusable: true
      depth: 10
    }
    nodes {
      bounds_in_screen {
        left: 42
        top: 1207
        right: 1080
        bottom: 1208
      }
      class_name: "android.widget.TextView"
      depth: 10
    }
    nodes {
      bounds_in_screen {
        top: 1208
        right: 1080
        bottom: 1339
      }
      class_name: "android.widget.LinearLayout"
      is_clickable: true
      is_focusable: true
      depth: 10
    }
    nodes {
      bounds_in_screen {
        left: 42
        top: 1339
        right: 1080
        bottom: 1340
      }
      class_name: "android.widget.TextView"
      depth: 10
    }
    nodes {
      bounds_in_screen {
        left: 1
        top: 2180
        right: 1079
        bottom: 2337
      }
      class_name: "android.widget.FrameLayout"
      depth: 10
    }
    nodes {
      bounds_in_screen {
        top: 680
        right: 933
        bottom: 811
      }
      class_name: "android.widget.TextView"
      text: "Amsterdam, Netherlands"
      depth: 11
    }
    nodes {
      bounds_in_screen {
        left: 933
        top: 680
        right: 1080
        bottom: 811
      }
      class_name: "android.widget.ImageView"
      is_clickable: true
      is_focusable: true
      depth: 11
    }
    nodes {
      bounds_in_screen {
        top: 812
        right: 933
        bottom: 943
      }
      class_name: "android.widget.TextView"
      text: "London, UK"
      depth: 11
    }
    nodes {
      bounds_in_screen {
        left: 933
        top: 812
        right: 1080
        bottom: 943
      }
      class_name: "android.widget.ImageView"
      is_clickable: true
      is_focusable: true
      depth: 11
    }
    nodes {
      bounds_in_screen {
        top: 944
        right: 933
        bottom: 1075
      }
      class_name: "android.widget.TextView"
      text: "Berlin, Germany"
      depth: 11
    }
    nodes {
      bounds_in_screen {
        left: 933
        top: 944
        right: 1080
        bottom: 1075
      }
      class_name: "android.widget.ImageView"
      is_clickable: true
      is_focusable: true
      depth: 11
    }
    nodes {
      bounds_in_screen {
        top: 1076
        right: 933
        bottom: 1207
      }
      class_name: "android.widget.TextView"
      text: "Paris, France"
      depth: 11
    }
    nodes {
      bounds_in_screen {
        left: 933
        top: 1076
        right: 1080
        bottom: 1207
      }
      class_name: "android.widget.ImageView"
      is_clickable: true
      is_focusable: true
      depth: 11
    }
    nodes {
      bounds_in_screen {
        top: 1208
        right: 933
        bottom: 1339
      }
      class_name: "android.widget.TextView"
      text: "New York, USA"
      depth: 11
    }
    nodes {
      bounds_in_screen {
        left: 933
        top: 1208
        right: 1080
        bottom: 1339
      }
      class_name: "android.widget.ImageView"
      is_clickable: true
      is_focusable: true
      depth: 11
    }
    nodes {
      bounds_in_screen {
        left: 1
        top: 2180
        right: 1079
        bottom: 2337
      }
      class_name: "android.widget.FrameLayout"
      depth: 11
    }
    nodes {
      bounds_in_screen {
        left: 1
        top: 2180
        right: 1079
        bottom: 2337
      }
      class_name: "android.widget.FrameLayout"
      depth: 12
    }
    nodes {
      bounds_in_screen {
        left: 1
        top: 2180
        right: 1079
        bottom: 2337
      }
      class_name: "android.webkit.WebView"
      depth: 13
    }
    nodes {
      bounds_in_screen {
        left: 1
        top: 2180
        right: 1082
        bottom: 2348
      }
      class_name: "android.webkit.WebView"
      is_focusable: true
      is_focused: true
      depth: 14
    }
    nodes {
      bounds_in_screen {
        left: 1
        top: 2180
        right: 1082
        bottom: 2348
      }
      class_name: "android.view.View"
      depth: 15
    }
    nodes {
      bounds_in_screen {
        left: 1
        top: 2180
        right: 1082
        bottom: 2348
      }
      class_name: "android.view.View"
      depth: 16
    }
    nodes {
      bounds_in_screen {
        left: 1
        top: 2243
        right: 69
        bottom: 2348
      }
      class_name: "android.view.View"
      depth: 16
    }
    nodes {
      bounds_in_screen {
        left: 1
        top: 2180
        right: 1082
        bottom: 2348
      }
      class_name: "android.widget.TextView"
      depth: 16
    }
    nodes {
      bounds_in_screen {
        left: 1
        top: 2180
        right: 1082
        bottom: 2348
      }
      class_name: "android.view.View"
      depth: 17
    }
    nodes {
      bounds_in_screen {
        left: 1
        top: 2264
        right: 43
        bottom: 2348
      }
      class_name: "android.view.View"
      is_clickable: true
      depth: 17
    }
    nodes {
      bounds_in_screen {
        left: 1
        top: 2180
        right: 1082
        bottom: 2348
      }
      class_name: "android.view.View"
      depth: 18
    }
    nodes {
      bounds_in_screen {
        left: 1
        top: 2264
        right: 43
        bottom: 2306
      }
      class_name: "android.view.View"
      depth: 18
    }
    nodes {
      bounds_in_screen {
        left: 1
        top: 2306
        right: 43
        bottom: 2348
      }
      class_name: "android.widget.Button"
      is_clickable: true
      is_focusable: true
      depth: 18
    }
    nodes {
      bounds_in_screen {
        left: 1
        top: 2180
        right: 1082
        bottom: 2348
      }
      class_name: "android.view.View"
      depth: 19
    }
    nodes {
      bounds_in_screen {
        left: 1
        top: 2264
        right: 43
        bottom: 2306
      }
      class_name: "android.view.View"
      depth: 19
    }
    nodes {
      bounds_in_screen {
        left: 1
        top: 2264
        right: 43
        bottom: 2306
      }
      class_name: "android.view.View"
      depth: 20
    }
    nodes {
      bounds_in_screen {
        left: 1
        top: 2264
        right: 43
        bottom: 2306
      }
      class_name: "android.widget.Image"
      depth: 21
    }
  }
}

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