instruction
Look for hotels in Rome, Italy, for 23–27 December 2023 for three people in the Agoda app.
previous_actions
{"name": "click", "parameters": {"x": 90, "y": 198}}
{"name": "navigate_back", "parameters": {}}
{"name": "click", "parameters": {"x": 338, "y": 516}}
{"name": "click", "parameters": {"x": 518, "y": 706}}
{"name": "input_text", "parameters": {"text": "Rome"}}
active_application
Agoda
screen_description
windows {
  bounds_in_screen {
    right: 1080
    bottom: 118
  }
  id: 49
  layer: 1
  window_type: TYPE_SYSTEM
  tree {
    nodes {
      bounds_in_screen {
        right: 1080
        bottom: 118
      }
      class_name: "android.widget.FrameLayout"
    }
    nodes {
      bounds_in_screen {
        right: 1080
        bottom: 118
      }
      class_name: "android.widget.FrameLayout"
      depth: 1
    }
    nodes {
      bounds_in_screen {
        right: 1080
        bottom: 118
      }
      class_name: "android.widget.FrameLayout"
      depth: 1
    }
    nodes {
      bounds_in_screen {
        right: 1080
        bottom: 118
      }
      class_name: "android.widget.FrameLayout"
      depth: 1
    }
    nodes {
      bounds_in_screen {
        right: 1080
        bottom: 118
      }
      class_name: "android.widget.FrameLayout"
      depth: 2
    }
    nodes {
      bounds_in_screen {
        left: 47
        right: 1027
        bottom: 118
      }
      class_name: "android.widget.LinearLayout"
      depth: 3
    }
    nodes {
      bounds_in_screen {
        left: 47
        top: 1
        right: 454
        bottom: 118
      }
      class_name: "android.widget.FrameLayout"
      depth: 4
    }
    nodes {
      bounds_in_screen {
        left: 454
        top: 1
        right: 599
        bottom: 118
      }
      class_name: "android.view.View"
      depth: 4
    }
    nodes {
      bounds_in_screen {
        left: 599
        top: 1
        right: 1006
        bottom: 118
      }
      class_name: "android.widget.LinearLayout"
      depth: 4
    }
    nodes {
      bounds_in_screen {
        left: 47
        top: 1
        right: 454
        bottom: 118
      }
      class_name: "android.widget.LinearLayout"
      depth: 5
    }
    nodes {
      bounds_in_screen {
        left: 924
        top: 1
        right: 1006
        bottom: 118
      }
      class_name: "android.widget.LinearLayout"
      depth: 5
    }
    nodes {
      bounds_in_screen {
        left: 47
        top: 1
        right: 149
        bottom: 118
      }
      class_name: "android.widget.TextView"
      content_description: "10:47 AM"
      text: "10:47"
      depth: 6
    }
    nodes {
      bounds_in_screen {
        left: 149
        top: 1
        right: 454
        bottom: 118
      }
      class_name: "android.widget.FrameLayout"
      depth: 6
    }
    nodes {
      bounds_in_screen {
        left: 924
        top: 1
        right: 986
        bottom: 118
      }
      class_name: "android.widget.LinearLayout"
      depth: 6
    }
    nodes {
      bounds_in_screen {
        left: 986
        top: 1
        right: 1006
        bottom: 118
      }
      class_name: "android.widget.LinearLayout"
      content_description: "Battery charging, 100 percent."
      depth: 6
    }
    nodes {
      bounds_in_screen {
        left: 149
        top: 1
        right: 454
        bottom: 118
      }
      class_name: "android.widget.LinearLayout"
      depth: 7
    }
    nodes {
      bounds_in_screen {
        left: 924
        top: 30
        right: 970
        bottom: 88
      }
      class_name: "android.widget.FrameLayout"
      content_description: "Wifi two bars."
      depth: 7
    }
    nodes {
      bounds_in_screen {
        left: 986
        top: 42
        right: 1006
        bottom: 76
      }
      class_name: "android.widget.ImageView"
      depth: 7
    }
    nodes {
      bounds_in_screen {
        left: 149
        top: 1
        right: 454
        bottom: 118
      }
      class_name: "android.widget.FrameLayout"
      depth: 8
    }
    nodes {
      bounds_in_screen {
        left: 931
        top: 30
        right: 970
        bottom: 88
      }
      class_name: "android.widget.LinearLayout"
      depth: 8
    }
    nodes {
      bounds_in_screen {
        left: 149
        top: 1
        right: 207
        bottom: 118
      }
      class_name: "android.widget.ImageView"
      content_description: "JioMart notification: "
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 207
        top: 1
        right: 265
        bottom: 118
      }
      class_name: "android.widget.ImageView"
      content_description: "Nykaa notification: "
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 265
        top: 1
        right: 323
        bottom: 118
      }
      class_name: "android.widget.ImageView"
      content_description: "CarDekho notification: "
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 323
        top: 1
        right: 381
        bottom: 118
      }
      class_name: "android.widget.ImageView"
      content_description: "SUGAR notification: "
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 381
        top: 1
        right: 439
        bottom: 118
      }
      class_name: "android.widget.ImageView"
      content_description: "Idanim notification: "
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 399
        top: 1
        right: 454
        bottom: 118
      }
      class_name: "android.widget.ImageView"
      content_description: "Android System notification: Check access settings"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 399
        top: 1
        right: 454
        bottom: 118
      }
      class_name: "android.widget.ImageView"
      content_description: "CarWale notification: "
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 399
        top: 1
        right: 454
        bottom: 118
      }
      class_name: "android.widget.ImageView"
      content_description: "Flipkart notification: "
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 399
        top: 1
        right: 454
        bottom: 118
      }
      class_name: "android.widget.ImageView"
      content_description: "REI Co-op notification: "
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 399
        top: 1
        right: 454
        bottom: 118
      }
      class_name: "android.widget.ImageView"
      content_description: "Google Play Store notification: "
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 399
        top: 1
        right: 454
        bottom: 118
      }
      class_name: "android.widget.ImageView"
      content_description: "Shopsy notification: "
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 399
        top: 1
        right: 454
        bottom: 118
      }
      class_name: "android.widget.ImageView"
      content_description: "FirstCry notification: Dr. Pandurang (Paediatrician) is LIVE"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 399
        top: 1
        right: 454
        bottom: 118
      }
      class_name: "android.widget.ImageView"
      content_description: "FirstCry notification: Why buy☝️, When you get🖐️ @ 65% OFF"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 399
        top: 1
        right: 454
        bottom: 118
      }
      class_name: "android.widget.ImageView"
      content_description: "FirstCry notification: Flat 65% OFF⏳3 PM - 6 PM"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 399
        top: 1
        right: 454
        bottom: 118
      }
      class_name: "android.widget.ImageView"
      content_description: "FirstCry notification: Baby Boy👦Baby Girl👧Names!"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 399
        top: 1
        right: 454
        bottom: 118
      }
      class_name: "android.widget.ImageView"
      content_description: "FirstCry notification: Grab or Gone Deal⏳FLAT 60% OFF"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 399
        top: 1
        right: 454
        bottom: 118
      }
      class_name: "android.widget.ImageView"
      content_description: "Google Play services notification: "
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 399
        top: 1
        right: 454
        bottom: 118
      }
      class_name: "android.widget.ImageView"
      content_description: "Heartfulness notification: "
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 399
        top: 1
        right: 454
        bottom: 118
      }
      class_name: "android.widget.ImageView"
      content_description: "FirstCry notification: Your Baby\'s Teething Tracker is HERE!"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 399
        top: 1
        right: 454
        bottom: 118
      }
      class_name: "android.widget.ImageView"
      content_description: "Gmail notification: customer-support"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 399
        top: 1
        right: 454
        bottom: 118
      }
      class_name: "android.widget.ImageView"
      content_description: "FirstCry notification: Winter Savings, Ahoy!🤩Get 65% OFF"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 399
        top: 1
        right: 454
        bottom: 118
      }
      class_name: "android.widget.ImageView"
      content_description: "MakeMyTrip notification: For Your Flight to Rome!"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 399
        top: 1
        right: 454
        bottom: 118
      }
      class_name: "android.widget.ImageView"
      content_description: "FirstCry notification: Announcement📣It\'s A Club Day!"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 399
        top: 1
        right: 454
        bottom: 118
      }
      class_name: "android.widget.ImageView"
      content_description: "FirstCry notification: 👋A warm welcome to FirstCry!📱"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 399
        top: 1
        right: 454
        bottom: 118
      }
      class_name: "android.widget.ImageView"
      content_description: "YouTube notification: Buying shoes be like"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 399
        top: 1
        right: 454
        bottom: 118
      }
      class_name: "android.widget.ImageView"
      content_description: "FirstCry notification: Club Day Special😍Flat 60% OFF!"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 399
        top: 1
        right: 454
        bottom: 118
      }
      class_name: "android.widget.ImageView"
      content_description: "FirstCry notification: It\'s huge, It\'s 50% OFF & It\'s Here🐘"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 399
        top: 1
        right: 454
        bottom: 118
      }
      class_name: "android.widget.ImageView"
      content_description: "FirstCry notification: 👶Thank you for choosing FirstCry!"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 399
        top: 1
        right: 454
        bottom: 118
      }
      class_name: "android.widget.ImageView"
      content_description: "FirstCry notification: Are Your👶Vaccines up-to-date❓"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 399
        top: 1
        right: 454
        bottom: 118
      }
      class_name: "android.widget.ImageView"
      content_description: "Shopsy notification: "
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 931
        top: 39
        right: 970
        bottom: 78
      }
      class_name: "android.widget.FrameLayout"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 931
        top: 39
        right: 970
        bottom: 78
      }
      class_name: "android.widget.ImageView"
      depth: 10
    }
  }
}
windows {
  bounds_in_screen {
    right: 1080
    bottom: 2400
  }
  id: 5809
  title: "Agoda"
  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: 2400
      }
      class_name: "android.widget.LinearLayout"
      depth: 1
    }
    nodes {
      bounds_in_screen {
        right: 1080
        bottom: 118
      }
      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 {
        right: 1080
        bottom: 2400
      }
      class_name: "android.widget.FrameLayout"
      depth: 2
    }
    nodes {
      bounds_in_screen {
        right: 1080
        bottom: 2400
      }
      class_name: "android.widget.FrameLayout"
      depth: 3
    }
    nodes {
      bounds_in_screen {
        right: 1080
        bottom: 2400
      }
      class_name: "android.widget.FrameLayout"
      depth: 4
    }
    nodes {
      bounds_in_screen {
        right: 1080
        bottom: 1925
      }
      class_name: "androidx.compose.ui.platform.ComposeView"
      depth: 5
    }
    nodes {
      bounds_in_screen {
        right: 1080
        bottom: 1925
      }
      class_name: "android.view.View"
      depth: 6
    }
    nodes {
      bounds_in_screen {
        right: 1080
        bottom: 1925
      }
      class_name: "android.view.View"
      depth: 7
    }
    nodes {
      bounds_in_screen {
        top: 303
        right: 1080
        bottom: 1925
      }
      class_name: "android.widget.ScrollView"
      depth: 8
    }
    nodes {
      bounds_in_screen {
        right: 1080
        bottom: 303
      }
      class_name: "android.view.View"
      is_clickable: true
      is_focusable: true
      depth: 8
    }
    nodes {
      bounds_in_screen {
        left: 27
        top: 148
        right: 153
        bottom: 274
      }
      class_name: "android.view.View"
      is_clickable: true
      is_focusable: true
      depth: 8
    }
    nodes {
      bounds_in_screen {
        left: 179
        top: 179
        right: 790
        bottom: 242
      }
      class_name: "android.widget.TextView"
      text: "All rooms"
      depth: 8
    }
    nodes {
      bounds_in_screen {
        left: 832
        top: 148
        right: 1038
        bottom: 274
      }
      class_name: "android.view.View"
      is_clickable: true
      is_focusable: true
      depth: 8
    }
    nodes {
      bounds_in_screen {
        top: 303
        right: 1080
        bottom: 538
      }
      class_name: "android.widget.ImageView"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 63
        top: 303
        right: 356
        bottom: 357
      }
      class_name: "android.widget.TextView"
      text: "All rooms"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 42
        top: 452
        right: 309
        bottom: 598
      }
      class_name: "android.view.View"
      is_checkable: true
      is_checked: true
      is_focusable: true
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 309
        top: 452
        right: 545
        bottom: 593
      }
      class_name: "android.view.View"
      is_checkable: true
      is_clickable: true
      is_focusable: true
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 365
        top: 391
        right: 491
        bottom: 517
      }
      class_name: "android.view.View"
      is_clickable: true
      is_focusable: true
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 84
        top: 643
        right: 996
        bottom: 770
      }
      class_name: "android.view.View"
      is_clickable: true
      is_focusable: true
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 84
        top: 802
        right: 996
        bottom: 929
      }
      class_name: "android.view.View"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 84
        top: 961
        right: 996
        bottom: 1088
      }
      class_name: "android.view.View"
      is_clickable: true
      is_focusable: true
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 80
        top: 1136
        right: 206
        bottom: 1262
      }
      class_name: "android.view.View"
      is_clickable: true
      is_focusable: true
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 233
        top: 1136
        right: 996
        bottom: 1262
      }
      class_name: "android.view.View"
      is_clickable: true
      is_focusable: true
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 42
        top: 1362
        right: 428
        bottom: 1425
      }
      class_name: "android.widget.TextView"
      text: "Discount Coupons"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 32
        top: 1425
        right: 1048
        bottom: 1799
      }
      class_name: "android.view.View"
      is_scrollable: true
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 864
        top: 184
        right: 917
        bottom: 237
      }
      class_name: "android.view.View"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 938
        top: 182
        right: 1006
        bottom: 239
      }
      class_name: "android.widget.TextView"
      text: "INR"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 84
        top: 494
        right: 267
        bottom: 551
      }
      class_name: "android.widget.TextView"
      text: "Overnight"
      depth: 10
    }
    nodes {
      bounds_in_screen {
        left: 351
        top: 494
        right: 503
        bottom: 551
      }
      class_name: "android.widget.TextView"
      text: "Day Use"
      depth: 10
    }
    nodes {
      bounds_in_screen {
        left: 393
        top: 432
        right: 462
        bottom: 475
      }
      class_name: "android.widget.TextView"
      text: "New!"
      depth: 10
    }
    nodes {
      bounds_in_screen {
        left: 200
        top: 678
        right: 837
        bottom: 735
      }
      class_name: "android.widget.TextView"
      text: "Rome"
      depth: 10
    }
    nodes {
      bounds_in_screen {
        left: 848
        top: 644
        right: 974
        bottom: 770
      }
      class_name: "android.view.View"
      is_clickable: true
      is_focusable: true
      depth: 10
    }
    nodes {
      bounds_in_screen {
        left: 84
        top: 802
        right: 529
        bottom: 929
      }
      class_name: "android.view.View"
      is_clickable: true
      is_focusable: true
      depth: 10
    }
    nodes {
      bounds_in_screen {
        left: 550
        top: 802
        right: 996
        bottom: 929
      }
      class_name: "android.view.View"
      is_clickable: true
      is_focusable: true
      depth: 10
    }
    nodes {
      bounds_in_screen {
        left: 200
        top: 996
        right: 495
        bottom: 1053
      }
      class_name: "android.widget.TextView"
      text: "1 room 2 adults"
      depth: 10
    }
    nodes {
      bounds_in_screen {
        left: 116
        top: 1173
        right: 169
        bottom: 1225
      }
      class_name: "android.view.View"
      depth: 10
    }
    nodes {
      bounds_in_screen {
        left: 84
        top: 1141
        right: 201
        bottom: 1257
      }
      class_name: "android.widget.Button"
      depth: 10
    }
    nodes {
      bounds_in_screen {
        left: 550
        top: 1171
        right: 679
        bottom: 1228
      }
      class_name: "android.widget.TextView"
      text: "Search"
      depth: 10
    }
    nodes {
      bounds_in_screen {
        left: 233
        top: 1141
        right: 996
        bottom: 1257
      }
      class_name: "android.widget.Button"
      depth: 10
    }
    nodes {
      bounds_in_screen {
        left: 53
        top: 1489
        right: 263
        bottom: 1699
      }
      class_name: "android.view.View"
      depth: 10
    }
    nodes {
      bounds_in_screen {
        left: 284
        top: 1489
        right: 636
        bottom: 1552
      }
      class_name: "android.widget.TextView"
      text: "UP TO ₹8,000 OFF"
      depth: 10
    }
    nodes {
      bounds_in_screen {
        left: 284
        top: 1552
        right: 636
        bottom: 1669
      }
      class_name: "android.widget.TextView"
      text: "* No minimum spend required.  | Offer expires in 3 days!"
      depth: 10
    }
    nodes {
      bounds_in_screen {
        left: 442
        top: 1665
        right: 657
        bottom: 1791
      }
      class_name: "android.widget.TextView"
      text: "Get coupon"
      is_clickable: true
      is_focusable: true
      depth: 10
    }
    nodes {
      bounds_in_screen {
        left: 731
        top: 1489
        right: 941
        bottom: 1699
      }
      class_name: "android.view.View"
      depth: 10
    }
    nodes {
      bounds_in_screen {
        left: 962
        top: 1489
        right: 1048
        bottom: 1552
      }
      class_name: "android.widget.TextView"
      text: "UP TO ₹10,000 OFF"
      depth: 10
    }
    nodes {
      bounds_in_screen {
        left: 962
        top: 1552
        right: 1048
        bottom: 1632
      }
      class_name: "android.widget.TextView"
      text: "Min. spend ₹9,170 | Offer expires in 3 days!"
      depth: 10
    }
    nodes {
      bounds_in_screen {
        left: 200
        top: 837
        right: 433
        bottom: 894
      }
      class_name: "android.widget.TextView"
      text: "Wed, Dec 20"
      depth: 11
    }
    nodes {
      bounds_in_screen {
        left: 666
        top: 837
        right: 886
        bottom: 894
      }
      class_name: "android.widget.TextView"
      text: "Thu, Dec 21"
      depth: 11
    }
  }
}

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