instruction
I want to buy a nike sports tshirt in M size, therefore I'll search for it
previous_actions
active_application
screen_description
windows {
  bounds_in_screen {
    right: 1080
    bottom: 136
  }
  id: 4
  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: 145
        right: 1027
        bottom: 136
      }
      class_name: "android.widget.LinearLayout"
      depth: 3
    }
    nodes {
      bounds_in_screen {
        left: 145
        top: 1
        right: 575
        bottom: 136
      }
      class_name: "android.widget.FrameLayout"
      depth: 4
    }
    nodes {
      bounds_in_screen {
        left: 575
        top: 1
        right: 1006
        bottom: 136
      }
      class_name: "android.widget.FrameLayout"
      depth: 4
    }
    nodes {
      bounds_in_screen {
        left: 145
        top: 1
        right: 516
        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: 145
        top: 1
        right: 516
        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: 145
        top: 1
        right: 226
        bottom: 136
      }
      class_name: "android.widget.TextView"
      content_description: "8:10 AM"
      text: "8:10"
      depth: 7
    }
    nodes {
      bounds_in_screen {
        left: 226
        top: 1
        right: 516
        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: 226
        top: 1
        right: 516
        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: 226
        top: 1
        right: 284
        bottom: 136
      }
      class_name: "android.widget.ImageView"
      content_description: "Plantum notification: "
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 284
        top: 1
        right: 342
        bottom: 136
      }
      class_name: "android.widget.ImageView"
      content_description: "Tata CLiQ notification: "
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 342
        top: 1
        right: 400
        bottom: 136
      }
      class_name: "android.widget.ImageView"
      content_description: "Tasty notification: "
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 400
        top: 1
        right: 458
        bottom: 136
      }
      class_name: "android.widget.ImageView"
      content_description: "Pinterest notification: Inspired by Cerebra"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 458
        top: 1
        right: 516
        bottom: 136
      }
      class_name: "android.widget.ImageView"
      content_description: "Pinterest notification: ❤ Cerebra, you have a good eye"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 476
        top: 1
        right: 516
        bottom: 136
      }
      class_name: "android.widget.ImageView"
      content_description: "eBay notification: 20% off your holiday head start"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 476
        top: 1
        right: 516
        bottom: 136
      }
      class_name: "android.widget.ImageView"
      content_description: "Tripadvisor notification: Great rates on hotels"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 476
        top: 1
        right: 516
        bottom: 136
      }
      class_name: "android.widget.ImageView"
      content_description: "Pinterest notification: Inspired by Cerebra"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 476
        top: 1
        right: 516
        bottom: 136
      }
      class_name: "android.widget.ImageView"
      content_description: "Cookpad notification: Farzana Mir left you a message"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 476
        top: 1
        right: 516
        bottom: 136
      }
      class_name: "android.widget.ImageView"
      content_description: "MakeMyTrip notification: "
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 476
        top: 1
        right: 516
        bottom: 136
      }
      class_name: "android.widget.ImageView"
      content_description: "Shoppers Stop notification: "
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 476
        top: 1
        right: 516
        bottom: 136
      }
      class_name: "android.widget.ImageView"
      content_description: "Cookbook Recipes notification: Unlock premium 🔓"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 476
        top: 1
        right: 516
        bottom: 136
      }
      class_name: "android.widget.ImageView"
      content_description: "ShopClues notification: Time for your next order 🛒"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 476
        top: 1
        right: 516
        bottom: 136
      }
      class_name: "android.widget.ImageView"
      content_description: "Pantaloons notification: "
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 476
        top: 1
        right: 516
        bottom: 136
      }
      class_name: "android.widget.ImageView"
      content_description: "Android System notification: 26 unused apps"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 476
        top: 1
        right: 516
        bottom: 136
      }
      class_name: "android.widget.ImageView"
      content_description: "ShopClues notification: "
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 476
        top: 1
        right: 516
        bottom: 136
      }
      class_name: "android.widget.ImageView"
      content_description: "Artsy notification: New Works for You"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 476
        top: 1
        right: 516
        bottom: 136
      }
      class_name: "android.widget.ImageView"
      content_description: "Pinterest notification: \"Wall decor crafts\" and more"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 476
        top: 1
        right: 516
        bottom: 136
      }
      class_name: "android.widget.ImageView"
      content_description: "Myntra notification: "
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 476
        top: 1
        right: 516
        bottom: 136
      }
      class_name: "android.widget.ImageView"
      content_description: "Pinterest notification: \"new\" and more"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 476
        top: 1
        right: 516
        bottom: 136
      }
      class_name: "android.widget.ImageView"
      content_description: "khelmart notification: Festival Exclusive: Grab an Additional Discount for a Limited Time"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 476
        top: 1
        right: 516
        bottom: 136
      }
      class_name: "android.widget.ImageView"
      content_description: "Pinterest notification: Cerebra, these ideas are so you"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 476
        top: 1
        right: 516
        bottom: 136
      }
      class_name: "android.widget.ImageView"
      content_description: "Weather&Radar notification: "
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 476
        top: 1
        right: 516
        bottom: 136
      }
      class_name: "android.widget.ImageView"
      content_description: "Pinterest notification: Cerebra, you have a good eye"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 476
        top: 1
        right: 516
        bottom: 136
      }
      class_name: "android.widget.ImageView"
      content_description: "Pinterest notification: \"World Spine Day\" and more"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 476
        top: 1
        right: 516
        bottom: 136
      }
      class_name: "android.widget.ImageView"
      content_description: "ShopClues notification: 📦 Your Slipper Order is on the Way! "
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 476
        top: 1
        right: 516
        bottom: 136
      }
      class_name: "android.widget.ImageView"
      content_description: "Pinterest notification: \"new\" and more"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 476
        top: 1
        right: 516
        bottom: 136
      }
      class_name: "android.widget.ImageView"
      content_description: "Pinterest notification: Cerebra, these ideas are so you"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 476
        top: 1
        right: 516
        bottom: 136
      }
      class_name: "android.widget.ImageView"
      content_description: "Sportsuncle notification: "
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 476
        top: 1
        right: 516
        bottom: 136
      }
      class_name: "android.widget.ImageView"
      content_description: "Photos notification: 3 people & 1 place found so far"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 476
        top: 1
        right: 516
        bottom: 136
      }
      class_name: "android.widget.ImageView"
      content_description: "Gmail notification: 9 new messages"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 476
        top: 1
        right: 516
        bottom: 136
      }
      class_name: "android.widget.ImageView"
      content_description: "Android System notification: Hotspot turned off"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 476
        top: 1
        right: 516
        bottom: 136
      }
      class_name: "android.widget.ImageView"
      content_description: "ShopClues notification: Time for your next order 🛒"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 476
        top: 1
        right: 516
        bottom: 136
      }
      class_name: "android.widget.ImageView"
      content_description: "Myntra notification: Grab it fast! ❤️"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 476
        top: 1
        right: 516
        bottom: 136
      }
      class_name: "android.widget.ImageView"
      content_description: "Google Play services notification: "
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 476
        top: 1
        right: 516
        bottom: 136
      }
      class_name: "android.widget.ImageView"
      content_description: "Google notification: Today\'s forecast · Bandhwari"
      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 {
    top: 136
    right: 1080
    bottom: 2337
  }
  id: 201
  window_type: TYPE_APPLICATION
  is_active: true
  is_focused: true
  tree {
    nodes {
      bounds_in_screen {
        top: 136
        right: 1080
        bottom: 2337
      }
      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: 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.FrameLayout"
      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.view.ViewGroup"
      depth: 6
    }
    nodes {
      bounds_in_screen {
        top: 136
        right: 1080
        bottom: 2337
      }
      class_name: "android.view.View"
      is_clickable: true
      is_focusable: true
      depth: 7
    }
    nodes {
      bounds_in_screen {
        top: 1875
        right: 1080
        bottom: 2337
      }
      class_name: "android.widget.FrameLayout"
      depth: 7
    }
    nodes {
      bounds_in_screen {
        top: 1875
        right: 1080
        bottom: 2337
      }
      class_name: "android.widget.FrameLayout"
      depth: 8
    }
    nodes {
      bounds_in_screen {
        top: 1875
        right: 1080
        bottom: 2337
      }
      class_name: "android.widget.FrameLayout"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        top: 1875
        right: 1080
        bottom: 2337
      }
      class_name: "android.widget.FrameLayout"
      depth: 10
    }
    nodes {
      bounds_in_screen {
        top: 1875
        right: 1080
        bottom: 2337
      }
      class_name: "android.view.ViewGroup"
      depth: 11
    }
    nodes {
      bounds_in_screen {
        top: 1875
        right: 1080
        bottom: 2337
      }
      class_name: "android.view.ViewGroup"
      depth: 12
    }
    nodes {
      bounds_in_screen {
        top: 1875
        right: 1080
        bottom: 2022
      }
      class_name: "android.view.ViewGroup"
      depth: 12
    }
    nodes {
      bounds_in_screen {
        top: 2148
        right: 1080
        bottom: 2337
      }
      class_name: "android.view.ViewGroup"
      depth: 12
    }
    nodes {
      bounds_in_screen {
        top: 1875
        right: 1080
        bottom: 2337
      }
      class_name: "android.view.ViewGroup"
      depth: 13
    }
    nodes {
      bounds_in_screen {
        top: 1875
        right: 1080
        bottom: 2022
      }
      class_name: "android.view.ViewGroup"
      depth: 13
    }
    nodes {
      bounds_in_screen {
        top: 2148
        right: 1080
        bottom: 2337
      }
      class_name: "android.view.ViewGroup"
      depth: 13
    }
    nodes {
      bounds_in_screen {
        top: 2337
        right: 1080
        bottom: 2337
      }
      class_name: "android.view.ViewGroup"
      depth: 13
    }
    nodes {
      bounds_in_screen {
        top: 1875
        right: 1080
        bottom: 2337
      }
      class_name: "android.widget.ScrollView"
      is_focusable: true
      depth: 14
    }
    nodes {
      bounds_in_screen {
        top: 1875
        right: 1080
        bottom: 2022
      }
      class_name: "android.view.ViewGroup"
      depth: 14
    }
    nodes {
      bounds_in_screen {
        top: 2148
        right: 1080
        bottom: 2337
      }
      class_name: "android.view.ViewGroup"
      depth: 14
    }
    nodes {
      bounds_in_screen {
        top: 1875
        right: 1080
        bottom: 2337
      }
      class_name: "android.view.ViewGroup"
      depth: 15
    }
    nodes {
      bounds_in_screen {
        top: 1875
        right: 147
        bottom: 2022
      }
      class_name: "android.widget.ImageButton"
      content_description: "Back Button"
      is_clickable: true
      is_focusable: true
      depth: 15
    }
    nodes {
      bounds_in_screen {
        left: 147
        top: 1875
        right: 1080
        bottom: 2022
      }
      class_name: "android.widget.RelativeLayout"
      depth: 15
    }
    nodes {
      bounds_in_screen {
        top: 2148
        right: 1080
        bottom: 2337
      }
      class_name: "android.view.ViewGroup"
      depth: 15
    }
    nodes {
      bounds_in_screen {
        top: 2022
        right: 1080
        bottom: 2148
      }
      class_name: "android.view.ViewGroup"
      depth: 16
    }
    nodes {
      bounds_in_screen {
        left: 147
        top: 1875
        right: 1080
        bottom: 2022
      }
      class_name: "android.widget.LinearLayout"
      depth: 16
    }
    nodes {
      bounds_in_screen {
        left: 1080
        top: 1875
        right: 1080
        bottom: 2022
      }
      class_name: "android.widget.LinearLayout"
      depth: 16
    }
    nodes {
      bounds_in_screen {
        left: 42
        top: 2190
        right: 519
        bottom: 2295
      }
      class_name: "android.view.ViewGroup"
      is_clickable: true
      is_focusable: true
      depth: 16
    }
    nodes {
      bounds_in_screen {
        left: 561
        top: 2190
        right: 1038
        bottom: 2295
      }
      class_name: "android.view.ViewGroup"
      is_clickable: true
      is_focusable: true
      depth: 16
    }
    nodes {
      bounds_in_screen {
        top: 2022
        right: 1080
        bottom: 2148
      }
      class_name: "android.view.ViewGroup"
      depth: 17
    }
    nodes {
      bounds_in_screen {
        left: 147
        top: 1875
        right: 1080
        bottom: 2022
      }
      class_name: "android.widget.LinearLayout"
      depth: 17
    }
    nodes {
      bounds_in_screen {
        left: 1080
        top: 1875
        right: 1080
        bottom: 2022
      }
      class_name: "android.widget.RelativeLayout"
      depth: 17
    }
    nodes {
      bounds_in_screen {
        left: 228
        top: 2222
        right: 333
        bottom: 2264
      }
      class_name: "android.widget.TextView"
      text: "Clear"
      depth: 17
    }
    nodes {
      bounds_in_screen {
        left: 743
        top: 2222
        right: 856
        bottom: 2264
      }
      class_name: "android.widget.TextView"
      text: "Apply"
      depth: 17
    }
    nodes {
      bounds_in_screen {
        top: 2022
        right: 1080
        bottom: 2148
      }
      class_name: "android.view.ViewGroup"
      depth: 18
    }
    nodes {
      bounds_in_screen {
        left: 147
        top: 1875
        right: 1080
        bottom: 2022
      }
      class_name: "android.widget.TextView"
      text: "Filters"
      is_clickable: true
      is_focusable: true
      depth: 18
    }
    nodes {
      bounds_in_screen {
        top: 2022
        right: 1080
        bottom: 2022
      }
      class_name: "android.view.ViewGroup"
      depth: 19
    }
    nodes {
      bounds_in_screen {
        top: 2022
        right: 1080
        bottom: 2148
      }
      class_name: "android.widget.ScrollView"
      is_focusable: true
      depth: 19
    }
    nodes {
      bounds_in_screen {
        top: 2022
        right: 1080
        bottom: 2148
      }
      class_name: "android.view.ViewGroup"
      depth: 20
    }
    nodes {
      bounds_in_screen {
        top: 2022
        right: 540
        bottom: 2148
      }
      class_name: "android.view.ViewGroup"
      depth: 21
    }
    nodes {
      bounds_in_screen {
        top: 2022
        right: 540
        bottom: 2148
      }
      class_name: "android.view.ViewGroup"
      is_clickable: true
      is_focusable: true
      depth: 22
    }
    nodes {
      bounds_in_screen {
        left: 42
        top: 2059
        right: 95
        bottom: 2111
      }
      class_name: "android.widget.ImageView"
      depth: 23
    }
    nodes {
      bounds_in_screen {
        left: 116
        top: 2059
        right: 498
        bottom: 2112
      }
      class_name: "android.widget.TextView"
      text: "M"
      depth: 23
    }
  }
}

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