instruction
 Open The H&M App, Type in a search bar and search for cotton halterneck dress for women.
previous_actions
{"name": "open_app", "parameters": {"app_name": "H&M"}}
active_application
H&M
screen_description
windows {
  bounds_in_screen {
    right: 1080
    bottom: 136
  }
  id: 8
  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: 130
        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: 130
        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: 130
        bottom: 136
      }
      class_name: "android.widget.TextView"
      content_description: "3:27 PM"
      text: "3:27"
      depth: 7
    }
    nodes {
      bounds_in_screen {
        left: 130
        top: 1
        right: 130
        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: 130
        top: 1
        right: 130
        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 signal full."
      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: 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: 183
  title: "H&M"
  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 {
        right: 1080
        bottom: 2337
      }
      class_name: "android.widget.FrameLayout"
      depth: 2
    }
    nodes {
      bounds_in_screen {
        right: 1080
        bottom: 2337
      }
      class_name: "android.widget.FrameLayout"
      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: "androidx.drawerlayout.widget.DrawerLayout"
      depth: 5
    }
    nodes {
      bounds_in_screen {
        top: 136
        right: 1080
        bottom: 2337
      }
      class_name: "android.view.ViewGroup"
      depth: 6
    }
    nodes {
      bounds_in_screen {
        top: 136
        right: 1080
        bottom: 2337
      }
      class_name: "android.widget.LinearLayout"
      depth: 7
    }
    nodes {
      bounds_in_screen {
        top: 136
        right: 1080
        bottom: 283
      }
      class_name: "android.view.ViewGroup"
      depth: 8
    }
    nodes {
      bounds_in_screen {
        top: 283
        right: 1080
        bottom: 2337
      }
      class_name: "android.view.ViewGroup"
      depth: 8
    }
    nodes {
      bounds_in_screen {
        top: 136
        right: 147
        bottom: 283
      }
      class_name: "android.widget.ImageButton"
      is_clickable: true
      is_focusable: true
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 189
        top: 175
        right: 189
        bottom: 244
      }
      class_name: "android.widget.LinearLayout"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 574
        top: 136
        right: 1080
        bottom: 283
      }
      class_name: "androidx.appcompat.widget.LinearLayoutCompat"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        top: 283
        right: 1080
        bottom: 2337
      }
      class_name: "android.widget.FrameLayout"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 189
        top: 175
        right: 189
        bottom: 244
      }
      class_name: "android.widget.TextView"
      depth: 10
    }
    nodes {
      bounds_in_screen {
        left: 574
        top: 146
        right: 700
        bottom: 272
      }
      class_name: "android.widget.Button"
      is_clickable: true
      is_focusable: true
      depth: 10
    }
    nodes {
      bounds_in_screen {
        left: 700
        top: 146
        right: 827
        bottom: 272
      }
      class_name: "android.widget.Button"
      content_description: "My Account"
      is_clickable: true
      is_focusable: true
      depth: 10
      tooltip_text: "My Account"
    }
    nodes {
      bounds_in_screen {
        left: 827
        top: 146
        right: 954
        bottom: 272
      }
      class_name: "android.widget.Button"
      content_description: "My Favourites"
      is_clickable: true
      is_focusable: true
      depth: 10
      tooltip_text: "My Favourites"
    }
    nodes {
      bounds_in_screen {
        left: 954
        top: 146
        right: 1080
        bottom: 272
      }
      class_name: "android.widget.FrameLayout"
      depth: 10
    }
    nodes {
      bounds_in_screen {
        top: 283
        right: 1080
        bottom: 2337
      }
      class_name: "android.view.ViewGroup"
      depth: 10
    }
    nodes {
      bounds_in_screen {
        left: 954
        top: 146
        right: 1080
        bottom: 272
      }
      class_name: "android.widget.ImageButton"
      content_description: "Your Shopping Bag"
      is_clickable: true
      is_focusable: true
      depth: 11
    }
    nodes {
      bounds_in_screen {
        left: 1017
        top: 194
        right: 1017
        bottom: 233
      }
      class_name: "android.widget.TextView"
      depth: 11
    }
    nodes {
      bounds_in_screen {
        top: 283
        right: 1080
        bottom: 283
      }
      class_name: "android.widget.LinearLayout"
      depth: 11
    }
    nodes {
      bounds_in_screen {
        top: 283
        right: 1080
        bottom: 2337
      }
      class_name: "androidx.recyclerview.widget.RecyclerView"
      is_focusable: true
      is_scrollable: true
      depth: 11
    }
    nodes {
      bounds_in_screen {
        left: 42
        top: 283
        right: 1038
        bottom: 441
      }
      class_name: "android.widget.FrameLayout"
      depth: 12
    }
    nodes {
      bounds_in_screen {
        left: 42
        top: 567
        right: 1038
        bottom: 1563
      }
      class_name: "android.widget.FrameLayout"
      depth: 12
    }
    nodes {
      bounds_in_screen {
        left: 42
        top: 1689
        right: 1038
        bottom: 1872
      }
      class_name: "android.widget.LinearLayout"
      depth: 12
    }
    nodes {
      bounds_in_screen {
        left: 42
        top: 1998
        right: 1038
        bottom: 2337
      }
      class_name: "android.widget.FrameLayout"
      depth: 12
    }
    nodes {
      bounds_in_screen {
        left: 42
        top: 283
        right: 1038
        bottom: 441
      }
      class_name: "android.widget.TextView"
      content_description: "index_usp_banner_component"
      text: "Free & flexible 15 days return"
      is_clickable: true
      is_focusable: true
      depth: 13
    }
    nodes {
      bounds_in_screen {
        left: 42
        top: 567
        right: 1038
        bottom: 1563
      }
      class_name: "android.view.ViewGroup"
      depth: 13
    }
    nodes {
      bounds_in_screen {
        left: 42
        top: 1689
        right: 1038
        bottom: 1872
      }
      class_name: "android.widget.FrameLayout"
      is_clickable: true
      is_focusable: true
      depth: 13
    }
    nodes {
      bounds_in_screen {
        left: 42
        top: 1998
        right: 1038
        bottom: 2337
      }
      class_name: "android.view.ViewGroup"
      depth: 13
    }
    nodes {
      bounds_in_screen {
        left: 42
        top: 567
        right: 1038
        bottom: 1563
      }
      class_name: "android.widget.LinearLayout"
      depth: 14
    }
    nodes {
      bounds_in_screen {
        left: 163
        top: 1689
        right: 917
        bottom: 1872
      }
      class_name: "android.widget.LinearLayout"
      depth: 14
    }
    nodes {
      bounds_in_screen {
        left: 977
        top: 1766
        right: 1006
        bottom: 1795
      }
      class_name: "android.widget.ImageView"
      is_clickable: true
      is_focusable: true
      depth: 14
    }
    nodes {
      bounds_in_screen {
        left: 42
        top: 1998
        right: 1038
        bottom: 2337
      }
      class_name: "android.widget.LinearLayout"
      depth: 14
    }
    nodes {
      bounds_in_screen {
        left: 716
        top: 2281
        right: 992
        bottom: 2337
      }
      class_name: "android.view.ViewGroup"
      is_clickable: true
      is_focusable: true
      depth: 14
    }
    nodes {
      bounds_in_screen {
        left: 42
        top: 567
        right: 1038
        bottom: 1563
      }
      class_name: "android.widget.LinearLayout"
      depth: 15
    }
    nodes {
      bounds_in_screen {
        left: 42
        top: 1563
        right: 1038
        bottom: 1563
      }
      class_name: "android.widget.LinearLayout"
      depth: 15
    }
    nodes {
      bounds_in_screen {
        left: 198
        top: 1742
        right: 882
        bottom: 1819
      }
      class_name: "android.widget.TextView"
      text: "Sale: Bestsellers under ₹999"
      depth: 15
    }
    nodes {
      bounds_in_screen {
        left: 42
        top: 1998
        right: 1038
        bottom: 2337
      }
      class_name: "android.widget.LinearLayout"
      depth: 15
    }
    nodes {
      bounds_in_screen {
        left: 42
        top: 2994
        right: 1038
        bottom: 2337
      }
      class_name: "android.widget.LinearLayout"
      depth: 15
    }
    nodes {
      bounds_in_screen {
        left: 716
        top: 2281
        right: 742
        bottom: 2337
      }
      class_name: "android.widget.ImageView"
      depth: 15
    }
    nodes {
      bounds_in_screen {
        left: 742
        top: 2281
        right: 992
        bottom: 2337
      }
      class_name: "android.view.View"
      depth: 15
    }
    nodes {
      bounds_in_screen {
        left: 755
        top: 2313
        right: 992
        bottom: 2337
      }
      class_name: "android.widget.LinearLayout"
      depth: 15
    }
    nodes {
      bounds_in_screen {
        left: 42
        top: 567
        right: 1038
        bottom: 1563
      }
      class_name: "android.widget.FrameLayout"
      depth: 16
    }
    nodes {
      bounds_in_screen {
        left: 42
        top: 1998
        right: 1038
        bottom: 2337
      }
      class_name: "android.widget.FrameLayout"
      depth: 16
    }
    nodes {
      bounds_in_screen {
        left: 755
        top: 2313
        right: 953
        bottom: 2337
      }
      class_name: "android.widget.TextView"
      text: "Rs. 1,799.00"
      is_editable: true
      depth: 16
    }
    nodes {
      bounds_in_screen {
        left: 42
        top: 567
        right: 1038
        bottom: 1563
      }
      class_name: "android.widget.LinearLayout"
      depth: 17
    }
    nodes {
      bounds_in_screen {
        left: 42
        top: 1998
        right: 1038
        bottom: 2337
      }
      class_name: "android.widget.LinearLayout"
      depth: 17
    }
    nodes {
      bounds_in_screen {
        left: 42
        top: 567
        right: 1038
        bottom: 1563
      }
      class_name: "android.widget.FrameLayout"
      is_clickable: true
      is_focusable: true
      depth: 18
    }
    nodes {
      bounds_in_screen {
        left: 42
        top: 1998
        right: 1038
        bottom: 2337
      }
      class_name: "android.widget.FrameLayout"
      is_clickable: true
      is_focusable: true
      depth: 18
    }
    nodes {
      bounds_in_screen {
        left: 42
        top: 2994
        right: 1038
        bottom: 2337
      }
      class_name: "android.widget.LinearLayout"
      depth: 18
    }
    nodes {
      bounds_in_screen {
        left: 42
        top: 567
        right: 1038
        bottom: 1563
      }
      class_name: "android.widget.FrameLayout"
      depth: 19
    }
    nodes {
      bounds_in_screen {
        left: 42
        top: 1998
        right: 1038
        bottom: 2337
      }
      class_name: "android.widget.FrameLayout"
      depth: 19
    }
    nodes {
      bounds_in_screen {
        left: 42
        top: 567
        right: 1038
        bottom: 1563
      }
      class_name: "android.view.ViewGroup"
      depth: 20
    }
    nodes {
      bounds_in_screen {
        left: 42
        top: 1998
        right: 1038
        bottom: 2337
      }
      class_name: "android.view.ViewGroup"
      depth: 20
    }
    nodes {
      bounds_in_screen {
        left: 84
        top: 609
        right: 996
        bottom: 1521
      }
      class_name: "android.view.ViewGroup"
      depth: 21
    }
    nodes {
      bounds_in_screen {
        left: 42
        top: 1998
        right: 1038
        bottom: 2337
      }
      class_name: "android.widget.FrameLayout"
      depth: 21
    }
    nodes {
      bounds_in_screen {
        left: 42
        top: 1998
        right: 1038
        bottom: 2337
      }
      class_name: "android.widget.FrameLayout"
      depth: 21
    }
    nodes {
      bounds_in_screen {
        left: 84
        top: 2005
        right: 996
        bottom: 2337
      }
      class_name: "android.widget.LinearLayout"
      depth: 21
    }
    nodes {
      bounds_in_screen {
        left: 84
        top: 609
        right: 996
        bottom: 1521
      }
      class_name: "android.view.ViewGroup"
      depth: 22
    }
    nodes {
      bounds_in_screen {
        left: 42
        top: 1998
        right: 1038
        bottom: 2337
      }
      class_name: "android.widget.FrameLayout"
      depth: 22
    }
    nodes {
      bounds_in_screen {
        left: 84
        top: 2005
        right: 996
        bottom: 2337
      }
      class_name: "android.widget.RelativeLayout"
      depth: 22
    }
    nodes {
      bounds_in_screen {
        left: 84
        top: 890
        right: 996
        bottom: 952
      }
      class_name: "android.widget.TextView"
      text: "This sale is BIG!"
      depth: 23
    }
    nodes {
      bounds_in_screen {
        left: 84
        top: 952
        right: 996
        bottom: 1075
      }
      class_name: "android.widget.TextView"
      text: "Up to 60% off"
      depth: 23
    }
    nodes {
      bounds_in_screen {
        left: 84
        top: 1075
        right: 996
        bottom: 1137
      }
      class_name: "android.widget.TextView"
      text: "Enjoy fashion at even better prices."
      depth: 23
    }
    nodes {
      bounds_in_screen {
        left: 84
        top: 1145
        right: 996
        bottom: 1195
      }
      class_name: "android.widget.TextView"
      depth: 23
    }
    nodes {
      bounds_in_screen {
        left: 84
        top: 1195
        right: 996
        bottom: 1241
      }
      class_name: "android.widget.TextView"
      text: "Offer valid in-stores & onlin... Read more"
      is_focusable: true
      clickable_spans {
        text: "Read more"
        source: TEXT
        start: 33
        node_id: 70
      }
      depth: 23
    }
    nodes {
      bounds_in_screen {
        left: 42
        top: 1998
        right: 1038
        bottom: 2337
      }
      class_name: "android.widget.ImageView"
      depth: 23
    }
    nodes {
      bounds_in_screen {
        left: 84
        top: 2830
        right: 996
        bottom: 2337
      }
      class_name: "android.widget.TextView"
      depth: 23
    }
    nodes {
      bounds_in_screen {
        left: 84
        top: 2838
        right: 996
        bottom: 2337
      }
      class_name: "android.widget.TextView"
      text: "New arrivals"
      depth: 23
    }
    nodes {
      bounds_in_screen {
        left: 84
        top: 2928
        right: 996
        bottom: 2337
      }
      class_name: "android.widget.TextView"
      text: "Pieces to pull off this season"
      depth: 23
    }
    nodes {
      bounds_in_screen {
        left: 84
        top: 2994
        right: 996
        bottom: 2337
      }
      class_name: "android.widget.TextView"
      depth: 23
    }
  }
}

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