instruction
I want to find a hotel for my mom at Warsaw for the night of 28th of December as there is a layover for her.
previous_actions
{"name": "click", "parameters": {"x": 161, "y": 551}}
{"name": "click", "parameters": {"x": 497, "y": 515}}
{"name": "input_text", "parameters": {"text": "Warsaw"}}
{"name": "click", "parameters": {"x": 994, "y": 2169}}
{"name": "click", "parameters": {"x": 525, "y": 678}}
{"name": "click", "parameters": {"x": 685, "y": 1222}}
{"name": "click", "parameters": {"x": 832, "y": 1222}}
{"name": "click", "parameters": {"x": 540, "y": 2228}}
{"name": "click", "parameters": {"x": 93, "y": 834}}
active_application
Trip.com
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: 182
        bottom: 136
      }
      class_name: "android.widget.FrameLayout"
      depth: 5
    }
    nodes {
      bounds_in_screen {
        left: 867
        top: 1
        right: 1006
        bottom: 136
      }
      class_name: "android.widget.LinearLayout"
      depth: 5
    }
    nodes {
      bounds_in_screen {
        left: 47
        top: 1
        right: 182
        bottom: 136
      }
      class_name: "android.widget.LinearLayout"
      depth: 6
    }
    nodes {
      bounds_in_screen {
        left: 867
        top: 1
        right: 1006
        bottom: 136
      }
      class_name: "android.widget.LinearLayout"
      depth: 6
    }
    nodes {
      bounds_in_screen {
        left: 47
        top: 1
        right: 124
        bottom: 136
      }
      class_name: "android.widget.TextView"
      content_description: "1:12 PM"
      text: "1:12"
      depth: 7
    }
    nodes {
      bounds_in_screen {
        left: 124
        top: 1
        right: 182
        bottom: 136
      }
      class_name: "android.widget.FrameLayout"
      depth: 7
    }
    nodes {
      bounds_in_screen {
        left: 867
        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: 124
        top: 1
        right: 182
        bottom: 136
      }
      class_name: "android.view.ViewGroup"
      depth: 8
    }
    nodes {
      bounds_in_screen {
        left: 867
        top: 39
        right: 924
        bottom: 97
      }
      class_name: "android.widget.ImageView"
      content_description: "Do Not Disturb"
      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: 124
        top: 1
        right: 182
        bottom: 136
      }
      class_name: "android.widget.ImageView"
      content_description: "Tata CLiQ notification: Power ⬆ Anytime, Anywhere 🔋"
      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: 1801
  title: "Trip.com"
  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 {
        right: 1080
        bottom: 2337
      }
      class_name: "android.widget.FrameLayout"
      depth: 2
    }
    nodes {
      bounds_in_screen {
        right: 1080
        bottom: 2337
      }
      class_name: "android.widget.FrameLayout"
      depth: 3
    }
    nodes {
      bounds_in_screen {
        right: 1080
        bottom: 2337
      }
      class_name: "android.widget.FrameLayout"
      depth: 4
    }
    nodes {
      bounds_in_screen {
        right: 1080
        bottom: 2337
      }
      class_name: "android.widget.LinearLayout"
      is_focusable: true
      depth: 5
    }
    nodes {
      bounds_in_screen {
        right: 1080
        bottom: 136
      }
      class_name: "android.view.View"
      depth: 5
    }
    nodes {
      bounds_in_screen {
        right: 1080
        bottom: 2337
      }
      class_name: "android.widget.LinearLayout"
      depth: 6
    }
    nodes {
      bounds_in_screen {
        right: 1080
        bottom: 283
      }
      class_name: "android.widget.LinearLayout"
      depth: 7
    }
    nodes {
      bounds_in_screen {
        top: 283
        right: 1080
        bottom: 2337
      }
      class_name: "android.widget.RelativeLayout"
      depth: 7
    }
    nodes {
      bounds_in_screen {
        right: 1080
        bottom: 283
      }
      class_name: "android.view.ViewGroup"
      depth: 8
    }
    nodes {
      bounds_in_screen {
        top: 283
        right: 1080
        bottom: 1063
      }
      class_name: "android.widget.ScrollView"
      is_focusable: true
      depth: 8
    }
    nodes {
      bounds_in_screen {
        top: 2163
        right: 1080
        bottom: 2337
      }
      class_name: "android.widget.LinearLayout"
      depth: 8
    }
    nodes {
      bounds_in_screen {
        top: 136
        right: 147
        bottom: 283
      }
      class_name: "android.widget.ImageButton"
      content_description: "Navigate up"
      is_clickable: true
      is_focusable: true
      depth: 9
      tooltip_text: "Navigate up"
    }
    nodes {
      bounds_in_screen {
        left: 189
        top: 178
        right: 586
        bottom: 241
      }
      class_name: "android.widget.TextView"
      text: "Rooms and Guests"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 1080
        top: 136
        right: 1080
        bottom: 283
      }
      class_name: "androidx.appcompat.widget.LinearLayoutCompat"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        top: 283
        right: 1080
        bottom: 1063
      }
      class_name: "android.widget.LinearLayout"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        top: 2163
        right: 1080
        bottom: 2166
      }
      class_name: "android.view.View"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        top: 2166
        right: 1080
        bottom: 2337
      }
      class_name: "android.widget.FrameLayout"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        top: 283
        right: 1080
        bottom: 447
      }
      class_name: "android.widget.RelativeLayout"
      depth: 10
    }
    nodes {
      bounds_in_screen {
        top: 447
        right: 1080
        bottom: 611
      }
      class_name: "android.widget.RelativeLayout"
      depth: 10
    }
    nodes {
      bounds_in_screen {
        top: 611
        right: 1080
        bottom: 775
      }
      class_name: "android.widget.RelativeLayout"
      depth: 10
    }
    nodes {
      bounds_in_screen {
        top: 775
        right: 1080
        bottom: 775
      }
      class_name: "androidx.recyclerview.widget.RecyclerView"
      is_focusable: true
      depth: 10
    }
    nodes {
      bounds_in_screen {
        top: 775
        right: 1080
        bottom: 1063
      }
      class_name: "android.widget.LinearLayout"
      depth: 10
    }
    nodes {
      bounds_in_screen {
        left: 42
        top: 2192
        right: 1038
        bottom: 2336
      }
      class_name: "android.widget.FrameLayout"
      is_clickable: true
      is_focusable: true
      depth: 10
    }
    nodes {
      bounds_in_screen {
        left: 39
        top: 338
        right: 169
        bottom: 391
      }
      class_name: "android.widget.TextView"
      text: "Rooms"
      depth: 11
    }
    nodes {
      bounds_in_screen {
        left: 799
        top: 315
        right: 1041
        bottom: 415
      }
      class_name: "android.widget.RelativeLayout"
      depth: 11
    }
    nodes {
      bounds_in_screen {
        left: 39
        top: 446
        right: 1041
        bottom: 447
      }
      class_name: "android.view.View"
      depth: 11
    }
    nodes {
      bounds_in_screen {
        left: 39
        top: 502
        right: 161
        bottom: 555
      }
      class_name: "android.widget.TextView"
      text: "Adults"
      depth: 11
    }
    nodes {
      bounds_in_screen {
        left: 799
        top: 479
        right: 1041
        bottom: 579
      }
      class_name: "android.widget.RelativeLayout"
      depth: 11
    }
    nodes {
      bounds_in_screen {
        left: 39
        top: 610
        right: 1041
        bottom: 611
      }
      class_name: "android.view.View"
      depth: 11
    }
    nodes {
      bounds_in_screen {
        left: 39
        top: 666
        right: 193
        bottom: 719
      }
      class_name: "android.widget.TextView"
      text: "Children"
      depth: 11
    }
    nodes {
      bounds_in_screen {
        left: 799
        top: 643
        right: 1041
        bottom: 743
      }
      class_name: "android.widget.RelativeLayout"
      depth: 11
    }
    nodes {
      bounds_in_screen {
        left: 39
        top: 774
        right: 1041
        bottom: 775
      }
      class_name: "android.view.View"
      depth: 11
    }
    nodes {
      bounds_in_screen {
        top: 775
        right: 1080
        bottom: 978
      }
      class_name: "android.widget.LinearLayout"
      depth: 11
    }
    nodes {
      bounds_in_screen {
        top: 978
        right: 1080
        bottom: 1063
      }
      class_name: "android.widget.LinearLayout"
      depth: 11
    }
    nodes {
      bounds_in_screen {
        left: 42
        top: 2192
        right: 1038
        bottom: 2336
      }
      class_name: "android.widget.FrameLayout"
      depth: 11
    }
    nodes {
      bounds_in_screen {
        left: 799
        top: 315
        right: 883
        bottom: 406
      }
      class_name: "android.widget.TextView"
      text: ""
      depth: 12
    }
    nodes {
      bounds_in_screen {
        left: 910
        top: 336
        right: 929
        bottom: 393
      }
      class_name: "android.widget.TextView"
      text: "1"
      is_clickable: true
      is_editable: true
      is_focusable: true
      is_long_clickable: true
      depth: 12
    }
    nodes {
      bounds_in_screen {
        left: 949
        top: 315
        right: 1041
        bottom: 415
      }
      class_name: "android.widget.TextView"
      text: ""
      is_clickable: true
      is_focusable: true
      depth: 12
    }
    nodes {
      bounds_in_screen {
        left: 799
        top: 479
        right: 883
        bottom: 570
      }
      class_name: "android.widget.TextView"
      text: ""
      depth: 12
    }
    nodes {
      bounds_in_screen {
        left: 910
        top: 500
        right: 929
        bottom: 557
      }
      class_name: "android.widget.TextView"
      text: "1"
      is_clickable: true
      is_editable: true
      is_focusable: true
      is_long_clickable: true
      depth: 12
    }
    nodes {
      bounds_in_screen {
        left: 949
        top: 479
        right: 1041
        bottom: 579
      }
      class_name: "android.widget.TextView"
      text: ""
      is_clickable: true
      is_focusable: true
      depth: 12
    }
    nodes {
      bounds_in_screen {
        left: 799
        top: 643
        right: 883
        bottom: 734
      }
      class_name: "android.widget.TextView"
      text: ""
      depth: 12
    }
    nodes {
      bounds_in_screen {
        left: 907
        top: 664
        right: 933
        bottom: 721
      }
      class_name: "android.widget.TextView"
      text: "0"
      is_clickable: true
      is_editable: true
      is_focusable: true
      is_long_clickable: true
      depth: 12
    }
    nodes {
      bounds_in_screen {
        left: 949
        top: 643
        right: 1041
        bottom: 743
      }
      class_name: "android.widget.TextView"
      text: ""
      is_clickable: true
      is_focusable: true
      depth: 12
    }
    nodes {
      bounds_in_screen {
        left: 46
        top: 798
        right: 57
        bottom: 849
      }
      class_name: "android.widget.TextView"
      text: "·"
      depth: 12
    }
    nodes {
      bounds_in_screen {
        left: 74
        top: 799
        right: 1034
        bottom: 968
      }
      class_name: "android.widget.TextView"
      text: "Please confirm the number of children and their ages. This will help us find the room types and discounts best suited to your needs."
      depth: 12
    }
    nodes {
      bounds_in_screen {
        left: 46
        top: 989
        right: 57
        bottom: 1040
      }
      class_name: "android.widget.TextView"
      text: "·"
      depth: 12
    }
    nodes {
      bounds_in_screen {
        left: 74
        top: 990
        right: 1034
        bottom: 1039
      }
      class_name: "android.widget.TextView"
      text: "If there are more guests, consider adding more rooms"
      depth: 12
    }
    nodes {
      bounds_in_screen {
        left: 42
        top: 2192
        right: 1038
        bottom: 2318
      }
      class_name: "android.widget.TextView"
      text: "Done"
      depth: 12
    }
    nodes {
      bounds_in_screen {
        left: 42
        top: 2257
        right: 1038
        bottom: 2336
      }
      class_name: "android.view.View"
      depth: 12
    }
  }
}

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