instruction: Open the Pizza Hut app and apply a coupon code of FREEPIZZA.

previous_actions: {"name": "open_app", "parameters": {"app_name": "Pizza Hut"}}
{"name": "wait", "parameters": {}}
{"name": "click", "parameters": {"x": 540, "y": 2234}}
{"name": "click", "parameters": {"x": 555, "y": 993}}
{"name": "click", "parameters": {"x": 540, "y": 490}}
{"name": "input_text", "parameters": {"text": "FREEPIZZA"}}

active_application: Pizza Hut

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: 325
        bottom: 128
      }
      class_name: "android.widget.FrameLayout"
      depth: 5
    }
    nodes {
      bounds_in_screen {
        left: 865
        top: 1
        right: 1006
        bottom: 128
      }
      class_name: "android.widget.LinearLayout"
      depth: 5
    }
    nodes {
      bounds_in_screen {
        left: 50
        top: 1
        right: 325
        bottom: 128
      }
      class_name: "android.widget.LinearLayout"
      depth: 6
    }
    nodes {
      bounds_in_screen {
        left: 865
        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: "10:05 AM"
      text: "10:05"
      depth: 7
    }
    nodes {
      bounds_in_screen {
        left: 151
        top: 1
        right: 325
        bottom: 128
      }
      class_name: "android.widget.FrameLayout"
      depth: 7
    }
    nodes {
      bounds_in_screen {
        left: 865
        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: 325
        bottom: 128
      }
      class_name: "android.view.ViewGroup"
      depth: 8
    }
    nodes {
      bounds_in_screen {
        left: 865
        top: 35
        right: 911
        bottom: 93
      }
      class_name: "android.widget.FrameLayout"
      content_description: "Wifi three bars."
      depth: 8
    }
    nodes {
      bounds_in_screen {
        left: 911
        top: 35
        right: 970
        bottom: 93
      }
      class_name: "android.widget.ImageView"
      content_description: "Hotspot"
      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: Kavita Nayak: Kavita Nayak"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 209
        top: 1
        right: 267
        bottom: 128
      }
      class_name: "android.widget.ImageView"
      content_description: "Weather notification: 32°"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 267
        top: 1
        right: 325
        bottom: 128
      }
      class_name: "android.widget.ImageView"
      content_description: "LeafSnap notification: African rose-mallow: Water"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 872
        top: 35
        right: 911
        bottom: 93
      }
      class_name: "android.widget.LinearLayout"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 872
        top: 44
        right: 911
        bottom: 83
      }
      class_name: "android.widget.FrameLayout"
      depth: 10
    }
    nodes {
      bounds_in_screen {
        left: 872
        top: 44
        right: 911
        bottom: 83
      }
      class_name: "android.widget.ImageView"
      depth: 11
    }
  }
}
windows {
  bounds_in_screen {
    right: 1080
    bottom: 2400
  }
  id: 566
  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: 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.view.ViewGroup"
      depth: 5
    }
    nodes {
      bounds_in_screen {
        top: 128
        right: 1080
        bottom: 2337
      }
      class_name: "android.widget.FrameLayout"
      depth: 6
    }
    nodes {
      bounds_in_screen {
        top: 128
        right: 1080
        bottom: 2337
      }
      class_name: "android.widget.FrameLayout"
      depth: 7
    }
    nodes {
      bounds_in_screen {
        top: 128
        right: 1080
        bottom: 2337
      }
      class_name: "android.view.ViewGroup"
      depth: 8
    }
    nodes {
      bounds_in_screen {
        top: 128
        right: 1080
        bottom: 2139
      }
      class_name: "android.widget.ScrollView"
      is_focusable: true
      depth: 9
    }
    nodes {
      bounds_in_screen {
        top: 2139
        right: 1080
        bottom: 2337
      }
      class_name: "android.widget.LinearLayout"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        top: 128
        right: 1080
        bottom: 2139
      }
      class_name: "android.widget.LinearLayout"
      depth: 10
    }
    nodes {
      bounds_in_screen {
        top: 2139
        right: 1080
        bottom: 2142
      }
      class_name: "android.view.View"
      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: 128
        right: 1080
        bottom: 865
      }
      class_name: "android.view.ViewGroup"
      depth: 11
    }
    nodes {
      bounds_in_screen {
        top: 865
        right: 1080
        bottom: 2097
      }
      class_name: "androidx.recyclerview.widget.RecyclerView"
      is_focusable: true
      depth: 11
    }
    nodes {
      bounds_in_screen {
        top: 128
        right: 1080
        bottom: 544
      }
      class_name: "android.widget.ImageView"
      depth: 12
    }
    nodes {
      bounds_in_screen {
        left: 943
        top: 157
        right: 1069
        bottom: 283
      }
      class_name: "android.widget.ImageView"
      is_clickable: true
      is_focusable: true
      depth: 12
    }
    nodes {
      bounds_in_screen {
        left: 42
        top: 586
        right: 1038
        bottom: 665
      }
      class_name: "android.widget.TextView"
      text: "Free Pizza"
      depth: 12
    }
    nodes {
      bounds_in_screen {
        top: 697
        right: 1080
        bottom: 700
      }
      class_name: "android.view.View"
      depth: 12
    }
    nodes {
      bounds_in_screen {
        left: 42
        top: 721
        right: 1038
        bottom: 865
      }
      class_name: "android.widget.TextView"
      text: "Get Free Personal Margherita on orders above 249 | Use Code - FREEPIZZA"
      depth: 12
    }
    nodes {
      bounds_in_screen {
        left: 42
        top: 897
        right: 1038
        bottom: 1102
      }
      class_name: "android.widget.FrameLayout"
      depth: 12
    }
    nodes {
      bounds_in_screen {
        left: 42
        top: 897
        right: 1038
        bottom: 1102
      }
      class_name: "android.view.ViewGroup"
      is_clickable: true
      is_focusable: true
      depth: 13
    }
    nodes {
      bounds_in_screen {
        left: 42
        top: 897
        right: 55
        bottom: 1102
      }
      class_name: "android.view.View"
      depth: 14
    }
    nodes {
      bounds_in_screen {
        left: 97
        top: 939
        right: 867
        bottom: 999
      }
      class_name: "android.widget.TextView"
      text: "Personal Margherita"
      depth: 14
    }
    nodes {
      bounds_in_screen {
        left: 55
        top: 1010
        right: 1038
        bottom: 1102
      }
      class_name: "android.widget.TextView"
      text: "Pan"
      depth: 14
    }
  }
}


assistant: !FUNCTIONCALL{"name": "click", "parameters": {"x": 540, "y": 2234}}