instruction
In the DMart ready app , check the special offers available.
previous_actions
{"name": "open_app", "parameters": {"app_name": "DMart Ready"}}
active_application
DMart Ready
screen_description
windows {
  bounds_in_screen {
    right: 1080
    bottom: 136
  }
  id: 1274
  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: 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: 536
        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: 536
        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: 246
        bottom: 136
      }
      class_name: "android.widget.TextView"
      content_description: "12:38 PM"
      text: "12:38"
      depth: 7
    }
    nodes {
      bounds_in_screen {
        left: 246
        top: 1
        right: 536
        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: 246
        top: 1
        right: 536
        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 three bars."
      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: 246
        top: 1
        right: 304
        bottom: 136
      }
      class_name: "android.widget.ImageView"
      content_description: "AJIO notification: "
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 304
        top: 1
        right: 362
        bottom: 136
      }
      class_name: "android.widget.ImageView"
      content_description: "Shopsy notification: "
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 362
        top: 1
        right: 420
        bottom: 136
      }
      class_name: "android.widget.ImageView"
      content_description: "ixigo trains notification: "
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 420
        top: 1
        right: 478
        bottom: 136
      }
      class_name: "android.widget.ImageView"
      content_description: "Gmail notification: 4 new messages"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 478
        top: 1
        right: 536
        bottom: 136
      }
      class_name: "android.widget.ImageView"
      content_description: "Google Play services notification: "
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 496
        top: 1
        right: 536
        bottom: 136
      }
      class_name: "android.widget.ImageView"
      content_description: "Shoppers Stop notification: "
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 496
        top: 1
        right: 536
        bottom: 136
      }
      class_name: "android.widget.ImageView"
      content_description: "Target notification: "
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 496
        top: 1
        right: 536
        bottom: 136
      }
      class_name: "android.widget.ImageView"
      content_description: "NoBroker notification: Fast-track your tenant search 🚀🧐 "
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 496
        top: 1
        right: 536
        bottom: 136
      }
      class_name: "android.widget.ImageView"
      content_description: "Freshtohome notification: "
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 496
        top: 1
        right: 536
        bottom: 136
      }
      class_name: "android.widget.ImageView"
      content_description: "Nike notification: One Membership. Access Everywhere."
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 496
        top: 1
        right: 536
        bottom: 136
      }
      class_name: "android.widget.ImageView"
      content_description: "Moovit notification: "
      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 {
    right: 1080
    bottom: 2400
  }
  id: 2037
  title: "DMart Ready"
  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 {
        top: 136
        right: 1080
        bottom: 2337
      }
      class_name: "android.widget.FrameLayout"
      depth: 2
    }
    nodes {
      bounds_in_screen {
        top: 136
        right: 1080
        bottom: 2337
      }
      class_name: "android.widget.LinearLayout"
      depth: 3
    }
    nodes {
      bounds_in_screen {
        top: 136
        right: 1080
        bottom: 2337
      }
      class_name: "android.widget.FrameLayout"
      depth: 4
    }
    nodes {
      bounds_in_screen {
        top: 136
        right: 1080
        bottom: 2337
      }
      class_name: "android.widget.RelativeLayout"
      depth: 5
    }
    nodes {
      bounds_in_screen {
        top: 136
        right: 1080
        bottom: 2337
      }
      class_name: "androidx.drawerlayout.widget.DrawerLayout"
      depth: 6
    }
    nodes {
      bounds_in_screen {
        top: 136
        right: 1080
        bottom: 2337
      }
      class_name: "android.widget.RelativeLayout"
      depth: 7
    }
    nodes {
      bounds_in_screen {
        top: 136
        right: 1080
        bottom: 2337
      }
      class_name: "android.widget.LinearLayout"
      depth: 8
    }
    nodes {
      bounds_in_screen {
        top: 136
        right: 1080
        bottom: 283
      }
      class_name: "android.view.ViewGroup"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        top: 283
        right: 1080
        bottom: 286
      }
      class_name: "android.view.View"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        top: 286
        right: 1080
        bottom: 2337
      }
      class_name: "android.view.ViewGroup"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        top: 136
        right: 147
        bottom: 283
      }
      class_name: "android.widget.ImageButton"
      content_description: "Navigate up"
      is_clickable: true
      is_focusable: true
      depth: 10
      tooltip_text: "Navigate up"
    }
    nodes {
      bounds_in_screen {
        left: 147
        top: 180
        right: 750
        bottom: 238
      }
      class_name: "android.widget.LinearLayout"
      depth: 10
    }
    nodes {
      bounds_in_screen {
        left: 750
        top: 136
        right: 1059
        bottom: 283
      }
      class_name: "androidx.appcompat.widget.LinearLayoutCompat"
      depth: 10
    }
    nodes {
      bounds_in_screen {
        top: 286
        right: 1080
        bottom: 2337
      }
      class_name: "android.view.ViewGroup"
      depth: 10
    }
    nodes {
      bounds_in_screen {
        left: 147
        top: 180
        right: 236
        bottom: 238
      }
      class_name: "android.widget.LinearLayout"
      depth: 11
    }
    nodes {
      bounds_in_screen {
        left: 750
        top: 146
        right: 855
        bottom: 272
      }
      class_name: "android.widget.TextView"
      content_description: "Search"
      is_clickable: true
      is_focusable: true
      depth: 11
      tooltip_text: "Search"
    }
    nodes {
      bounds_in_screen {
        left: 855
        top: 153
        right: 954
        bottom: 266
      }
      class_name: "android.widget.LinearLayout"
      is_clickable: true
      is_focusable: true
      depth: 11
    }
    nodes {
      bounds_in_screen {
        left: 954
        top: 146
        right: 1059
        bottom: 272
      }
      class_name: "android.widget.TextView"
      content_description: "More"
      is_clickable: true
      is_focusable: true
      is_long_clickable: true
      depth: 11
      tooltip_text: "More"
    }
    nodes {
      bounds_in_screen {
        top: 286
        bottom: 286
      }
      class_name: "android.view.View"
      depth: 11
    }
    nodes {
      bounds_in_screen {
        top: 286
        right: 1080
        bottom: 407
      }
      class_name: "android.widget.LinearLayout"
      depth: 11
    }
    nodes {
      bounds_in_screen {
        top: 407
        right: 1080
        bottom: 2096
      }
      class_name: "android.widget.ScrollView"
      is_focusable: true
      depth: 11
    }
    nodes {
      bounds_in_screen {
        top: 2085
        right: 1080
        bottom: 2096
      }
      class_name: "android.view.View"
      depth: 11
    }
    nodes {
      bounds_in_screen {
        top: 2096
        right: 1080
        bottom: 2337
      }
      class_name: "android.widget.LinearLayout"
      depth: 11
    }
    nodes {
      bounds_in_screen {
        left: 147
        top: 180
        right: 236
        bottom: 238
      }
      class_name: "android.widget.TextView"
      text: "Cart"
      is_selected: true
      depth: 12
    }
    nodes {
      bounds_in_screen {
        left: 855
        top: 153
        right: 954
        bottom: 226
      }
      class_name: "android.widget.RelativeLayout"
      depth: 12
    }
    nodes {
      bounds_in_screen {
        left: 862
        top: 226
        right: 946
        bottom: 266
      }
      class_name: "android.widget.TextView"
      text: "₹245"
      depth: 12
    }
    nodes {
      bounds_in_screen {
        top: 286
        right: 1080
        bottom: 407
      }
      class_name: "android.widget.LinearLayout"
      depth: 12
    }
    nodes {
      bounds_in_screen {
        top: 407
        right: 1080
        bottom: 986
      }
      class_name: "android.widget.LinearLayout"
      depth: 12
    }
    nodes {
      bounds_in_screen {
        top: 2096
        right: 1080
        bottom: 2096
      }
      class_name: "android.widget.LinearLayout"
      depth: 12
    }
    nodes {
      bounds_in_screen {
        left: 21
        top: 2117
        right: 1059
        bottom: 2243
      }
      class_name: "android.widget.Button"
      text: "PROCEED TO CHECKOUT"
      is_clickable: true
      is_focusable: true
      depth: 12
    }
    nodes {
      bounds_in_screen {
        top: 2264
        right: 1080
        bottom: 2337
      }
      class_name: "android.widget.TextView"
      text: "Your minimum order value should be ₹ 500."
      depth: 12
    }
    nodes {
      bounds_in_screen {
        left: 855
        top: 153
        right: 954
        bottom: 226
      }
      class_name: "android.widget.ImageView"
      depth: 13
    }
    nodes {
      bounds_in_screen {
        top: 286
        right: 1080
        bottom: 396
      }
      class_name: "android.view.ViewGroup"
      depth: 13
    }
    nodes {
      bounds_in_screen {
        top: 396
        right: 1080
        bottom: 407
      }
      class_name: "android.view.View"
      depth: 13
    }
    nodes {
      bounds_in_screen {
        top: 407
        right: 1080
        bottom: 986
      }
      class_name: "android.widget.LinearLayout"
      depth: 13
    }
    nodes {
      bounds_in_screen {
        top: 2096
        right: 1080
        bottom: 2096
      }
      class_name: "android.widget.LinearLayout"
      depth: 13
    }
    nodes {
      bounds_in_screen {
        left: 42
        top: 315
        right: 540
        bottom: 367
      }
      class_name: "android.widget.TextView"
      text: "Savings ₹30"
      depth: 14
    }
    nodes {
      bounds_in_screen {
        left: 540
        top: 312
        right: 1038
        bottom: 370
      }
      class_name: "android.widget.TextView"
      text: "Cart Total ₹245"
      depth: 14
    }
    nodes {
      bounds_in_screen {
        top: 407
        right: 1080
        bottom: 986
      }
      class_name: "android.view.ViewGroup"
      depth: 14
    }
    nodes {
      bounds_in_screen {
        top: 2096
        right: 1080
        bottom: 2096
      }
      class_name: "android.widget.LinearLayout"
      depth: 14
    }
    nodes {
      bounds_in_screen {
        left: 26
        top: 433
        right: 1054
        bottom: 537
      }
      class_name: "android.widget.TextView"
      text: "My Cart (1 items)"
      depth: 15
    }
    nodes {
      bounds_in_screen {
        left: 26
        top: 537
        right: 1054
        bottom: 538
      }
      class_name: "android.view.View"
      depth: 15
    }
    nodes {
      bounds_in_screen {
        left: 26
        top: 538
        right: 1054
        bottom: 864
      }
      class_name: "androidx.recyclerview.widget.RecyclerView"
      is_focusable: true
      depth: 15
    }
    nodes {
      bounds_in_screen {
        left: 26
        top: 864
        right: 1054
        bottom: 960
      }
      class_name: "android.widget.LinearLayout"
      is_clickable: true
      is_focusable: true
      depth: 15
    }
    nodes {
      bounds_in_screen {
        left: 26
        top: 538
        right: 1054
        bottom: 864
      }
      class_name: "android.view.ViewGroup"
      is_clickable: true
      is_focusable: true
      depth: 16
    }
    nodes {
      bounds_in_screen {
        left: 26
        top: 895
        right: 60
        bottom: 929
      }
      class_name: "android.widget.ImageView"
      depth: 16
    }
    nodes {
      bounds_in_screen {
        left: 60
        top: 864
        right: 1054
        bottom: 960
      }
      class_name: "android.widget.TextView"
      text: "Remove all"
      depth: 16
    }
    nodes {
      bounds_in_screen {
        left: 29
        top: 564
        right: 226
        bottom: 761
      }
      class_name: "android.widget.ImageView"
      depth: 17
    }
    nodes {
      bounds_in_screen {
        left: 29
        top: 564
        right: 66
        bottom: 601
      }
      class_name: "android.widget.ImageView"
      depth: 17
    }
    nodes {
      bounds_in_screen {
        left: 247
        top: 564
        right: 1033
        bottom: 616
      }
      class_name: "android.widget.TextView"
      text: "Toblerone Milk Chocolate : 100 gms"
      depth: 17
    }
    nodes {
      bounds_in_screen {
        left: 247
        top: 632
        right: 990
        bottom: 684
      }
      class_name: "android.widget.TextView"
      text: "100 gm"
      depth: 17
    }
    nodes {
      bounds_in_screen {
        left: 258
        top: 705
        right: 694
        bottom: 763
      }
      class_name: "android.widget.TextView"
      text: "You Pay ₹245"
      depth: 17
    }
    nodes {
      bounds_in_screen {
        left: 101
        top: 777
        right: 154
        bottom: 830
      }
      class_name: "android.widget.ImageView"
      is_clickable: true
      is_focusable: true
      depth: 17
    }
    nodes {
      bounds_in_screen {
        left: 258
        top: 779
        right: 694
        bottom: 837
      }
      class_name: "android.widget.TextView"
      text: "You Save ₹30"
      depth: 17
    }
    nodes {
      bounds_in_screen {
        left: 694
        top: 705
        right: 1033
        bottom: 794
      }
      class_name: "android.widget.LinearLayout"
      depth: 17
    }
    nodes {
      bounds_in_screen {
        left: 26
        top: 863
        right: 1054
        bottom: 864
      }
      class_name: "android.view.View"
      depth: 17
    }
    nodes {
      bounds_in_screen {
        left: 694
        top: 705
        right: 807
        bottom: 794
      }
      class_name: "android.widget.RelativeLayout"
      is_clickable: true
      is_focusable: true
      depth: 18
    }
    nodes {
      bounds_in_screen {
        left: 807
        top: 727
        right: 920
        bottom: 771
      }
      class_name: "android.widget.TextView"
      text: "1"
      depth: 18
    }
    nodes {
      bounds_in_screen {
        left: 920
        top: 705
        right: 1033
        bottom: 794
      }
      class_name: "android.widget.RelativeLayout"
      is_clickable: true
      is_focusable: true
      depth: 18
    }
    nodes {
      bounds_in_screen {
        left: 732
        top: 731
        right: 769
        bottom: 768
      }
      class_name: "android.widget.ImageView"
      depth: 19
    }
    nodes {
      bounds_in_screen {
        left: 958
        top: 731
        right: 995
        bottom: 768
      }
      class_name: "android.widget.ImageView"
      depth: 19
    }
  }
}

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