instruction
Open the Pizza Hut App and get information about the Mexican Fiesta Pizza
previous_actions
{"name": "open_app", "parameters": {"app_name": "Pizza Hut"}}
{"name": "scroll", "parameters": {"direction": "down"}}
{"name": "click", "parameters": {"x": 241, "y": 1961}}
{"name": "scroll", "parameters": {"direction": "down"}}
active_application
Pizza Hut
screen_description
windows {
  bounds_in_screen {
    right: 1080
    bottom: 136
  }
  id: 5
  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: 47
        right: 1027
        bottom: 136
      }
      class_name: "android.widget.LinearLayout"
      depth: 3
    }
    nodes {
      bounds_in_screen {
        left: 47
        top: 1
        right: 454
        bottom: 136
      }
      class_name: "android.widget.FrameLayout"
      depth: 4
    }
    nodes {
      bounds_in_screen {
        left: 454
        top: 1
        right: 599
        bottom: 136
      }
      class_name: "android.view.View"
      depth: 4
    }
    nodes {
      bounds_in_screen {
        left: 599
        top: 1
        right: 1006
        bottom: 136
      }
      class_name: "android.widget.FrameLayout"
      depth: 4
    }
    nodes {
      bounds_in_screen {
        left: 47
        top: 1
        right: 362
        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: 47
        top: 1
        right: 362
        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: 47
        top: 1
        right: 130
        bottom: 136
      }
      class_name: "android.widget.TextView"
      content_description: "3:56 PM"
      text: "3:56"
      depth: 7
    }
    nodes {
      bounds_in_screen {
        left: 130
        top: 1
        right: 362
        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: 130
        top: 1
        right: 362
        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 signal full."
      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: 130
        top: 1
        right: 188
        bottom: 136
      }
      class_name: "android.widget.ImageView"
      content_description: "Pixel Tips notification: Your Pixel got more helpful"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 188
        top: 1
        right: 246
        bottom: 136
      }
      class_name: "android.widget.ImageView"
      content_description: "Google Play services notification: Backup incomplete"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 246
        top: 1
        right: 304
        bottom: 136
      }
      class_name: "android.widget.ImageView"
      content_description: "Android System notification: Review app with full device access"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 304
        top: 1
        right: 362
        bottom: 136
      }
      class_name: "android.widget.ImageView"
      content_description: "Google notification: 36° in Bandhwari"
      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: 315
  title: "Pizza Hut"
  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 {
        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.view.ViewGroup"
      depth: 5
    }
    nodes {
      bounds_in_screen {
        top: 136
        right: 1080
        bottom: 2337
      }
      class_name: "android.widget.FrameLayout"
      depth: 6
    }
    nodes {
      bounds_in_screen {
        top: 136
        right: 1080
        bottom: 2337
      }
      class_name: "android.widget.FrameLayout"
      depth: 7
    }
    nodes {
      bounds_in_screen {
        top: 136
        right: 1080
        bottom: 2337
      }
      class_name: "android.view.ViewGroup"
      depth: 8
    }
    nodes {
      bounds_in_screen {
        top: 136
        right: 1080
        bottom: 2053
      }
      class_name: "android.widget.ScrollView"
      is_focusable: true
      is_scrollable: true
      depth: 9
    }
    nodes {
      bounds_in_screen {
        top: 2053
        right: 1080
        bottom: 2337
      }
      class_name: "android.widget.LinearLayout"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        top: 136
        right: 1080
        bottom: 2053
      }
      class_name: "android.view.ViewGroup"
      depth: 10
    }
    nodes {
      bounds_in_screen {
        top: 2053
        right: 1080
        bottom: 2056
      }
      class_name: "android.view.View"
      depth: 10
    }
    nodes {
      bounds_in_screen {
        left: 855
        top: 2088
        right: 1038
        bottom: 2142
      }
      class_name: "android.widget.TextView"
      text: "Total: ₹539"
      depth: 10
    }
    nodes {
      bounds_in_screen {
        left: 42
        top: 2174
        right: 1038
        bottom: 2295
      }
      class_name: "android.widget.TextView"
      text: "Add to Cart"
      is_clickable: true
      is_focusable: true
      depth: 10
    }
    nodes {
      bounds_in_screen {
        top: 136
        right: 1080
        bottom: 1339
      }
      class_name: "android.view.ViewGroup"
      depth: 11
    }
    nodes {
      bounds_in_screen {
        left: 42
        top: 1381
        right: 293
        bottom: 1451
      }
      class_name: "android.widget.TextView"
      text: "Choose size"
      depth: 11
    }
    nodes {
      bounds_in_screen {
        left: 21
        top: 1472
        right: 1080
        bottom: 1688
      }
      class_name: "androidx.recyclerview.widget.RecyclerView"
      is_focusable: true
      depth: 11
    }
    nodes {
      bounds_in_screen {
        top: 1730
        right: 1080
        bottom: 1733
      }
      class_name: "android.view.View"
      depth: 11
    }
    nodes {
      bounds_in_screen {
        left: 42
        top: 1775
        right: 318
        bottom: 1845
      }
      class_name: "android.widget.TextView"
      text: "Choose crust"
      depth: 11
    }
    nodes {
      bounds_in_screen {
        left: 21
        top: 1866
        right: 1080
        bottom: 2053
      }
      class_name: "androidx.recyclerview.widget.RecyclerView"
      is_focusable: true
      depth: 11
    }
    nodes {
      bounds_in_screen {
        top: 3045
        right: 1080
        bottom: 2053
      }
      class_name: "android.view.View"
      depth: 11
    }
    nodes {
      bounds_in_screen {
        left: 42
        top: 3090
        right: 534
        bottom: 2053
      }
      class_name: "android.widget.TextView"
      text: "Add or remove toppings"
      depth: 11
    }
    nodes {
      bounds_in_screen {
        left: 42
        top: 3192
        right: 1038
        bottom: 2053
      }
      class_name: "android.widget.TextView"
      text: "Customise toppings"
      is_clickable: true
      is_focusable: true
      depth: 11
    }
    nodes {
      bounds_in_screen {
        top: 136
        right: 1080
        bottom: 856
      }
      class_name: "android.widget.ImageView"
      depth: 12
    }
    nodes {
      bounds_in_screen {
        left: 42
        top: 199
        right: 124
        bottom: 257
      }
      class_name: "android.widget.TextView"
      text: "NEW"
      depth: 12
    }
    nodes {
      bounds_in_screen {
        left: 943
        top: 165
        right: 1069
        bottom: 291
      }
      class_name: "android.widget.ImageView"
      is_clickable: true
      is_focusable: true
      depth: 12
    }
    nodes {
      bounds_in_screen {
        left: 42
        top: 898
        right: 1038
        bottom: 977
      }
      class_name: "android.widget.TextView"
      text: "Mexican Fiesta"
      depth: 12
    }
    nodes {
      bounds_in_screen {
        left: 42
        top: 1019
        right: 1038
        bottom: 1072
      }
      class_name: "android.widget.TextView"
      text: "  Vegetarian"
      depth: 12
    }
    nodes {
      bounds_in_screen {
        left: 42
        top: 1093
        right: 1038
        bottom: 1339
      }
      class_name: "android.widget.TextView"
      text: "Flavourful mix of red capsicum, green capsicum, jalapeno, onion, black olives, sweet corn and 100% mozzarella Cheese with a signature spice sprinkle & our flavourful pan sauce."
      depth: 12
    }
    nodes {
      bounds_in_screen {
        left: 42
        top: 1493
        right: 436
        bottom: 1667
      }
      class_name: "android.widget.FrameLayout"
      is_clickable: true
      is_focusable: true
      depth: 12
    }
    nodes {
      bounds_in_screen {
        left: 478
        top: 1493
        right: 872
        bottom: 1667
      }
      class_name: "android.widget.FrameLayout"
      is_clickable: true
      is_focusable: true
      depth: 12
    }
    nodes {
      bounds_in_screen {
        left: 42
        top: 1887
        right: 1059
        bottom: 2053
      }
      class_name: "android.widget.FrameLayout"
      is_clickable: true
      is_focusable: true
      depth: 12
    }
    nodes {
      bounds_in_screen {
        left: 42
        top: 2215
        right: 1059
        bottom: 2053
      }
      class_name: "android.widget.FrameLayout"
      is_clickable: true
      is_focusable: true
      depth: 12
    }
    nodes {
      bounds_in_screen {
        left: 42
        top: 2696
        right: 1059
        bottom: 2053
      }
      class_name: "android.widget.FrameLayout"
      is_clickable: true
      is_focusable: true
      depth: 12
    }
    nodes {
      bounds_in_screen {
        left: 42
        top: 1493
        right: 436
        bottom: 1667
      }
      class_name: "android.view.ViewGroup"
      is_selected: true
      depth: 13
    }
    nodes {
      bounds_in_screen {
        left: 478
        top: 1493
        right: 872
        bottom: 1667
      }
      class_name: "android.view.ViewGroup"
      depth: 13
    }
    nodes {
      bounds_in_screen {
        left: 42
        top: 1887
        right: 1059
        bottom: 2053
      }
      class_name: "android.view.ViewGroup"
      is_selected: true
      depth: 13
    }
    nodes {
      bounds_in_screen {
        left: 42
        top: 2215
        right: 1059
        bottom: 2053
      }
      class_name: "android.view.ViewGroup"
      depth: 13
    }
    nodes {
      bounds_in_screen {
        left: 42
        top: 2696
        right: 1059
        bottom: 2053
      }
      class_name: "android.view.ViewGroup"
      depth: 13
    }
    nodes {
      bounds_in_screen {
        left: 74
        top: 1525
        right: 232
        bottom: 1585
      }
      class_name: "android.widget.TextView"
      text: "Medium"
      is_selected: true
      depth: 14
    }
    nodes {
      bounds_in_screen {
        left: 351
        top: 1525
        right: 404
        bottom: 1578
      }
      class_name: "android.widget.ImageView"
      is_selected: true
      depth: 14
    }
    nodes {
      bounds_in_screen {
        left: 74
        top: 1585
        right: 219
        bottom: 1635
      }
      class_name: "android.widget.TextView"
      text: "Serves 2"
      is_selected: true
      depth: 14
    }
    nodes {
      bounds_in_screen {
        left: 510
        top: 1525
        right: 680
        bottom: 1585
      }
      class_name: "android.widget.TextView"
      text: "Personal"
      depth: 14
    }
    nodes {
      bounds_in_screen {
        left: 510
        top: 1585
        right: 655
        bottom: 1635
      }
      class_name: "android.widget.TextView"
      text: "Serves 1"
      depth: 14
    }
    nodes {
      bounds_in_screen {
        left: 74
        top: 1919
        right: 247
        bottom: 2053
      }
      class_name: "android.widget.ImageView"
      is_selected: true
      depth: 14
    }
    nodes {
      bounds_in_screen {
        left: 268
        top: 1919
        right: 953
        bottom: 1979
      }
      class_name: "android.widget.TextView"
      text: "Pan"
      is_selected: true
      depth: 14
    }
    nodes {
      bounds_in_screen {
        left: 974
        top: 1919
        right: 1027
        bottom: 1972
      }
      class_name: "android.widget.ImageView"
      is_selected: true
      depth: 14
    }
    nodes {
      bounds_in_screen {
        left: 268
        top: 1979
        right: 1006
        bottom: 2053
      }
      class_name: "android.widget.TextView"
      text: "Original Pan crust. Crunchy on the outside, soft & fluffy on the inside"
      is_selected: true
      depth: 14
    }
    nodes {
      bounds_in_screen {
        left: 268
        top: 2081
        right: 365
        bottom: 2053
      }
      class_name: "android.widget.TextView"
      text: "₹539"
      is_selected: true
      depth: 14
    }
    nodes {
      bounds_in_screen {
        left: 74
        top: 2247
        right: 247
        bottom: 2053
      }
      class_name: "android.widget.ImageView"
      depth: 14
    }
    nodes {
      bounds_in_screen {
        left: 268
        top: 2247
        right: 1006
        bottom: 2053
      }
      class_name: "android.widget.TextView"
      text: "San Francisco Style"
      depth: 14
    }
    nodes {
      bounds_in_screen {
        left: 268
        top: 2307
        right: 1006
        bottom: 2053
      }
      class_name: "android.widget.TextView"
      text: "Light & crisp San Francisco Style Crust hand stretched to perfection, topped with Chef’s special sauce, 100% mozzarella cheese, finished with a generous drizzle of extra virgin olive oil. "
      depth: 14
    }
    nodes {
      bounds_in_screen {
        left: 268
        top: 2562
        right: 365
        bottom: 2053
      }
      class_name: "android.widget.TextView"
      text: "₹539"
      depth: 14
    }
    nodes {
      bounds_in_screen {
        left: 74
        top: 2728
        right: 247
        bottom: 2053
      }
      class_name: "android.widget.ImageView"
      depth: 14
    }
    nodes {
      bounds_in_screen {
        left: 268
        top: 2728
        right: 1006
        bottom: 2053
      }
      class_name: "android.widget.TextView"
      text: "Stuffed Crust - Cheese Maxx"
      depth: 14
    }
    nodes {
      bounds_in_screen {
        left: 268
        top: 2788
        right: 1006
        bottom: 2053
      }
      class_name: "android.widget.TextView"
      text: "Cheese lovers paradise! Crust stuffed with cheese & creamy Peruvian sauce"
      depth: 14
    }
    nodes {
      bounds_in_screen {
        left: 268
        top: 2890
        right: 365
        bottom: 2053
      }
      class_name: "android.widget.TextView"
      text: "₹608"
      depth: 14
    }
  }
}

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