instruction
Open the Martinoz Pizza app and apply a coupon code of MARTINOZ100.
previous_actions
active_application
Martinoz Pizza
screen_description
windows {
  bounds_in_screen {
    right: 1080
    bottom: 128
  }
  id: 8
  layer: 1
  window_type: TYPE_SYSTEM
  tree {
    nodes {
      bounds_in_screen {
        right: 1080
        bottom: 128
      }
      class_name: "android.widget.FrameLayout"
    }
    nodes {
      bounds_in_screen {
        right: 1080
        bottom: 128
      }
      class_name: "android.widget.FrameLayout"
      depth: 1
    }
    nodes {
      bounds_in_screen {
        right: 1080
        bottom: 128
      }
      class_name: "android.widget.FrameLayout"
      depth: 1
    }
    nodes {
      bounds_in_screen {
        right: 1080
        bottom: 128
      }
      class_name: "android.widget.FrameLayout"
      depth: 2
    }
    nodes {
      bounds_in_screen {
        left: 50
        right: 1027
        bottom: 128
      }
      class_name: "android.widget.LinearLayout"
      depth: 3
    }
    nodes {
      bounds_in_screen {
        left: 50
        top: 1
        right: 469
        bottom: 128
      }
      class_name: "android.widget.FrameLayout"
      depth: 4
    }
    nodes {
      bounds_in_screen {
        left: 469
        top: 1
        right: 587
        bottom: 128
      }
      class_name: "android.view.View"
      depth: 4
    }
    nodes {
      bounds_in_screen {
        left: 587
        top: 1
        right: 1006
        bottom: 128
      }
      class_name: "android.widget.FrameLayout"
      depth: 4
    }
    nodes {
      bounds_in_screen {
        left: 50
        top: 1
        right: 267
        bottom: 128
      }
      class_name: "android.widget.FrameLayout"
      depth: 5
    }
    nodes {
      bounds_in_screen {
        left: 924
        top: 1
        right: 1006
        bottom: 128
      }
      class_name: "android.widget.LinearLayout"
      depth: 5
    }
    nodes {
      bounds_in_screen {
        left: 50
        top: 1
        right: 267
        bottom: 128
      }
      class_name: "android.widget.LinearLayout"
      depth: 6
    }
    nodes {
      bounds_in_screen {
        left: 924
        top: 1
        right: 1006
        bottom: 128
      }
      class_name: "android.widget.LinearLayout"
      depth: 6
    }
    nodes {
      bounds_in_screen {
        left: 50
        top: 1
        right: 151
        bottom: 128
      }
      class_name: "android.widget.TextView"
      content_description: "11:13 AM"
      text: "11:13"
      depth: 7
    }
    nodes {
      bounds_in_screen {
        left: 151
        top: 1
        right: 267
        bottom: 128
      }
      class_name: "android.widget.FrameLayout"
      depth: 7
    }
    nodes {
      bounds_in_screen {
        left: 924
        top: 1
        right: 986
        bottom: 128
      }
      class_name: "android.widget.LinearLayout"
      depth: 7
    }
    nodes {
      bounds_in_screen {
        left: 986
        top: 1
        right: 1006
        bottom: 128
      }
      class_name: "android.widget.LinearLayout"
      content_description: "Battery charging, 100 percent."
      depth: 7
    }
    nodes {
      bounds_in_screen {
        left: 151
        top: 1
        right: 267
        bottom: 128
      }
      class_name: "android.view.ViewGroup"
      depth: 8
    }
    nodes {
      bounds_in_screen {
        left: 924
        top: 35
        right: 970
        bottom: 93
      }
      class_name: "android.widget.FrameLayout"
      content_description: "Wifi three bars."
      depth: 8
    }
    nodes {
      bounds_in_screen {
        left: 986
        top: 47
        right: 1006
        bottom: 81
      }
      class_name: "android.widget.ImageView"
      depth: 8
    }
    nodes {
      bounds_in_screen {
        left: 151
        top: 1
        right: 209
        bottom: 128
      }
      class_name: "android.widget.ImageView"
      content_description: "Snapchat notification: 🅐🅛🅘🅒🅘🅐: 🅐🅛🅘🅒🅘🅐"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 209
        top: 1
        right: 267
        bottom: 128
      }
      class_name: "android.widget.ImageView"
      content_description: "Weather notification: 31°"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 931
        top: 35
        right: 970
        bottom: 93
      }
      class_name: "android.widget.LinearLayout"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 931
        top: 44
        right: 970
        bottom: 83
      }
      class_name: "android.widget.FrameLayout"
      depth: 10
    }
    nodes {
      bounds_in_screen {
        left: 931
        top: 44
        right: 970
        bottom: 83
      }
      class_name: "android.widget.ImageView"
      depth: 11
    }
  }
}
windows {
  bounds_in_screen {
    right: 1080
    bottom: 2400
  }
  id: 679
  title: "Martinoz Pizza"
  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: 128
      }
      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: 128
        right: 1080
        bottom: 2337
      }
      class_name: "android.widget.FrameLayout"
      depth: 2
    }
    nodes {
      bounds_in_screen {
        top: 128
        right: 1080
        bottom: 2337
      }
      class_name: "android.widget.LinearLayout"
      depth: 3
    }
    nodes {
      bounds_in_screen {
        top: 128
        right: 1080
        bottom: 2337
      }
      class_name: "android.widget.FrameLayout"
      depth: 4
    }
    nodes {
      bounds_in_screen {
        top: 128
        right: 1080
        bottom: 2337
      }
      class_name: "android.widget.LinearLayout"
      depth: 5
    }
    nodes {
      bounds_in_screen {
        top: 128
        right: 1080
        bottom: 295
      }
      class_name: "android.widget.FrameLayout"
      depth: 6
    }
    nodes {
      bounds_in_screen {
        top: 295
        right: 1080
        bottom: 2337
      }
      class_name: "android.view.ViewGroup"
      depth: 6
    }
    nodes {
      bounds_in_screen {
        top: 128
        right: 1080
        bottom: 295
      }
      class_name: "android.widget.LinearLayout"
      depth: 7
    }
    nodes {
      bounds_in_screen {
        top: 295
        right: 1080
        bottom: 2337
      }
      class_name: "androidx.recyclerview.widget.RecyclerView"
      is_focusable: true
      is_scrollable: true
      depth: 7
    }
    nodes {
      bounds_in_screen {
        top: 2179
        right: 1080
        bottom: 2284
      }
      class_name: "android.view.ViewGroup"
      depth: 7
    }
    nodes {
      bounds_in_screen {
        left: 26
        top: 154
        right: 105
        bottom: 233
      }
      class_name: "android.widget.ImageView"
      is_clickable: true
      is_focusable: true
      depth: 8
    }
    nodes {
      bounds_in_screen {
        left: 131
        top: 154
        right: 1054
        bottom: 269
      }
      class_name: "android.view.ViewGroup"
      depth: 8
    }
    nodes {
      bounds_in_screen {
        left: 39
        top: 334
        right: 217
        bottom: 432
      }
      class_name: "android.widget.LinearLayout"
      depth: 8
    }
    nodes {
      bounds_in_screen {
        left: 13
        top: 485
        right: 1067
        bottom: 1080
      }
      class_name: "android.widget.LinearLayout"
      is_clickable: true
      is_focusable: true
      depth: 8
    }
    nodes {
      bounds_in_screen {
        left: 39
        top: 1106
        right: 238
        bottom: 1204
      }
      class_name: "android.widget.LinearLayout"
      depth: 8
    }
    nodes {
      bounds_in_screen {
        left: 13
        top: 1257
        right: 1067
        bottom: 1827
      }
      class_name: "android.widget.LinearLayout"
      is_clickable: true
      is_focusable: true
      depth: 8
    }
    nodes {
      bounds_in_screen {
        left: 13
        top: 1827
        right: 1067
        bottom: 2337
      }
      class_name: "android.widget.LinearLayout"
      is_clickable: true
      is_focusable: true
      depth: 8
    }
    nodes {
      bounds_in_screen {
        top: 2179
        right: 1080
        bottom: 2284
      }
      class_name: "android.widget.LinearLayout"
      depth: 8
    }
    nodes {
      bounds_in_screen {
        left: 131
        top: 154
        right: 1054
        bottom: 269
      }
      class_name: "android.widget.LinearLayout"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 39
        top: 334
        right: 217
        bottom: 398
      }
      class_name: "android.widget.TextView"
      text: "SIMPLE"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 39
        top: 424
        right: 217
        bottom: 432
      }
      class_name: "android.view.View"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 13
        top: 485
        right: 1067
        bottom: 1001
      }
      class_name: "android.widget.LinearLayout"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 13
        top: 1001
        right: 1067
        bottom: 1080
      }
      class_name: "android.widget.LinearLayout"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 39
        top: 1106
        right: 238
        bottom: 1170
      }
      class_name: "android.widget.TextView"
      text: "STYLISH"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 39
        top: 1196
        right: 238
        bottom: 1204
      }
      class_name: "android.view.View"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 13
        top: 1257
        right: 1067
        bottom: 1773
      }
      class_name: "android.widget.LinearLayout"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 39
        top: 1799
        right: 1041
        bottom: 1801
      }
      class_name: "android.view.View"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 13
        top: 1827
        right: 1067
        bottom: 2337
      }
      class_name: "android.widget.LinearLayout"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 39
        top: 2369
        right: 1041
        bottom: 2337
      }
      class_name: "android.view.View"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 417
        top: 2179
        right: 662
        bottom: 2284
      }
      class_name: "android.widget.Button"
      text: "MENU"
      is_clickable: true
      is_focusable: true
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 131
        top: 154
        right: 975
        bottom: 269
      }
      class_name: "android.widget.LinearLayout"
      depth: 10
    }
    nodes {
      bounds_in_screen {
        left: 975
        top: 172
        right: 1054
        bottom: 251
      }
      class_name: "android.widget.ImageView"
      is_clickable: true
      is_focusable: true
      depth: 10
    }
    nodes {
      bounds_in_screen {
        left: 39
        top: 511
        right: 687
        bottom: 860
      }
      class_name: "android.widget.LinearLayout"
      depth: 10
    }
    nodes {
      bounds_in_screen {
        left: 726
        top: 511
        right: 1041
        bottom: 975
      }
      class_name: "android.widget.LinearLayout"
      depth: 10
    }
    nodes {
      bounds_in_screen {
        left: 39
        top: 1283
        right: 687
        bottom: 1565
      }
      class_name: "android.widget.LinearLayout"
      depth: 10
    }
    nodes {
      bounds_in_screen {
        left: 726
        top: 1283
        right: 1041
        bottom: 1747
      }
      class_name: "android.widget.LinearLayout"
      depth: 10
    }
    nodes {
      bounds_in_screen {
        left: 39
        top: 1853
        right: 687
        bottom: 2135
      }
      class_name: "android.widget.LinearLayout"
      depth: 10
    }
    nodes {
      bounds_in_screen {
        left: 726
        top: 1853
        right: 1041
        bottom: 2317
      }
      class_name: "android.widget.LinearLayout"
      depth: 10
    }
    nodes {
      bounds_in_screen {
        left: 131
        top: 154
        right: 975
        bottom: 226
      }
      class_name: "android.widget.TextView"
      text: "ADD SECOND ITEM"
      depth: 11
    }
    nodes {
      bounds_in_screen {
        left: 131
        top: 226
        right: 975
        bottom: 269
      }
      class_name: "android.widget.TextView"
      text: "At just 50% of its original price."
      depth: 11
    }
    nodes {
      bounds_in_screen {
        left: 39
        top: 511
        right: 687
        bottom: 558
      }
      class_name: "android.widget.LinearLayout"
      depth: 11
    }
    nodes {
      bounds_in_screen {
        left: 39
        top: 571
        right: 380
        bottom: 627
      }
      class_name: "android.widget.TextView"
      text: "Margherita Pizza"
      depth: 11
    }
    nodes {
      bounds_in_screen {
        left: 39
        top: 640
        right: 139
        bottom: 697
      }
      class_name: "android.widget.TextView"
      text: "₹465"
      depth: 11
    }
    nodes {
      bounds_in_screen {
        left: 39
        top: 697
        right: 687
        bottom: 764
      }
      class_name: "android.widget.LinearLayout"
      depth: 11
    }
    nodes {
      bounds_in_screen {
        left: 39
        top: 782
        right: 687
        bottom: 860
      }
      class_name: "android.widget.TextView"
      text: "Enjoy 100% Real Mozzarella Cheese Over A Zesty Gravy"
      depth: 11
    }
    nodes {
      bounds_in_screen {
        left: 726
        top: 511
        right: 1041
        bottom: 826
      }
      class_name: "android.view.ViewGroup"
      depth: 11
    }
    nodes {
      bounds_in_screen {
        left: 726
        top: 852
        right: 1041
        bottom: 931
      }
      class_name: "android.widget.FrameLayout"
      depth: 11
    }
    nodes {
      bounds_in_screen {
        left: 800
        top: 941
        right: 967
        bottom: 975
      }
      class_name: "android.widget.TextView"
      text: "Customizable"
      depth: 11
    }
    nodes {
      bounds_in_screen {
        left: 39
        top: 1283
        right: 687
        bottom: 1330
      }
      class_name: "android.widget.LinearLayout"
      depth: 11
    }
    nodes {
      bounds_in_screen {
        left: 39
        top: 1343
        right: 260
        bottom: 1399
      }
      class_name: "android.widget.TextView"
      text: "Mac O Mac"
      depth: 11
    }
    nodes {
      bounds_in_screen {
        left: 39
        top: 1412
        right: 139
        bottom: 1469
      }
      class_name: "android.widget.TextView"
      text: "₹495"
      depth: 11
    }
    nodes {
      bounds_in_screen {
        left: 39
        top: 1469
        right: 687
        bottom: 1469
      }
      class_name: "android.widget.LinearLayout"
      depth: 11
    }
    nodes {
      bounds_in_screen {
        left: 39
        top: 1487
        right: 687
        bottom: 1565
      }
      class_name: "android.widget.TextView"
      text: "Cheesey macroniwith storm of jalapeno dips & mozzarella cheddar cheese"
      depth: 11
    }
    nodes {
      bounds_in_screen {
        left: 726
        top: 1283
        right: 1041
        bottom: 1598
      }
      class_name: "android.view.ViewGroup"
      depth: 11
    }
    nodes {
      bounds_in_screen {
        left: 726
        top: 1624
        right: 1041
        bottom: 1703
      }
      class_name: "android.widget.FrameLayout"
      depth: 11
    }
    nodes {
      bounds_in_screen {
        left: 800
        top: 1713
        right: 967
        bottom: 1747
      }
      class_name: "android.widget.TextView"
      text: "Customizable"
      depth: 11
    }
    nodes {
      bounds_in_screen {
        left: 39
        top: 1853
        right: 687
        bottom: 1900
      }
      class_name: "android.widget.LinearLayout"
      depth: 11
    }
    nodes {
      bounds_in_screen {
        left: 39
        top: 1913
        right: 260
        bottom: 1969
      }
      class_name: "android.widget.TextView"
      text: "Corn Wave"
      depth: 11
    }
    nodes {
      bounds_in_screen {
        left: 39
        top: 1982
        right: 139
        bottom: 2039
      }
      class_name: "android.widget.TextView"
      text: "₹495"
      depth: 11
    }
    nodes {
      bounds_in_screen {
        left: 39
        top: 2039
        right: 687
        bottom: 2039
      }
      class_name: "android.widget.LinearLayout"
      depth: 11
    }
    nodes {
      bounds_in_screen {
        left: 39
        top: 2057
        right: 687
        bottom: 2135
      }
      class_name: "android.widget.TextView"
      text: "Sweet & juicy golden cornwith real mozzarella & cheddar cheese"
      depth: 11
    }
    nodes {
      bounds_in_screen {
        left: 726
        top: 1853
        right: 1041
        bottom: 2168
      }
      class_name: "android.view.ViewGroup"
      depth: 11
    }
    nodes {
      bounds_in_screen {
        left: 726
        top: 2194
        right: 1041
        bottom: 2273
      }
      class_name: "android.widget.FrameLayout"
      depth: 11
    }
    nodes {
      bounds_in_screen {
        left: 800
        top: 2283
        right: 967
        bottom: 2317
      }
      class_name: "android.widget.TextView"
      text: "Customizable"
      depth: 11
    }
    nodes {
      bounds_in_screen {
        left: 39
        top: 511
        right: 86
        bottom: 558
      }
      class_name: "android.widget.ImageView"
      depth: 12
    }
    nodes {
      bounds_in_screen {
        left: 39
        top: 722
        right: 293
        bottom: 764
      }
      class_name: "android.widget.LinearLayout"
      depth: 12
    }
    nodes {
      bounds_in_screen {
        left: 726
        top: 511
        right: 1041
        bottom: 826
      }
      class_name: "android.widget.ImageView"
      is_clickable: true
      is_focusable: true
      depth: 12
    }
    nodes {
      bounds_in_screen {
        left: 726
        top: 852
        right: 1041
        bottom: 931
      }
      class_name: "android.widget.LinearLayout"
      is_clickable: true
      is_focusable: true
      depth: 12
    }
    nodes {
      bounds_in_screen {
        left: 39
        top: 1283
        right: 86
        bottom: 1330
      }
      class_name: "android.widget.ImageView"
      depth: 12
    }
    nodes {
      bounds_in_screen {
        left: 726
        top: 1283
        right: 1041
        bottom: 1598
      }
      class_name: "android.widget.ImageView"
      is_clickable: true
      is_focusable: true
      depth: 12
    }
    nodes {
      bounds_in_screen {
        left: 726
        top: 1624
        right: 1041
        bottom: 1703
      }
      class_name: "android.widget.LinearLayout"
      is_clickable: true
      is_focusable: true
      depth: 12
    }
    nodes {
      bounds_in_screen {
        left: 39
        top: 1853
        right: 86
        bottom: 1900
      }
      class_name: "android.widget.ImageView"
      depth: 12
    }
    nodes {
      bounds_in_screen {
        left: 726
        top: 1853
        right: 1041
        bottom: 2168
      }
      class_name: "android.widget.ImageView"
      is_clickable: true
      is_focusable: true
      depth: 12
    }
    nodes {
      bounds_in_screen {
        left: 726
        top: 2194
        right: 1041
        bottom: 2273
      }
      class_name: "android.widget.LinearLayout"
      is_clickable: true
      is_focusable: true
      depth: 12
    }
    nodes {
      bounds_in_screen {
        left: 39
        top: 725
        right: 78
        bottom: 764
      }
      class_name: "android.widget.ImageView"
      depth: 13
    }
    nodes {
      bounds_in_screen {
        left: 86
        top: 722
        right: 293
        bottom: 764
      }
      class_name: "android.widget.TextView"
      text: "Jain Available"
      depth: 13
    }
    nodes {
      bounds_in_screen {
        left: 819
        top: 865
        right: 903
        bottom: 915
      }
      class_name: "android.widget.TextView"
      text: "ADD"
      depth: 13
    }
    nodes {
      bounds_in_screen {
        left: 916
        top: 874
        right: 948
        bottom: 906
      }
      class_name: "android.widget.ImageView"
      depth: 13
    }
    nodes {
      bounds_in_screen {
        left: 819
        top: 1637
        right: 903
        bottom: 1687
      }
      class_name: "android.widget.TextView"
      text: "ADD"
      depth: 13
    }
    nodes {
      bounds_in_screen {
        left: 916
        top: 1646
        right: 948
        bottom: 1678
      }
      class_name: "android.widget.ImageView"
      depth: 13
    }
    nodes {
      bounds_in_screen {
        left: 819
        top: 2207
        right: 903
        bottom: 2257
      }
      class_name: "android.widget.TextView"
      text: "ADD"
      depth: 13
    }
    nodes {
      bounds_in_screen {
        left: 916
        top: 2216
        right: 948
        bottom: 2248
      }
      class_name: "android.widget.ImageView"
      depth: 13
    }
  }
}

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