instruction
As per my choice, a Bosch screwdriver set of 38 pieces is a good option; hence, add this to my cart in the Amazon app.
previous_actions
active_application
Amazon
screen_description
windows {
  bounds_in_screen {
    right: 1080
    bottom: 118
  }
  id: 49
  layer: 1
  window_type: TYPE_SYSTEM
  tree {
    nodes {
      bounds_in_screen {
        right: 1080
        bottom: 118
      }
      class_name: "android.widget.FrameLayout"
    }
    nodes {
      bounds_in_screen {
        right: 1080
        bottom: 118
      }
      class_name: "android.widget.FrameLayout"
      depth: 1
    }
    nodes {
      bounds_in_screen {
        right: 1080
        bottom: 118
      }
      class_name: "android.widget.FrameLayout"
      depth: 1
    }
    nodes {
      bounds_in_screen {
        right: 1080
        bottom: 118
      }
      class_name: "android.widget.FrameLayout"
      depth: 1
    }
    nodes {
      bounds_in_screen {
        right: 1080
        bottom: 118
      }
      class_name: "android.widget.FrameLayout"
      depth: 2
    }
    nodes {
      bounds_in_screen {
        left: 47
        right: 1027
        bottom: 118
      }
      class_name: "android.widget.LinearLayout"
      depth: 3
    }
    nodes {
      bounds_in_screen {
        left: 47
        top: 1
        right: 454
        bottom: 118
      }
      class_name: "android.widget.FrameLayout"
      depth: 4
    }
    nodes {
      bounds_in_screen {
        left: 454
        top: 1
        right: 599
        bottom: 118
      }
      class_name: "android.view.View"
      depth: 4
    }
    nodes {
      bounds_in_screen {
        left: 599
        top: 1
        right: 1006
        bottom: 118
      }
      class_name: "android.widget.LinearLayout"
      depth: 4
    }
    nodes {
      bounds_in_screen {
        left: 47
        top: 1
        right: 454
        bottom: 118
      }
      class_name: "android.widget.LinearLayout"
      depth: 5
    }
    nodes {
      bounds_in_screen {
        left: 924
        top: 1
        right: 1006
        bottom: 118
      }
      class_name: "android.widget.LinearLayout"
      depth: 5
    }
    nodes {
      bounds_in_screen {
        left: 47
        top: 1
        right: 131
        bottom: 118
      }
      class_name: "android.widget.TextView"
      content_description: "9:00 AM"
      text: "9:00"
      depth: 6
    }
    nodes {
      bounds_in_screen {
        left: 131
        top: 1
        right: 454
        bottom: 118
      }
      class_name: "android.widget.FrameLayout"
      depth: 6
    }
    nodes {
      bounds_in_screen {
        left: 924
        top: 1
        right: 986
        bottom: 118
      }
      class_name: "android.widget.LinearLayout"
      depth: 6
    }
    nodes {
      bounds_in_screen {
        left: 986
        top: 1
        right: 1006
        bottom: 118
      }
      class_name: "android.widget.LinearLayout"
      content_description: "Battery charging, 97 percent."
      depth: 6
    }
    nodes {
      bounds_in_screen {
        left: 131
        top: 1
        right: 454
        bottom: 118
      }
      class_name: "android.widget.LinearLayout"
      depth: 7
    }
    nodes {
      bounds_in_screen {
        left: 924
        top: 30
        right: 970
        bottom: 88
      }
      class_name: "android.widget.FrameLayout"
      content_description: "Wifi signal full."
      depth: 7
    }
    nodes {
      bounds_in_screen {
        left: 986
        top: 42
        right: 1006
        bottom: 76
      }
      class_name: "android.widget.ImageView"
      depth: 7
    }
    nodes {
      bounds_in_screen {
        left: 131
        top: 1
        right: 454
        bottom: 118
      }
      class_name: "android.widget.FrameLayout"
      depth: 8
    }
    nodes {
      bounds_in_screen {
        left: 931
        top: 30
        right: 970
        bottom: 88
      }
      class_name: "android.widget.LinearLayout"
      depth: 8
    }
    nodes {
      bounds_in_screen {
        left: 131
        top: 1
        right: 189
        bottom: 118
      }
      class_name: "android.widget.ImageView"
      content_description: "Weather notification: Krishna Indraprasth Apartments, Shastripuram Crossing, Gorakhpuri Colony, Dahtaura, Lohamandi, Agra, Uttar Pradesh 282007, India"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 189
        top: 1
        right: 247
        bottom: 118
      }
      class_name: "android.widget.ImageView"
      content_description: "To Do List notification: 1 Task Today"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 247
        top: 1
        right: 305
        bottom: 118
      }
      class_name: "android.widget.ImageView"
      content_description: "Flipkart notification: Find Lower ✈️ Fare, Get 2x Refund!"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 305
        top: 1
        right: 363
        bottom: 118
      }
      class_name: "android.widget.ImageView"
      content_description: "The Weather Channel notification: Breaking News"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 363
        top: 1
        right: 421
        bottom: 118
      }
      class_name: "android.widget.ImageView"
      content_description: "Top-Most Hardware notification: Check this out!"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 381
        top: 1
        right: 439
        bottom: 118
      }
      class_name: "android.widget.ImageView"
      content_description: "Android System notification: Check access settings"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 381
        top: 1
        right: 439
        bottom: 118
      }
      class_name: "android.widget.ImageView"
      content_description: "Digital Wellbeing notification: Need time to focus?"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 381
        top: 1
        right: 439
        bottom: 118
      }
      class_name: "android.widget.ImageView"
      content_description: "Google Play Store notification: "
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 381
        top: 1
        right: 439
        bottom: 118
      }
      class_name: "android.widget.ImageView"
      content_description: "Google Play services notification: "
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 381
        top: 1
        right: 439
        bottom: 118
      }
      class_name: "android.widget.ImageView"
      content_description: "Zappo Brands notification: Get your Star Projector today 🚀"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 381
        top: 1
        right: 439
        bottom: 118
      }
      class_name: "android.widget.ImageView"
      content_description: "Google notification: Today\'s forecast · Agra"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 931
        top: 39
        right: 970
        bottom: 78
      }
      class_name: "android.widget.FrameLayout"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 931
        top: 39
        right: 970
        bottom: 78
      }
      class_name: "android.widget.ImageView"
      depth: 10
    }
  }
}
windows {
  bounds_in_screen {
    right: 1080
    bottom: 2400
  }
  id: 2005
  title: "Amazon"
  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.RelativeLayout"
      depth: 3
    }
    nodes {
      bounds_in_screen {
        top: 118
        right: 1080
        bottom: 2337
      }
      class_name: "android.view.ViewGroup"
      depth: 3
    }
    nodes {
      bounds_in_screen {
        top: 118
        right: 1080
        bottom: 2337
      }
      class_name: "android.view.ViewGroup"
      depth: 4
    }
    nodes {
      bounds_in_screen {
        top: 118
        right: 1080
        bottom: 2337
      }
      class_name: "android.widget.FrameLayout"
      depth: 4
    }
    nodes {
      bounds_in_screen {
        top: 118
        right: 1080
        bottom: 2337
      }
      class_name: "android.widget.FrameLayout"
      depth: 4
    }
    nodes {
      bounds_in_screen {
        top: 118
        right: 1080
        bottom: 276
      }
      class_name: "android.widget.LinearLayout"
      depth: 4
    }
    nodes {
      bounds_in_screen {
        top: 118
        right: 1080
        bottom: 276
      }
      class_name: "android.widget.LinearLayout"
      depth: 4
    }
    nodes {
      bounds_in_screen {
        top: 276
        right: 1080
        bottom: 2337
      }
      class_name: "android.widget.FrameLayout"
      depth: 4
    }
    nodes {
      bounds_in_screen {
        top: 1590
        right: 1080
        bottom: 2190
      }
      class_name: "android.widget.RelativeLayout"
      depth: 4
    }
    nodes {
      bounds_in_screen {
        top: 2190
        right: 1080
        bottom: 2190
      }
      class_name: "android.widget.LinearLayout"
      depth: 4
    }
    nodes {
      bounds_in_screen {
        top: 2190
        right: 1080
        bottom: 2190
      }
      class_name: "android.widget.FrameLayout"
      depth: 4
    }
    nodes {
      bounds_in_screen {
        top: 2190
        right: 1080
        bottom: 2337
      }
      class_name: "android.widget.LinearLayout"
      depth: 4
    }
    nodes {
      bounds_in_screen {
        top: 2190
        right: 1080
        bottom: 2337
      }
      class_name: "android.widget.LinearLayout"
      depth: 4
    }
    nodes {
      bounds_in_screen {
        top: 118
        right: 1080
        bottom: 276
      }
      class_name: "android.widget.LinearLayout"
      depth: 5
    }
    nodes {
      bounds_in_screen {
        top: 276
        right: 1080
        bottom: 2190
      }
      class_name: "android.widget.FrameLayout"
      depth: 5
    }
    nodes {
      bounds_in_screen {
        top: 2032
        right: 1080
        bottom: 2190
      }
      class_name: "android.widget.LinearLayout"
      depth: 5
    }
    nodes {
      bounds_in_screen {
        top: 2190
        right: 1080
        bottom: 2337
      }
      class_name: "android.widget.RelativeLayout"
      is_focusable: true
      depth: 5
    }
    nodes {
      bounds_in_screen {
        top: 2190
        right: 1080
        bottom: 2337
      }
      class_name: "android.view.ViewGroup"
      depth: 5
    }
    nodes {
      bounds_in_screen {
        top: 118
        right: 1080
        bottom: 276
      }
      class_name: "android.widget.RelativeLayout"
      depth: 6
    }
    nodes {
      bounds_in_screen {
        top: 276
        right: 1080
        bottom: 276
      }
      class_name: "android.widget.LinearLayout"
      depth: 6
    }
    nodes {
      bounds_in_screen {
        top: 276
        right: 1080
        bottom: 2190
      }
      class_name: "android.widget.RelativeLayout"
      depth: 6
    }
    nodes {
      bounds_in_screen {
        top: 2190
        right: 1080
        bottom: 2337
      }
      class_name: "android.widget.HorizontalScrollView"
      is_focusable: true
      depth: 6
    }
    nodes {
      bounds_in_screen {
        top: 118
        right: 116
        bottom: 276
      }
      class_name: "android.widget.LinearLayout"
      content_description: "Back"
      is_clickable: true
      is_focusable: true
      depth: 7
    }
    nodes {
      bounds_in_screen {
        left: 116
        top: 118
        right: 1080
        bottom: 276
      }
      class_name: "android.widget.LinearLayout"
      content_description: "Search"
      is_clickable: true
      is_focusable: true
      depth: 7
    }
    nodes {
      bounds_in_screen {
        left: 1080
        top: 118
        right: 1080
        bottom: 234
      }
      class_name: "android.widget.LinearLayout"
      depth: 7
    }
    nodes {
      bounds_in_screen {
        top: 276
        right: 1080
        bottom: 276
      }
      class_name: "android.widget.LinearLayout"
      depth: 7
    }
    nodes {
      bounds_in_screen {
        top: 276
        right: 1080
        bottom: 2190
      }
      class_name: "android.widget.RelativeLayout"
      depth: 7
    }
    nodes {
      bounds_in_screen {
        top: 2190
        right: 1080
        bottom: 2337
      }
      class_name: "android.widget.LinearLayout"
      depth: 7
    }
    nodes {
      bounds_in_screen {
        left: 26
        top: 118
        right: 89
        bottom: 276
      }
      class_name: "android.widget.ImageView"
      depth: 8
    }
    nodes {
      bounds_in_screen {
        left: 148
        top: 136
        right: 1048
        bottom: 267
      }
      class_name: "android.widget.LinearLayout"
      depth: 8
    }
    nodes {
      bounds_in_screen {
        top: 276
        right: 1080
        bottom: 2190
      }
      class_name: "android.webkit.WebView"
      depth: 8
    }
    nodes {
      bounds_in_screen {
        top: 2190
        right: 213
        bottom: 2337
      }
      class_name: "androidx.appcompat.app.ActionBar$Tab"
      is_clickable: true
      is_focusable: true
      is_selected: true
      depth: 8
    }
    nodes {
      bounds_in_screen {
        left: 213
        top: 2190
        right: 431
        bottom: 2337
      }
      class_name: "androidx.appcompat.app.ActionBar$Tab"
      is_clickable: true
      is_focusable: true
      depth: 8
    }
    nodes {
      bounds_in_screen {
        left: 431
        top: 2190
        right: 649
        bottom: 2337
      }
      class_name: "androidx.appcompat.app.ActionBar$Tab"
      is_clickable: true
      is_focusable: true
      depth: 8
    }
    nodes {
      bounds_in_screen {
        left: 649
        top: 2190
        right: 867
        bottom: 2337
      }
      class_name: "androidx.appcompat.app.ActionBar$Tab"
      is_clickable: true
      is_focusable: true
      depth: 8
    }
    nodes {
      bounds_in_screen {
        left: 867
        top: 2190
        right: 1080
        bottom: 2337
      }
      class_name: "androidx.appcompat.app.ActionBar$Tab"
      is_clickable: true
      is_focusable: true
      depth: 8
    }
    nodes {
      bounds_in_screen {
        left: 174
        top: 165
        right: 237
        bottom: 228
      }
      class_name: "android.widget.LinearLayout"
      content_description: "Search"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 258
        top: 139
        right: 924
        bottom: 254
      }
      class_name: "android.widget.TextView"
      hint_text: "Search Amazon.in"
      text: "Screwdriver"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 924
        top: 139
        right: 1040
        bottom: 254
      }
      class_name: "android.widget.FrameLayout"
      content_description: "scan it"
      is_clickable: true
      is_focusable: true
      depth: 9
    }
    nodes {
      bounds_in_screen {
        top: 276
        right: 1084
        bottom: 2193
      }
      class_name: "android.webkit.WebView"
      is_focusable: true
      is_focused: true
      is_scrollable: true
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 51
        top: 2192
        right: 157
        bottom: 2337
      }
      class_name: "android.widget.FrameLayout"
      content_description: "Home Tab 1 of 5"
      is_selected: true
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 269
        top: 2192
        right: 374
        bottom: 2337
      }
      class_name: "android.widget.FrameLayout"
      content_description: "Your Amazon.com Tab 2 of 5"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 487
        top: 2192
        right: 592
        bottom: 2337
      }
      class_name: "android.widget.FrameLayout"
      content_description: "Context switcher. Switch between various contexts like Amazon Pay, miniTV, etc. Tab 3 of 5"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 705
        top: 2192
        right: 810
        bottom: 2337
      }
      class_name: "android.widget.FrameLayout"
      content_description: "Cart 0 item Tab 4 of 5"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 923
        top: 2192
        right: 1028
        bottom: 2337
      }
      class_name: "android.widget.FrameLayout"
      content_description: "Menu. Contains your orders, your account, shop by department, programmes and features, settings and customer service Tab 5 of 5"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 174
        top: 165
        right: 237
        bottom: 228
      }
      class_name: "android.widget.ImageView"
      depth: 10
    }
    nodes {
      bounds_in_screen {
        left: 950
        top: 165
        right: 1013
        bottom: 228
      }
      class_name: "android.widget.ImageView"
      depth: 10
    }
    nodes {
      bounds_in_screen {
        top: 276
        right: 1084
        bottom: 276
      }
      class_name: "android.widget.TextView"
      depth: 10
    }
    nodes {
      bounds_in_screen {
        left: 51
        top: 2192
        right: 156
        bottom: 2300
      }
      class_name: "android.widget.ImageView"
      is_selected: true
      depth: 10
    }
    nodes {
      bounds_in_screen {
        left: 51
        top: 2278
        right: 157
        bottom: 2323
      }
      class_name: "android.widget.TextView"
      text: " Home "
      is_selected: true
      depth: 10
    }
    nodes {
      bounds_in_screen {
        left: 269
        top: 2192
        right: 374
        bottom: 2300
      }
      class_name: "android.widget.ImageView"
      depth: 10
    }
    nodes {
      bounds_in_screen {
        left: 285
        top: 2278
        right: 357
        bottom: 2323
      }
      class_name: "android.widget.TextView"
      text: " You "
      depth: 10
    }
    nodes {
      bounds_in_screen {
        left: 487
        top: 2192
        right: 592
        bottom: 2300
      }
      class_name: "android.widget.ImageView"
      depth: 10
    }
    nodes {
      bounds_in_screen {
        left: 494
        top: 2278
        right: 584
        bottom: 2323
      }
      class_name: "android.widget.TextView"
      text: " More "
      depth: 10
    }
    nodes {
      bounds_in_screen {
        left: 705
        top: 2192
        right: 810
        bottom: 2308
      }
      class_name: "android.widget.FrameLayout"
      depth: 10
    }
    nodes {
      bounds_in_screen {
        left: 719
        top: 2278
        right: 796
        bottom: 2323
      }
      class_name: "android.widget.TextView"
      text: " Cart "
      depth: 10
    }
    nodes {
      bounds_in_screen {
        left: 923
        top: 2192
        right: 1028
        bottom: 2300
      }
      class_name: "android.widget.ImageView"
      depth: 10
    }
    nodes {
      bounds_in_screen {
        left: 927
        top: 2278
        right: 1024
        bottom: 2323
      }
      class_name: "android.widget.TextView"
      text: " Menu "
      depth: 10
    }
    nodes {
      bounds_in_screen {
        left: 705
        top: 2192
        right: 810
        bottom: 2300
      }
      class_name: "android.widget.ImageView"
      depth: 11
    }
    nodes {
      bounds_in_screen {
        left: 752
        top: 2206
        right: 773
        bottom: 2252
      }
      class_name: "android.widget.TextView"
      text: "0"
      depth: 11
    }
  }
}

assistant
!FUNCTIONCALL{"name": "scroll", "parameters": {"direction": "down"}}
[{"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"]}}}]