instruction
I want to buy a formal shoes for myself. Search for formal shoes in the Amazon app.
previous_actions
{"name": "open_app", "parameters": {"app_name": "Amazon"}}
active_application
Amazon
screen_description
windows {
  bounds_in_screen {
    right: 1440
    bottom: 145
  }
  id: 2
  layer: 1
  window_type: TYPE_SYSTEM
  tree {
    nodes {
      bounds_in_screen {
        right: 1440
        bottom: 145
      }
      class_name: "android.widget.FrameLayout"
    }
    nodes {
      bounds_in_screen {
        right: 1440
        bottom: 145
      }
      class_name: "android.widget.FrameLayout"
      depth: 1
    }
    nodes {
      bounds_in_screen {
        right: 1440
        bottom: 145
      }
      class_name: "android.widget.FrameLayout"
      depth: 1
    }
    nodes {
      bounds_in_screen {
        right: 1440
        bottom: 145
      }
      class_name: "android.widget.FrameLayout"
      depth: 2
    }
    nodes {
      bounds_in_screen {
        left: 50
        right: 1370
        bottom: 145
      }
      class_name: "android.widget.LinearLayout"
      depth: 3
    }
    nodes {
      bounds_in_screen {
        left: 78
        top: 1
        right: 645
        bottom: 145
      }
      class_name: "android.widget.FrameLayout"
      depth: 4
    }
    nodes {
      bounds_in_screen {
        left: 645
        top: 1
        right: 775
        bottom: 145
      }
      class_name: "android.view.View"
      depth: 4
    }
    nodes {
      bounds_in_screen {
        left: 775
        top: 1
        right: 1342
        bottom: 145
      }
      class_name: "android.widget.FrameLayout"
      depth: 4
    }
    nodes {
      bounds_in_screen {
        left: 78
        top: 1
        right: 573
        bottom: 145
      }
      class_name: "android.widget.FrameLayout"
      depth: 5
    }
    nodes {
      bounds_in_screen {
        left: 1232
        top: 1
        right: 1342
        bottom: 145
      }
      class_name: "android.widget.LinearLayout"
      depth: 5
    }
    nodes {
      bounds_in_screen {
        left: 78
        top: 1
        right: 573
        bottom: 145
      }
      class_name: "android.widget.LinearLayout"
      depth: 6
    }
    nodes {
      bounds_in_screen {
        left: 1232
        top: 1
        right: 1342
        bottom: 145
      }
      class_name: "android.widget.LinearLayout"
      depth: 6
    }
    nodes {
      bounds_in_screen {
        left: 78
        top: 1
        right: 188
        bottom: 145
      }
      class_name: "android.widget.TextView"
      content_description: "8:07 AM"
      text: "8:07"
      depth: 7
    }
    nodes {
      bounds_in_screen {
        left: 188
        top: 1
        right: 573
        bottom: 145
      }
      class_name: "android.widget.FrameLayout"
      depth: 7
    }
    nodes {
      bounds_in_screen {
        left: 1232
        top: 1
        right: 1315
        bottom: 145
      }
      class_name: "android.widget.LinearLayout"
      depth: 7
    }
    nodes {
      bounds_in_screen {
        left: 1315
        top: 1
        right: 1342
        bottom: 145
      }
      class_name: "android.widget.LinearLayout"
      content_description: "Battery charging, 100 percent."
      depth: 7
    }
    nodes {
      bounds_in_screen {
        left: 188
        top: 1
        right: 573
        bottom: 145
      }
      class_name: "android.view.ViewGroup"
      depth: 8
    }
    nodes {
      bounds_in_screen {
        left: 1232
        top: 34
        right: 1294
        bottom: 111
      }
      class_name: "android.widget.FrameLayout"
      content_description: "Wifi three bars."
      depth: 8
    }
    nodes {
      bounds_in_screen {
        left: 1315
        top: 50
        right: 1342
        bottom: 96
      }
      class_name: "android.widget.ImageView"
      depth: 8
    }
    nodes {
      bounds_in_screen {
        left: 188
        top: 1
        right: 265
        bottom: 145
      }
      class_name: "android.widget.ImageView"
      content_description: "Shopsy notification: "
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 265
        top: 1
        right: 342
        bottom: 145
      }
      class_name: "android.widget.ImageView"
      content_description: "Reddit notification: "
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 342
        top: 1
        right: 419
        bottom: 145
      }
      class_name: "android.widget.ImageView"
      content_description: "CNN notification: "
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 419
        top: 1
        right: 496
        bottom: 145
      }
      class_name: "android.widget.ImageView"
      content_description: "McDonald\'s notification: "
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 496
        top: 1
        right: 573
        bottom: 145
      }
      class_name: "android.widget.ImageView"
      content_description: "Ubuy notification: "
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 521
        top: 1
        right: 573
        bottom: 145
      }
      class_name: "android.widget.ImageView"
      content_description: "Battlegrounds India notification: Permanent Rewards Waiting!"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 521
        top: 1
        right: 573
        bottom: 145
      }
      class_name: "android.widget.ImageView"
      content_description: "M&S India notification: Hero Styles for Him!"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 521
        top: 1
        right: 573
        bottom: 145
      }
      class_name: "android.widget.ImageView"
      content_description: "Urbanic notification: Sweater Season ❄️"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 521
        top: 1
        right: 573
        bottom: 145
      }
      class_name: "android.widget.ImageView"
      content_description: "Google Play services notification: "
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 521
        top: 1
        right: 573
        bottom: 145
      }
      class_name: "android.widget.ImageView"
      content_description: "AccuWeather notification: "
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 1241
        top: 34
        right: 1294
        bottom: 111
      }
      class_name: "android.widget.LinearLayout"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 1241
        top: 46
        right: 1294
        bottom: 99
      }
      class_name: "android.widget.FrameLayout"
      depth: 10
    }
    nodes {
      bounds_in_screen {
        left: 1241
        top: 46
        right: 1294
        bottom: 99
      }
      class_name: "android.widget.ImageView"
      depth: 11
    }
  }
}
windows {
  bounds_in_screen {
    right: 1440
    bottom: 3120
  }
  id: 17
  title: "Amazon"
  window_type: TYPE_APPLICATION
  is_active: true
  is_focused: true
  tree {
    nodes {
      bounds_in_screen {
        right: 1440
        bottom: 3120
      }
      class_name: "android.widget.FrameLayout"
    }
    nodes {
      bounds_in_screen {
        right: 1440
        bottom: 3036
      }
      class_name: "android.widget.LinearLayout"
      depth: 1
    }
    nodes {
      bounds_in_screen {
        top: 3036
        right: 1440
        bottom: 3120
      }
      class_name: "android.view.View"
      depth: 1
    }
    nodes {
      bounds_in_screen {
        right: 1440
        bottom: 3036
      }
      class_name: "android.widget.FrameLayout"
      depth: 2
    }
    nodes {
      bounds_in_screen {
        right: 1440
        bottom: 3036
      }
      class_name: "android.widget.RelativeLayout"
      depth: 3
    }
    nodes {
      bounds_in_screen {
        top: 145
        right: 1440
        bottom: 3036
      }
      class_name: "android.view.ViewGroup"
      depth: 3
    }
    nodes {
      bounds_in_screen {
        top: 145
        right: 1440
        bottom: 3036
      }
      class_name: "android.view.ViewGroup"
      depth: 4
    }
    nodes {
      bounds_in_screen {
        top: 145
        right: 1440
        bottom: 3036
      }
      class_name: "android.widget.FrameLayout"
      depth: 4
    }
    nodes {
      bounds_in_screen {
        top: 145
        right: 1440
        bottom: 3036
      }
      class_name: "android.widget.FrameLayout"
      depth: 4
    }
    nodes {
      bounds_in_screen {
        top: 145
        right: 1440
        bottom: 355
      }
      class_name: "android.widget.LinearLayout"
      depth: 4
    }
    nodes {
      bounds_in_screen {
        top: 145
        right: 1440
        bottom: 355
      }
      class_name: "android.widget.LinearLayout"
      depth: 4
    }
    nodes {
      bounds_in_screen {
        top: 355
        right: 1440
        bottom: 3036
      }
      class_name: "android.widget.FrameLayout"
      depth: 4
    }
    nodes {
      bounds_in_screen {
        top: 2840
        right: 1440
        bottom: 2840
      }
      class_name: "android.widget.LinearLayout"
      depth: 4
    }
    nodes {
      bounds_in_screen {
        top: 2840
        right: 1440
        bottom: 2840
      }
      class_name: "android.widget.FrameLayout"
      depth: 4
    }
    nodes {
      bounds_in_screen {
        top: 2840
        right: 1440
        bottom: 3036
      }
      class_name: "android.widget.LinearLayout"
      depth: 4
    }
    nodes {
      bounds_in_screen {
        top: 2868
        right: 1440
        bottom: 3036
      }
      class_name: "android.widget.LinearLayout"
      depth: 4
    }
    nodes {
      bounds_in_screen {
        top: 145
        right: 1440
        bottom: 355
      }
      class_name: "android.widget.LinearLayout"
      depth: 5
    }
    nodes {
      bounds_in_screen {
        top: 355
        right: 1440
        bottom: 2840
      }
      class_name: "android.widget.FrameLayout"
      depth: 5
    }
    nodes {
      bounds_in_screen {
        top: 2840
        right: 1440
        bottom: 3036
      }
      class_name: "android.view.ViewGroup"
      depth: 5
    }
    nodes {
      bounds_in_screen {
        top: 2868
        right: 1440
        bottom: 3036
      }
      class_name: "android.widget.RelativeLayout"
      is_focusable: true
      depth: 5
    }
    nodes {
      bounds_in_screen {
        top: 145
        right: 1440
        bottom: 355
      }
      class_name: "android.widget.RelativeLayout"
      depth: 6
    }
    nodes {
      bounds_in_screen {
        top: 509
        right: 1440
        bottom: 2840
      }
      class_name: "android.widget.RelativeLayout"
      depth: 6
    }
    nodes {
      bounds_in_screen {
        top: 355
        right: 1440
        bottom: 509
      }
      class_name: "android.widget.LinearLayout"
      depth: 6
    }
    nodes {
      bounds_in_screen {
        top: 2840
        right: 1440
        bottom: 3036
      }
      class_name: "android.widget.HorizontalScrollView"
      is_focusable: true
      depth: 6
    }
    nodes {
      bounds_in_screen {
        top: 145
        right: 1440
        bottom: 355
      }
      class_name: "android.widget.LinearLayout"
      content_description: "Search"
      is_clickable: true
      is_focusable: true
      depth: 7
    }
    nodes {
      bounds_in_screen {
        left: 1440
        top: 145
        right: 1440
        bottom: 299
      }
      class_name: "android.widget.LinearLayout"
      depth: 7
    }
    nodes {
      bounds_in_screen {
        top: 509
        right: 1440
        bottom: 2840
      }
      class_name: "android.widget.RelativeLayout"
      depth: 7
    }
    nodes {
      bounds_in_screen {
        top: 355
        right: 1440
        bottom: 509
      }
      class_name: "android.widget.LinearLayout"
      depth: 7
    }
    nodes {
      bounds_in_screen {
        top: 2840
        right: 1440
        bottom: 3036
      }
      class_name: "android.widget.LinearLayout"
      depth: 7
    }
    nodes {
      bounds_in_screen {
        left: 42
        top: 169
        right: 1440
        bottom: 344
      }
      class_name: "android.widget.LinearLayout"
      depth: 8
    }
    nodes {
      bounds_in_screen {
        top: 509
        right: 1440
        bottom: 2840
      }
      class_name: "android.webkit.WebView"
      is_clickable: true
      is_focusable: true
      is_focused: true
      depth: 8
    }
    nodes {
      bounds_in_screen {
        top: 355
        right: 1440
        bottom: 509
      }
      class_name: "android.widget.LinearLayout"
      depth: 8
    }
    nodes {
      bounds_in_screen {
        top: 2840
        right: 283
        bottom: 3036
      }
      class_name: "androidx.appcompat.app.ActionBar$Tab"
      is_clickable: true
      is_focusable: true
      is_selected: true
      depth: 8
    }
    nodes {
      bounds_in_screen {
        left: 283
        top: 2840
        right: 574
        bottom: 3036
      }
      class_name: "androidx.appcompat.app.ActionBar$Tab"
      is_clickable: true
      is_focusable: true
      depth: 8
    }
    nodes {
      bounds_in_screen {
        left: 574
        top: 2840
        right: 865
        bottom: 3036
      }
      class_name: "androidx.appcompat.app.ActionBar$Tab"
      is_clickable: true
      is_focusable: true
      depth: 8
    }
    nodes {
      bounds_in_screen {
        left: 865
        top: 2840
        right: 1156
        bottom: 3036
      }
      class_name: "androidx.appcompat.app.ActionBar$Tab"
      is_clickable: true
      is_focusable: true
      depth: 8
    }
    nodes {
      bounds_in_screen {
        left: 1156
        top: 2840
        right: 1440
        bottom: 3036
      }
      class_name: "androidx.appcompat.app.ActionBar$Tab"
      is_clickable: true
      is_focusable: true
      depth: 8
    }
    nodes {
      bounds_in_screen {
        left: 78
        top: 207
        right: 162
        bottom: 291
      }
      class_name: "android.widget.LinearLayout"
      content_description: "Search"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 190
        top: 173
        right: 1275
        bottom: 326
      }
      class_name: "android.widget.TextView"
      hint_text: "Search Amazon.in"
      text: "Search Amazon.in"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 1275
        top: 173
        right: 1429
        bottom: 326
      }
      class_name: "android.widget.FrameLayout"
      content_description: "scan it"
      is_clickable: true
      is_focusable: true
      depth: 9
    }
    nodes {
      bounds_in_screen {
        top: 355
        right: 1440
        bottom: 509
      }
      class_name: "android.widget.LinearLayout"
      is_clickable: true
      is_focusable: true
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 68
        top: 2843
        right: 208
        bottom: 3036
      }
      class_name: "android.widget.FrameLayout"
      content_description: "Home Tab 1 of 5"
      is_selected: true
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 358
        top: 2843
        right: 498
        bottom: 3036
      }
      class_name: "android.widget.FrameLayout"
      content_description: "Your Amazon.com Tab 2 of 5"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 649
        top: 2843
        right: 789
        bottom: 3036
      }
      class_name: "android.widget.FrameLayout"
      content_description: "Context switcher. Switch between various contexts like amazon pay, mini tv, etc Tab 3 of 5"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 940
        top: 2843
        right: 1080
        bottom: 3036
      }
      class_name: "android.widget.FrameLayout"
      content_description: "Cart 1 item Tab 4 of 5"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 1231
        top: 2843
        right: 1371
        bottom: 3036
      }
      class_name: "android.widget.FrameLayout"
      content_description: "Browse menu Tab 5 of 5"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 78
        top: 207
        right: 162
        bottom: 291
      }
      class_name: "android.widget.ImageView"
      depth: 10
    }
    nodes {
      bounds_in_screen {
        left: 1310
        top: 207
        right: 1394
        bottom: 291
      }
      class_name: "android.widget.ImageView"
      depth: 10
    }
    nodes {
      bounds_in_screen {
        left: 35
        top: 397
        right: 105
        bottom: 467
      }
      class_name: "android.widget.ImageView"
      depth: 10
    }
    nodes {
      bounds_in_screen {
        left: 105
        top: 400
        right: 1132
        bottom: 464
      }
      class_name: "android.widget.TextView"
      text: "Delivering to Noida 110091 - Update location ⌵"
      depth: 10
    }
    nodes {
      bounds_in_screen {
        left: 68
        top: 2843
        right: 208
        bottom: 2986
      }
      class_name: "android.widget.ImageView"
      is_selected: true
      depth: 10
    }
    nodes {
      bounds_in_screen {
        left: 69
        top: 2958
        right: 207
        bottom: 3018
      }
      class_name: "android.widget.TextView"
      text: " Home "
      is_selected: true
      depth: 10
    }
    nodes {
      bounds_in_screen {
        left: 358
        top: 2843
        right: 498
        bottom: 2986
      }
      class_name: "android.widget.ImageView"
      depth: 10
    }
    nodes {
      bounds_in_screen {
        left: 381
        top: 2958
        right: 474
        bottom: 3018
      }
      class_name: "android.widget.TextView"
      text: " You "
      depth: 10
    }
    nodes {
      bounds_in_screen {
        left: 649
        top: 2843
        right: 789
        bottom: 2986
      }
      class_name: "android.widget.ImageView"
      depth: 10
    }
    nodes {
      bounds_in_screen {
        left: 660
        top: 2958
        right: 778
        bottom: 3018
      }
      class_name: "android.widget.TextView"
      text: " More "
      depth: 10
    }
    nodes {
      bounds_in_screen {
        left: 940
        top: 2843
        right: 1080
        bottom: 2997
      }
      class_name: "android.widget.FrameLayout"
      depth: 10
    }
    nodes {
      bounds_in_screen {
        left: 960
        top: 2958
        right: 1060
        bottom: 3018
      }
      class_name: "android.widget.TextView"
      text: " Cart "
      depth: 10
    }
    nodes {
      bounds_in_screen {
        left: 1231
        top: 2843
        right: 1371
        bottom: 2986
      }
      class_name: "android.widget.ImageView"
      depth: 10
    }
    nodes {
      bounds_in_screen {
        left: 1237
        top: 2958
        right: 1364
        bottom: 3018
      }
      class_name: "android.widget.TextView"
      text: " Menu "
      depth: 10
    }
    nodes {
      bounds_in_screen {
        left: 940
        top: 2843
        right: 1080
        bottom: 2986
      }
      class_name: "android.widget.ImageView"
      depth: 11
    }
    nodes {
      bounds_in_screen {
        left: 1003
        top: 2862
        right: 1031
        bottom: 2922
      }
      class_name: "android.widget.TextView"
      text: "1"
      depth: 11
    }
  }
}

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