instruction
In the Wego Flights & Hotels app, Find a Vistara flight from New Delhi to Indore. Departing on September 20, 2023, at 18:10–19:30 and returning on September 23, 2023, at 08:10–09:45
previous_actions
{"name": "open_app", "parameters": {"app_name": "Wego Flights & Hotels"}}
active_application
Wego Flights & Hotels
screen_description
windows {
  bounds_in_screen {
    right: 1080
    bottom: 118
  }
  id: 2
  layer: 2
  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.FrameLayout"
      depth: 4
    }
    nodes {
      bounds_in_screen {
        left: 47
        top: 1
        right: 357
        bottom: 118
      }
      class_name: "android.widget.FrameLayout"
      depth: 5
    }
    nodes {
      bounds_in_screen {
        left: 701
        top: 1
        right: 1006
        bottom: 118
      }
      class_name: "android.widget.LinearLayout"
      depth: 5
    }
    nodes {
      bounds_in_screen {
        left: 47
        top: 1
        right: 357
        bottom: 118
      }
      class_name: "android.widget.LinearLayout"
      depth: 6
    }
    nodes {
      bounds_in_screen {
        left: 701
        top: 1
        right: 1006
        bottom: 118
      }
      class_name: "android.widget.LinearLayout"
      depth: 6
    }
    nodes {
      bounds_in_screen {
        left: 47
        top: 1
        right: 125
        bottom: 118
      }
      class_name: "android.widget.TextView"
      content_description: "1:03 PM"
      text: "1:03"
      depth: 7
    }
    nodes {
      bounds_in_screen {
        left: 125
        top: 1
        right: 357
        bottom: 118
      }
      class_name: "android.widget.FrameLayout"
      depth: 7
    }
    nodes {
      bounds_in_screen {
        left: 701
        top: 1
        right: 881
        bottom: 118
      }
      class_name: "android.widget.LinearLayout"
      depth: 7
    }
    nodes {
      bounds_in_screen {
        left: 881
        top: 1
        right: 1006
        bottom: 118
      }
      class_name: "android.widget.LinearLayout"
      content_description: "Battery charging, 100 percent."
      depth: 7
    }
    nodes {
      bounds_in_screen {
        left: 125
        top: 1
        right: 357
        bottom: 118
      }
      class_name: "android.view.ViewGroup"
      depth: 8
    }
    nodes {
      bounds_in_screen {
        left: 701
        top: 30
        right: 762
        bottom: 88
      }
      class_name: "android.widget.ImageView"
      content_description: "Ringer silent."
      depth: 8
    }
    nodes {
      bounds_in_screen {
        left: 762
        top: 30
        right: 819
        bottom: 88
      }
      class_name: "android.widget.ImageView"
      content_description: "Do Not Disturb"
      depth: 8
    }
    nodes {
      bounds_in_screen {
        left: 819
        top: 30
        right: 865
        bottom: 88
      }
      class_name: "android.widget.FrameLayout"
      content_description: "Wifi three bars."
      depth: 8
    }
    nodes {
      bounds_in_screen {
        left: 881
        top: 42
        right: 901
        bottom: 76
      }
      class_name: "android.widget.ImageView"
      depth: 8
    }
    nodes {
      bounds_in_screen {
        left: 901
        top: 1
        right: 1006
        bottom: 118
      }
      class_name: "android.widget.TextView"
      text: "100%"
      depth: 8
    }
    nodes {
      bounds_in_screen {
        left: 125
        top: 1
        right: 183
        bottom: 118
      }
      class_name: "android.widget.ImageView"
      content_description: "Shopsy notification: "
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 183
        top: 1
        right: 241
        bottom: 118
      }
      class_name: "android.widget.ImageView"
      content_description: "Myntra notification: Get Ready for the Year\'s Biggest Launch! 🚀"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 241
        top: 1
        right: 299
        bottom: 118
      }
      class_name: "android.widget.ImageView"
      content_description: "System update notification: Android 13"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 299
        top: 1
        right: 357
        bottom: 118
      }
      class_name: "android.widget.ImageView"
      content_description: "Google Play Store notification: Complete setup by installing apps"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 826
        top: 30
        right: 865
        bottom: 88
      }
      class_name: "android.widget.LinearLayout"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 826
        top: 39
        right: 865
        bottom: 78
      }
      class_name: "android.widget.FrameLayout"
      depth: 10
    }
    nodes {
      bounds_in_screen {
        left: 826
        top: 39
        right: 865
        bottom: 78
      }
      class_name: "android.widget.ImageView"
      depth: 11
    }
  }
}
windows {
  bounds_in_screen {
    right: 1080
    bottom: 2400
  }
  id: 2373
  title: "Wego Flights & Hotels"
  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 {
        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 {
        top: 118
        right: 1080
        bottom: 2337
      }
      class_name: "android.widget.FrameLayout"
      depth: 2
    }
    nodes {
      bounds_in_screen {
        top: 118
        right: 1080
        bottom: 2337
      }
      class_name: "android.widget.LinearLayout"
      depth: 3
    }
    nodes {
      bounds_in_screen {
        top: 118
        right: 1080
        bottom: 2337
      }
      class_name: "android.widget.FrameLayout"
      depth: 4
    }
    nodes {
      bounds_in_screen {
        top: 118
        right: 1080
        bottom: 2337
      }
      class_name: "androidx.drawerlayout.widget.DrawerLayout"
      depth: 5
    }
    nodes {
      bounds_in_screen {
        top: 118
        right: 1080
        bottom: 2337
      }
      class_name: "android.widget.FrameLayout"
      depth: 6
    }
    nodes {
      bounds_in_screen {
        top: 118
        right: 1080
        bottom: 2337
      }
      class_name: "android.widget.FrameLayout"
      depth: 7
    }
    nodes {
      bounds_in_screen {
        top: 118
        right: 1080
        bottom: 2337
      }
      class_name: "android.widget.FrameLayout"
      depth: 8
    }
    nodes {
      bounds_in_screen {
        top: 118
        right: 1080
        bottom: 2337
      }
      class_name: "android.widget.RelativeLayout"
      is_clickable: true
      is_focusable: true
      depth: 9
    }
    nodes {
      bounds_in_screen {
        top: 118
        right: 1080
        bottom: 265
      }
      class_name: "android.widget.LinearLayout"
      depth: 10
    }
    nodes {
      bounds_in_screen {
        top: 265
        right: 1080
        bottom: 370
      }
      class_name: "android.widget.LinearLayout"
      depth: 10
    }
    nodes {
      bounds_in_screen {
        top: 370
        right: 1080
        bottom: 1520
      }
      class_name: "android.widget.ScrollView"
      is_focusable: true
      depth: 10
    }
    nodes {
      bounds_in_screen {
        top: 2166
        right: 1080
        bottom: 2337
      }
      class_name: "android.widget.LinearLayout"
      depth: 10
    }
    nodes {
      bounds_in_screen {
        top: 118
        right: 147
        bottom: 265
      }
      class_name: "android.widget.ImageButton"
      is_clickable: true
      is_focusable: true
      depth: 11
    }
    nodes {
      bounds_in_screen {
        left: 189
        top: 154
        right: 933
        bottom: 229
      }
      class_name: "android.widget.TextView"
      text: "Flights Search"
      depth: 11
    }
    nodes {
      bounds_in_screen {
        left: 933
        top: 118
        right: 1080
        bottom: 265
      }
      class_name: "android.widget.ImageButton"
      is_clickable: true
      is_focusable: true
      depth: 11
    }
    nodes {
      bounds_in_screen {
        top: 265
        right: 360
        bottom: 370
      }
      class_name: "android.widget.FrameLayout"
      is_clickable: true
      is_focusable: true
      depth: 11
    }
    nodes {
      bounds_in_screen {
        left: 360
        top: 265
        right: 720
        bottom: 370
      }
      class_name: "android.widget.FrameLayout"
      is_clickable: true
      is_focusable: true
      depth: 11
    }
    nodes {
      bounds_in_screen {
        left: 720
        top: 265
        right: 1080
        bottom: 370
      }
      class_name: "android.widget.FrameLayout"
      is_clickable: true
      is_focusable: true
      depth: 11
    }
    nodes {
      bounds_in_screen {
        top: 370
        right: 1080
        bottom: 1520
      }
      class_name: "android.widget.LinearLayout"
      depth: 11
    }
    nodes {
      bounds_in_screen {
        top: 2166
        right: 1080
        bottom: 2179
      }
      class_name: "android.view.View"
      depth: 11
    }
    nodes {
      bounds_in_screen {
        top: 2179
        right: 1080
        bottom: 2337
      }
      class_name: "android.widget.Button"
      text: "SEARCH FLIGHTS"
      is_clickable: true
      is_focusable: true
      depth: 11
    }
    nodes {
      bounds_in_screen {
        left: 93
        top: 291
        right: 267
        bottom: 344
      }
      class_name: "android.widget.TextView"
      text: "ONE-WAY"
      depth: 12
    }
    nodes {
      bounds_in_screen {
        left: 427
        top: 291
        right: 653
        bottom: 344
      }
      class_name: "android.widget.TextView"
      text: "ROUND TRIP"
      depth: 12
    }
    nodes {
      bounds_in_screen {
        left: 801
        top: 291
        right: 999
        bottom: 344
      }
      class_name: "android.widget.TextView"
      text: "MULTICITY"
      depth: 12
    }
    nodes {
      bounds_in_screen {
        top: 370
        right: 1080
        bottom: 371
      }
      class_name: "android.view.View"
      depth: 12
    }
    nodes {
      bounds_in_screen {
        top: 371
        right: 1080
        bottom: 755
      }
      class_name: "android.widget.RelativeLayout"
      depth: 12
    }
    nodes {
      bounds_in_screen {
        top: 755
        right: 1080
        bottom: 944
      }
      class_name: "android.widget.LinearLayout"
      depth: 12
    }
    nodes {
      bounds_in_screen {
        top: 944
        right: 1080
        bottom: 947
      }
      class_name: "android.widget.FrameLayout"
      depth: 12
    }
    nodes {
      bounds_in_screen {
        top: 947
        right: 1080
        bottom: 1136
      }
      class_name: "android.widget.LinearLayout"
      is_clickable: true
      is_focusable: true
      depth: 12
    }
    nodes {
      bounds_in_screen {
        top: 1136
        right: 1080
        bottom: 1139
      }
      class_name: "android.widget.FrameLayout"
      depth: 12
    }
    nodes {
      bounds_in_screen {
        top: 1139
        right: 1080
        bottom: 1328
      }
      class_name: "android.widget.LinearLayout"
      is_clickable: true
      is_focusable: true
      depth: 12
    }
    nodes {
      bounds_in_screen {
        top: 1328
        right: 1080
        bottom: 1331
      }
      class_name: "android.widget.FrameLayout"
      depth: 12
    }
    nodes {
      bounds_in_screen {
        top: 1331
        right: 1080
        bottom: 1520
      }
      class_name: "android.widget.LinearLayout"
      is_clickable: true
      is_focusable: true
      depth: 12
    }
    nodes {
      bounds_in_screen {
        top: 371
        right: 1080
        bottom: 560
      }
      class_name: "android.widget.LinearLayout"
      is_clickable: true
      is_focusable: true
      depth: 13
    }
    nodes {
      bounds_in_screen {
        top: 560
        right: 1080
        bottom: 563
      }
      class_name: "android.widget.FrameLayout"
      depth: 13
    }
    nodes {
      bounds_in_screen {
        top: 563
        right: 1080
        bottom: 752
      }
      class_name: "android.widget.LinearLayout"
      is_clickable: true
      is_focusable: true
      depth: 13
    }
    nodes {
      bounds_in_screen {
        left: 927
        top: 513
        right: 1027
        bottom: 613
      }
      class_name: "android.widget.ImageView"
      is_clickable: true
      is_focusable: true
      depth: 13
    }
    nodes {
      bounds_in_screen {
        top: 752
        right: 1080
        bottom: 755
      }
      class_name: "android.widget.FrameLayout"
      depth: 13
    }
    nodes {
      bounds_in_screen {
        left: 42
        top: 823
        right: 97
        bottom: 876
      }
      class_name: "android.widget.ImageView"
      depth: 13
    }
    nodes {
      bounds_in_screen {
        left: 186
        top: 755
        right: 1038
        bottom: 944
      }
      class_name: "android.widget.LinearLayout"
      depth: 13
    }
    nodes {
      bounds_in_screen {
        left: 189
        top: 945
        right: 1080
        bottom: 946
      }
      class_name: "android.view.View"
      depth: 13
    }
    nodes {
      bounds_in_screen {
        left: 42
        top: 1024
        right: 97
        bottom: 1058
      }
      class_name: "android.widget.ImageView"
      depth: 13
    }
    nodes {
      bounds_in_screen {
        left: 186
        top: 947
        right: 1038
        bottom: 1136
      }
      class_name: "android.widget.LinearLayout"
      depth: 13
    }
    nodes {
      bounds_in_screen {
        left: 189
        top: 1137
        right: 1080
        bottom: 1138
      }
      class_name: "android.view.View"
      depth: 13
    }
    nodes {
      bounds_in_screen {
        left: 42
        top: 1208
        right: 97
        bottom: 1259
      }
      class_name: "android.widget.ImageView"
      depth: 13
    }
    nodes {
      bounds_in_screen {
        left: 186
        top: 1139
        right: 1038
        bottom: 1328
      }
      class_name: "android.widget.LinearLayout"
      depth: 13
    }
    nodes {
      bounds_in_screen {
        left: 189
        top: 1329
        right: 1080
        bottom: 1330
      }
      class_name: "android.view.View"
      depth: 13
    }
    nodes {
      bounds_in_screen {
        left: 42
        top: 1396
        right: 97
        bottom: 1454
      }
      class_name: "android.widget.ImageView"
      depth: 13
    }
    nodes {
      bounds_in_screen {
        left: 186
        top: 1331
        right: 1038
        bottom: 1520
      }
      class_name: "android.widget.LinearLayout"
      depth: 13
    }
    nodes {
      bounds_in_screen {
        left: 42
        top: 441
        right: 97
        bottom: 489
      }
      class_name: "android.widget.ImageView"
      depth: 14
    }
    nodes {
      bounds_in_screen {
        left: 186
        top: 371
        right: 1038
        bottom: 560
      }
      class_name: "android.widget.LinearLayout"
      depth: 14
    }
    nodes {
      bounds_in_screen {
        left: 189
        top: 561
        right: 1080
        bottom: 562
      }
      class_name: "android.view.View"
      depth: 14
    }
    nodes {
      bounds_in_screen {
        left: 42
        top: 624
        right: 97
        bottom: 691
      }
      class_name: "android.widget.ImageView"
      depth: 14
    }
    nodes {
      bounds_in_screen {
        left: 186
        top: 563
        right: 1038
        bottom: 752
      }
      class_name: "android.widget.LinearLayout"
      depth: 14
    }
    nodes {
      bounds_in_screen {
        left: 189
        top: 753
        right: 1080
        bottom: 754
      }
      class_name: "android.view.View"
      depth: 14
    }
    nodes {
      bounds_in_screen {
        left: 186
        top: 755
        right: 611
        bottom: 944
      }
      class_name: "android.widget.LinearLayout"
      is_clickable: true
      is_focusable: true
      depth: 14
    }
    nodes {
      bounds_in_screen {
        left: 611
        top: 755
        right: 614
        bottom: 944
      }
      class_name: "android.widget.FrameLayout"
      depth: 14
    }
    nodes {
      bounds_in_screen {
        left: 614
        top: 755
        right: 1038
        bottom: 944
      }
      class_name: "android.widget.LinearLayout"
      is_clickable: true
      is_focusable: true
      depth: 14
    }
    nodes {
      bounds_in_screen {
        left: 186
        top: 984
        right: 321
        bottom: 1044
      }
      class_name: "android.widget.TextView"
      text: "1 Adult"
      depth: 14
    }
    nodes {
      bounds_in_screen {
        left: 186
        top: 1049
        right: 1038
        bottom: 1098
      }
      class_name: "android.widget.TextView"
      text: "Passengers"
      depth: 14
    }
    nodes {
      bounds_in_screen {
        left: 186
        top: 1176
        right: 659
        bottom: 1236
      }
      class_name: "android.widget.TextView"
      text: "Economy"
      depth: 14
    }
    nodes {
      bounds_in_screen {
        left: 186
        top: 1241
        right: 1038
        bottom: 1290
      }
      class_name: "android.widget.TextView"
      text: "Cabin Class"
      depth: 14
    }
    nodes {
      bounds_in_screen {
        left: 186
        top: 1368
        right: 1038
        bottom: 1428
      }
      class_name: "android.widget.TextView"
      text: "MasterCard Credit, Visa Credit, Visa Debit, Net Banking, UPI"
      depth: 14
    }
    nodes {
      bounds_in_screen {
        left: 186
        top: 1433
        right: 1038
        bottom: 1482
      }
      class_name: "android.widget.TextView"
      text: "Payment Types"
      depth: 14
    }
    nodes {
      bounds_in_screen {
        left: 186
        top: 408
        right: 1038
        bottom: 468
      }
      class_name: "android.widget.TextView"
      hint_text: "Choose Departure"
      text: "Abu Dhabi (AUH)"
      is_focusable: true
      depth: 15
    }
    nodes {
      bounds_in_screen {
        left: 186
        top: 473
        right: 1038
        bottom: 522
      }
      class_name: "android.widget.TextView"
      text: "Departure"
      depth: 15
    }
    nodes {
      bounds_in_screen {
        left: 186
        top: 600
        right: 1038
        bottom: 660
      }
      class_name: "android.widget.TextView"
      hint_text: "Choose Arrival"
      text: "Bangkok (BKK)"
      is_focusable: true
      depth: 15
    }
    nodes {
      bounds_in_screen {
        left: 186
        top: 665
        right: 1038
        bottom: 714
      }
      class_name: "android.widget.TextView"
      text: "Destination"
      depth: 15
    }
    nodes {
      bounds_in_screen {
        left: 186
        top: 755
        right: 611
        bottom: 849
      }
      class_name: "android.widget.TextView"
      hint_text: "Select Date"
      text: "Sat, 16 Sept"
      depth: 15
    }
    nodes {
      bounds_in_screen {
        left: 186
        top: 849
        right: 455
        bottom: 944
      }
      class_name: "android.widget.TextView"
      text: "Departure Date"
      depth: 15
    }
    nodes {
      bounds_in_screen {
        left: 612
        top: 776
        right: 613
        bottom: 923
      }
      class_name: "android.view.View"
      depth: 15
    }
    nodes {
      bounds_in_screen {
        left: 656
        top: 755
        right: 1038
        bottom: 849
      }
      class_name: "android.widget.TextView"
      hint_text: "Select Date"
      text: "Tue, 26 Sept"
      depth: 15
    }
    nodes {
      bounds_in_screen {
        left: 656
        top: 849
        right: 848
        bottom: 944
      }
      class_name: "android.widget.TextView"
      text: "Return Date"
      depth: 15
    }
  }
}

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