instruction
Open the Pizza Max app and add a 10 inch medium pizza to your cart with a thin and crispy crust.
previous_actions
{"name": "open_app", "parameters": {"app_name": "Pizza Max"}}
{"name": "open_app", "parameters": {"app_name": "Pizza Max"}}
{"name": "scroll", "parameters": {"direction": "right"}}
{"name": "scroll", "parameters": {"direction": "right"}}
{"name": "click", "parameters": {"x": 562, "y": 783}}
{"name": "click", "parameters": {"x": 481, "y": 1284}}
{"name": "click", "parameters": {"x": 908, "y": 1236}}
{"name": "click", "parameters": {"x": 396, "y": 1190}}
{"name": "click", "parameters": {"x": 728, "y": 1528}}
{"name": "click", "parameters": {"x": 908, "y": 1259}}
{"name": "click", "parameters": {"x": 513, "y": 1392}}
{"name": "click", "parameters": {"x": 728, "y": 1528}}
active_application
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: 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: 368
        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: 368
        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: 136
        bottom: 128
      }
      class_name: "android.widget.TextView"
      content_description: "4:14 pm"
      text: "4:14"
      depth: 7
    }
    nodes {
      bounds_in_screen {
        left: 136
        top: 1
        right: 368
        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: 136
        top: 1
        right: 368
        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: "Wi-Fi 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: 136
        top: 1
        right: 194
        bottom: 128
      }
      class_name: "android.widget.ImageView"
      content_description: "AJIO notification: "
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 194
        top: 1
        right: 252
        bottom: 128
      }
      class_name: "android.widget.ImageView"
      content_description: "Moon Phase Calendar notification: 12%"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 252
        top: 1
        right: 310
        bottom: 128
      }
      class_name: "android.widget.ImageView"
      content_description: "System update notification: Couldn\'t install system update"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 310
        top: 1
        right: 368
        bottom: 128
      }
      class_name: "android.widget.ImageView"
      content_description: "Google notification: 35° in Bandhwari"
      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 {
    left: 28
    top: 630
    right: 1052
    bottom: 1834
  }
  id: 287
  window_type: TYPE_APPLICATION
  is_active: true
  is_focused: true
  tree {
    nodes {
      bounds_in_screen {
        left: 28
        top: 630
        right: 1052
        bottom: 1834
      }
      class_name: "android.widget.FrameLayout"
    }
    nodes {
      bounds_in_screen {
        left: 70
        top: 672
        right: 1010
        bottom: 1792
      }
      class_name: "android.widget.FrameLayout"
      depth: 1
    }
    nodes {
      bounds_in_screen {
        left: 70
        top: 672
        right: 1010
        bottom: 1792
      }
      class_name: "android.widget.FrameLayout"
      depth: 2
    }
    nodes {
      bounds_in_screen {
        left: 70
        top: 672
        right: 1010
        bottom: 1792
      }
      class_name: "android.widget.LinearLayout"
      depth: 3
    }
    nodes {
      bounds_in_screen {
        left: 70
        top: 672
        right: 1010
        bottom: 1792
      }
      class_name: "android.widget.FrameLayout"
      depth: 4
    }
    nodes {
      bounds_in_screen {
        left: 70
        top: 672
        right: 1010
        bottom: 1792
      }
      class_name: "android.widget.FrameLayout"
      depth: 5
    }
    nodes {
      bounds_in_screen {
        left: 70
        top: 672
        right: 1010
        bottom: 1792
      }
      class_name: "android.widget.FrameLayout"
      depth: 6
    }
    nodes {
      bounds_in_screen {
        left: 70
        top: 672
        right: 1010
        bottom: 1792
      }
      class_name: "android.widget.LinearLayout"
      depth: 7
    }
    nodes {
      bounds_in_screen {
        left: 70
        top: 1541
        right: 1010
        bottom: 1792
      }
      class_name: "android.widget.LinearLayout"
      depth: 7
    }
    nodes {
      bounds_in_screen {
        left: 96
        top: 685
        right: 408
        bottom: 738
      }
      class_name: "android.widget.TextView"
      text: "CUSTOMIZE ITEM"
      depth: 8
    }
    nodes {
      bounds_in_screen {
        left: 70
        top: 751
        right: 1010
        bottom: 915
      }
      class_name: "android.widget.LinearLayout"
      depth: 8
    }
    nodes {
      bounds_in_screen {
        left: 96
        top: 928
        right: 380
        bottom: 981
      }
      class_name: "android.widget.TextView"
      text: "PLEASE SELECT"
      depth: 8
    }
    nodes {
      bounds_in_screen {
        left: 70
        top: 994
        right: 1010
        bottom: 1553
      }
      class_name: "androidx.recyclerview.widget.RecyclerView"
      is_focusable: true
      depth: 8
    }
    nodes {
      bounds_in_screen {
        left: 70
        top: 1541
        right: 1010
        bottom: 1628
      }
      class_name: "android.widget.RelativeLayout"
      depth: 8
    }
    nodes {
      bounds_in_screen {
        left: 96
        top: 1641
        right: 984
        bottom: 1687
      }
      class_name: "android.widget.RelativeLayout"
      depth: 8
    }
    nodes {
      bounds_in_screen {
        left: 70
        top: 1700
        right: 1010
        bottom: 1792
      }
      class_name: "android.widget.LinearLayout"
      depth: 8
    }
    nodes {
      bounds_in_screen {
        left: 96
        top: 777
        right: 337
        bottom: 830
      }
      class_name: "android.widget.TextView"
      text: "Chicken Pizza"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 96
        top: 843
        right: 984
        bottom: 889
      }
      class_name: "android.widget.RelativeLayout"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 96
        top: 1007
        right: 984
        bottom: 1211
      }
      class_name: "android.widget.LinearLayout"
      is_clickable: true
      is_focusable: true
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 96
        top: 1211
        right: 984
        bottom: 1369
      }
      class_name: "android.widget.LinearLayout"
      is_clickable: true
      is_focusable: true
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 96
        top: 1369
        right: 984
        bottom: 1527
      }
      class_name: "android.widget.LinearLayout"
      is_clickable: true
      is_focusable: true
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 94
        top: 1559
        right: 230
        bottom: 1610
      }
      class_name: "android.widget.TextView"
      text: "Quantity"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 750
        top: 1541
        right: 984
        bottom: 1612
      }
      class_name: "android.widget.FrameLayout"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 96
        top: 1641
        right: 257
        bottom: 1687
      }
      class_name: "android.widget.TextView"
      text: "Total Price"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 937
        top: 1641
        right: 984
        bottom: 1687
      }
      class_name: "android.widget.TextView"
      text: "0.0"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 70
        top: 1700
        right: 446
        bottom: 1792
      }
      class_name: "android.widget.Button"
      text: "Cancel"
      is_clickable: true
      is_focusable: true
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 446
        top: 1700
        right: 1010
        bottom: 1792
      }
      class_name: "android.widget.Button"
      text: "Add to Cart"
      is_clickable: true
      is_focusable: true
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 96
        top: 843
        right: 173
        bottom: 889
      }
      class_name: "android.widget.TextView"
      text: "Price"
      depth: 10
    }
    nodes {
      bounds_in_screen {
        left: 724
        top: 843
        right: 984
        bottom: 889
      }
      class_name: "android.widget.TextView"
      text: "from Rs. 790.000"
      depth: 10
    }
    nodes {
      bounds_in_screen {
        left: 96
        top: 1007
        right: 984
        bottom: 1079
      }
      class_name: "android.widget.RelativeLayout"
      depth: 10
    }
    nodes {
      bounds_in_screen {
        left: 109
        top: 1090
        right: 443
        bottom: 1136
      }
      class_name: "android.widget.TextView"
      text: "10-Inch Medium Pizza"
      depth: 10
    }
    nodes {
      bounds_in_screen {
        left: 109
        top: 1136
        right: 958
        bottom: 1182
      }
      class_name: "android.widget.RelativeLayout"
      depth: 10
    }
    nodes {
      bounds_in_screen {
        left: 96
        top: 1208
        right: 984
        bottom: 1211
      }
      class_name: "android.view.View"
      depth: 10
    }
    nodes {
      bounds_in_screen {
        left: 96
        top: 1211
        right: 984
        bottom: 1283
      }
      class_name: "android.widget.RelativeLayout"
      depth: 10
    }
    nodes {
      bounds_in_screen {
        left: 109
        top: 1294
        right: 336
        bottom: 1340
      }
      class_name: "android.widget.TextView"
      text: "THIN & CRISPY"
      depth: 10
    }
    nodes {
      bounds_in_screen {
        left: 96
        top: 1366
        right: 984
        bottom: 1369
      }
      class_name: "android.view.View"
      depth: 10
    }
    nodes {
      bounds_in_screen {
        left: 96
        top: 1369
        right: 984
        bottom: 1441
      }
      class_name: "android.widget.RelativeLayout"
      depth: 10
    }
    nodes {
      bounds_in_screen {
        left: 109
        top: 1452
        right: 243
        bottom: 1498
      }
      class_name: "android.widget.TextView"
      text: "Required"
      depth: 10
    }
    nodes {
      bounds_in_screen {
        left: 96
        top: 1524
        right: 984
        bottom: 1527
      }
      class_name: "android.view.View"
      depth: 10
    }
    nodes {
      bounds_in_screen {
        left: 750
        top: 1541
        right: 984
        bottom: 1612
      }
      class_name: "android.widget.RelativeLayout"
      depth: 10
    }
    nodes {
      bounds_in_screen {
        left: 109
        top: 1033
        right: 470
        bottom: 1079
      }
      class_name: "android.widget.TextView"
      text: "Choose Your  Pizza Size"
      depth: 11
    }
    nodes {
      bounds_in_screen {
        left: 847
        top: 1033
        right: 971
        bottom: 1078
      }
      class_name: "android.widget.TextView"
      text: "Change"
      depth: 11
    }
    nodes {
      bounds_in_screen {
        left: 109
        top: 1136
        right: 346
        bottom: 1182
      }
      class_name: "android.widget.TextView"
      text: "Additional Price"
      depth: 11
    }
    nodes {
      bounds_in_screen {
        left: 854
        top: 1136
        right: 958
        bottom: 1182
      }
      class_name: "android.widget.TextView"
      text: "1490.0"
      depth: 11
    }
    nodes {
      bounds_in_screen {
        left: 109
        top: 1237
        right: 391
        bottom: 1283
      }
      class_name: "android.widget.TextView"
      text: "Choose Your Crust"
      depth: 11
    }
    nodes {
      bounds_in_screen {
        left: 847
        top: 1237
        right: 971
        bottom: 1282
      }
      class_name: "android.widget.TextView"
      text: "Change"
      depth: 11
    }
    nodes {
      bounds_in_screen {
        left: 109
        top: 1395
        right: 523
        bottom: 1441
      }
      class_name: "android.widget.TextView"
      text: "Choose Your Medium Pizza"
      depth: 11
    }
    nodes {
      bounds_in_screen {
        left: 846
        top: 1395
        right: 971
        bottom: 1440
      }
      class_name: "android.widget.TextView"
      text: "Choose"
      depth: 11
    }
    nodes {
      bounds_in_screen {
        left: 750
        top: 1541
        right: 984
        bottom: 1612
      }
      class_name: "android.widget.LinearLayout"
      is_clickable: true
      is_focusable: true
      depth: 11
    }
    nodes {
      bounds_in_screen {
        left: 913
        top: 1541
        right: 984
        bottom: 1612
      }
      class_name: "android.widget.ImageView"
      is_clickable: true
      is_focusable: true
      depth: 11
    }
    nodes {
      bounds_in_screen {
        left: 799
        top: 1551
        right: 871
        bottom: 1602
      }
      class_name: "android.widget.TextView"
      text: "ADD"
      depth: 12
    }
    nodes {
      bounds_in_screen {
        left: 881
        top: 1550
        right: 934
        bottom: 1603
      }
      class_name: "android.widget.ImageView"
      depth: 12
    }
  }
}

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