instruction
I'm going to a friend's wedding in Thiruvanmiyur Chennai next week,please help me to search a two-bedroom apartment on Housing App that costs less than fifty thousand rupees
previous_actions
{"name": "open_app", "parameters": {"app_name": "Housing"}}
{"name": "click", "parameters": {"x": 168, "y": 418}}
{"name": "click", "parameters": {"x": 791, "y": 1046}}
{"name": "click", "parameters": {"x": 503, "y": 489}}
{"name": "input_text", "parameters": {"text": "Thiruvanmiyur"}}
{"name": "click", "parameters": {"x": 424, "y": 691}}
{"name": "click", "parameters": {"x": 539, "y": 1359}}
{"name": "click", "parameters": {"x": 246, "y": 2211}}
{"name": "click", "parameters": {"x": 566, "y": 1344}}
{"name": "scroll", "parameters": {"direction": "right"}}
active_application
Housing
screen_description
windows {
  bounds_in_screen {
    right: 1080
    bottom: 136
  }
  id: 7
  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: 145
        right: 1027
        bottom: 136
      }
      class_name: "android.widget.LinearLayout"
      depth: 3
    }
    nodes {
      bounds_in_screen {
        left: 145
        top: 1
        right: 575
        bottom: 136
      }
      class_name: "android.widget.FrameLayout"
      depth: 4
    }
    nodes {
      bounds_in_screen {
        left: 575
        top: 1
        right: 1006
        bottom: 136
      }
      class_name: "android.widget.FrameLayout"
      depth: 4
    }
    nodes {
      bounds_in_screen {
        left: 145
        top: 1
        right: 286
        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: 145
        top: 1
        right: 286
        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: 145
        top: 1
        right: 228
        bottom: 136
      }
      class_name: "android.widget.TextView"
      content_description: "3:14 PM"
      text: "3:14"
      depth: 7
    }
    nodes {
      bounds_in_screen {
        left: 228
        top: 1
        right: 286
        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, 99 percent."
      depth: 7
    }
    nodes {
      bounds_in_screen {
        left: 228
        top: 1
        right: 286
        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: 228
        top: 1
        right: 286
        bottom: 136
      }
      class_name: "android.widget.ImageView"
      content_description: "Gmail notification: Redfin"
      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: 2537
  title: "Housing"
  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: 136
      }
      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: 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: "androidx.compose.ui.platform.k1"
      depth: 5
    }
    nodes {
      bounds_in_screen {
        top: 136
        right: 1080
        bottom: 2337
      }
      class_name: "android.view.View"
      depth: 6
    }
    nodes {
      bounds_in_screen {
        top: 136
        right: 1080
        bottom: 2337
      }
      class_name: "android.view.View"
      depth: 7
    }
    nodes {
      bounds_in_screen {
        top: 136
        right: 1080
        bottom: 2337
      }
      class_name: "android.view.View"
      is_scrollable: true
      depth: 8
    }
    nodes {
      bounds_in_screen {
        left: 63
        top: 2148
        right: 1017
        bottom: 2274
      }
      class_name: "android.view.View"
      is_clickable: true
      is_focusable: true
      depth: 8
    }
    nodes {
      bounds_in_screen {
        left: 32
        top: 168
        right: 158
        bottom: 294
      }
      class_name: "android.widget.ImageView"
      content_description: "back cta"
      is_clickable: true
      is_focusable: true
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 63
        top: 283
        right: 731
        bottom: 373
      }
      class_name: "android.widget.TextView"
      text: "Filter"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 731
        top: 266
        right: 1017
        bottom: 392
      }
      class_name: "android.widget.TextView"
      text: "Clear all"
      is_clickable: true
      is_focusable: true
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 63
        top: 415
        right: 732
        bottom: 455
      }
      class_name: "android.widget.TextView"
      text: "You are searching in Chennai"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 732
        top: 372
        right: 985
        bottom: 498
      }
      class_name: "android.widget.TextView"
      text: "Change Location"
      is_clickable: true
      is_focusable: true
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 985
        top: 419
        right: 1017
        bottom: 451
      }
      class_name: "android.widget.ImageView"
      content_description: "right arrow"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 63
        top: 500
        right: 250
        bottom: 538
      }
      class_name: "android.widget.TextView"
      text: "Filter Applied"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        top: 559
        right: 1062
        bottom: 610
      }
      class_name: "android.view.View"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 63
        top: 736
        right: 1017
        bottom: 775
      }
      class_name: "android.widget.TextView"
      text: "I\'m Looking to"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        top: 796
        right: 1080
        bottom: 898
      }
      class_name: "android.view.View"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 63
        top: 982
        right: 1017
        bottom: 1021
      }
      class_name: "android.widget.TextView"
      text: "Localities"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        top: 1042
        right: 725
        bottom: 1147
      }
      class_name: "android.view.View"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 63
        top: 1231
        right: 1017
        bottom: 1270
      }
      class_name: "android.widget.TextView"
      text: "BHK type"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        top: 1291
        right: 1080
        bottom: 1397
      }
      class_name: "android.view.View"
      is_scrollable: true
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 63
        top: 1481
        right: 1017
        bottom: 1520
      }
      class_name: "android.widget.TextView"
      text: "Budget"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 63
        top: 1541
        right: 162
        bottom: 1579
      }
      class_name: "android.widget.TextView"
      text: "₹ 0.0 K"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 901
        top: 1541
        right: 1017
        bottom: 1579
      }
      class_name: "android.widget.TextView"
      text: "₹ 62.0 K"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 63
        top: 1831
        right: 1017
        bottom: 1870
      }
      class_name: "android.widget.TextView"
      text: "Listed By"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        top: 1891
        right: 899
        bottom: 1997
      }
      class_name: "android.view.View"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 105
        top: 2140
        right: 849
        bottom: 2148
      }
      class_name: "android.widget.TextView"
      text: "View Verified properties only "
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 850
        top: 2098
        right: 976
        bottom: 2148
      }
      class_name: "android.view.View"
      is_checkable: true
      is_clickable: true
      is_focusable: true
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 119
        top: 2065
        right: 176
        bottom: 2098
      }
      class_name: "android.widget.TextView"
      text: "New"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 850
        top: 2329
        right: 976
        bottom: 2337
      }
      class_name: "android.view.View"
      is_checkable: true
      is_clickable: true
      is_focusable: true
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 371
        top: 2189
        right: 709
        bottom: 2234
      }
      class_name: "android.widget.TextView"
      text: "View 35  Properties"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 63
        top: 559
        right: 309
        bottom: 610
      }
      class_name: "android.widget.TextView"
      text: "Thiruvanmiyur"
      depth: 10
    }
    nodes {
      bounds_in_screen {
        left: 309
        top: 522
        right: 435
        bottom: 648
      }
      class_name: "android.widget.ImageView"
      is_clickable: true
      is_focusable: true
      depth: 10
    }
    nodes {
      bounds_in_screen {
        left: 430
        top: 559
        right: 512
        bottom: 610
      }
      class_name: "android.widget.TextView"
      text: "2 BHK"
      depth: 10
    }
    nodes {
      bounds_in_screen {
        left: 512
        top: 522
        right: 638
        bottom: 648
      }
      class_name: "android.widget.ImageView"
      is_clickable: true
      is_focusable: true
      depth: 10
    }
    nodes {
      bounds_in_screen {
        left: 633
        top: 559
        right: 920
        bottom: 610
      }
      class_name: "android.widget.TextView"
      text: "₹ 0.0 K - ₹ 70.0 K"
      depth: 10
    }
    nodes {
      bounds_in_screen {
        left: 920
        top: 522
        right: 1046
        bottom: 648
      }
      class_name: "android.widget.ImageView"
      is_clickable: true
      is_focusable: true
      depth: 10
    }
    nodes {
      bounds_in_screen {
        left: 72
        top: 784
        right: 198
        bottom: 910
      }
      class_name: "android.view.View"
      is_clickable: true
      is_focusable: true
      depth: 10
    }
    nodes {
      bounds_in_screen {
        left: 243
        top: 784
        right: 369
        bottom: 910
      }
      class_name: "android.view.View"
      is_clickable: true
      is_focusable: true
      depth: 10
    }
    nodes {
      bounds_in_screen {
        left: 446
        top: 784
        right: 624
        bottom: 910
      }
      class_name: "android.view.View"
      is_clickable: true
      is_focusable: true
      depth: 10
    }
    nodes {
      bounds_in_screen {
        left: 729
        top: 784
        right: 921
        bottom: 910
      }
      class_name: "android.view.View"
      is_clickable: true
      is_focusable: true
      depth: 10
    }
    nodes {
      bounds_in_screen {
        left: 63
        top: 1032
        right: 326
        bottom: 1158
      }
      class_name: "android.view.View"
      is_clickable: true
      is_focusable: true
      depth: 10
    }
    nodes {
      bounds_in_screen {
        left: 347
        top: 1073
        right: 560
        bottom: 1117
      }
      class_name: "android.widget.TextView"
      text: "Thiruvanmiyur"
      depth: 10
    }
    nodes {
      bounds_in_screen {
        left: 560
        top: 1033
        right: 686
        bottom: 1159
      }
      class_name: "android.widget.ImageView"
      content_description: "remove item"
      is_clickable: true
      is_focusable: true
      depth: 10
    }
    nodes {
      bounds_in_screen {
        left: 80
        top: 1281
        right: 206
        bottom: 1407
      }
      class_name: "android.view.View"
      is_clickable: true
      is_focusable: true
      depth: 10
    }
    nodes {
      bounds_in_screen {
        left: 264
        top: 1281
        right: 404
        bottom: 1407
      }
      class_name: "android.view.View"
      is_clickable: true
      is_focusable: true
      depth: 10
    }
    nodes {
      bounds_in_screen {
        left: 467
        top: 1281
        right: 612
        bottom: 1407
      }
      class_name: "android.view.View"
      is_clickable: true
      is_focusable: true
      depth: 10
    }
    nodes {
      bounds_in_screen {
        left: 675
        top: 1281
        right: 821
        bottom: 1407
      }
      class_name: "android.view.View"
      is_clickable: true
      is_focusable: true
      depth: 10
    }
    nodes {
      bounds_in_screen {
        left: 884
        top: 1281
        right: 1050
        bottom: 1407
      }
      class_name: "android.view.View"
      is_clickable: true
      is_focusable: true
      depth: 10
    }
    nodes {
      bounds_in_screen {
        left: 84
        top: 1881
        right: 228
        bottom: 2007
      }
      class_name: "android.view.View"
      is_clickable: true
      is_focusable: true
      depth: 10
    }
    nodes {
      bounds_in_screen {
        left: 291
        top: 1881
        right: 442
        bottom: 2007
      }
      class_name: "android.view.View"
      is_clickable: true
      is_focusable: true
      depth: 10
    }
    nodes {
      bounds_in_screen {
        left: 505
        top: 1881
        right: 815
        bottom: 2007
      }
      class_name: "android.view.View"
      is_clickable: true
      is_focusable: true
      depth: 10
    }
    nodes {
      bounds_in_screen {
        left: 105
        top: 828
        right: 165
        bottom: 866
      }
      class_name: "android.widget.TextView"
      text: "Buy"
      depth: 11
    }
    nodes {
      bounds_in_screen {
        left: 270
        top: 828
        right: 341
        bottom: 866
      }
      class_name: "android.widget.TextView"
      text: "Rent"
      depth: 11
    }
    nodes {
      bounds_in_screen {
        left: 446
        top: 828
        right: 624
        bottom: 866
      }
      class_name: "android.widget.TextView"
      text: "Commercial"
      depth: 11
    }
    nodes {
      bounds_in_screen {
        left: 729
        top: 828
        right: 921
        bottom: 866
      }
      class_name: "android.widget.TextView"
      text: "PG/Co-living"
      depth: 11
    }
    nodes {
      bounds_in_screen {
        left: 98
        top: 1072
        right: 291
        bottom: 1117
      }
      class_name: "android.widget.TextView"
      text: "+ Add More"
      depth: 11
    }
    nodes {
      bounds_in_screen {
        left: 137
        top: 1325
        right: 201
        bottom: 1363
      }
      class_name: "android.widget.TextView"
      text: "1 RK"
      depth: 11
    }
    nodes {
      bounds_in_screen {
        left: 317
        top: 1325
        right: 404
        bottom: 1363
      }
      class_name: "android.widget.TextView"
      text: "1 BHK"
      depth: 11
    }
    nodes {
      bounds_in_screen {
        left: 467
        top: 1323
        right: 509
        bottom: 1365
      }
      class_name: "android.view.View"
      depth: 11
    }
    nodes {
      bounds_in_screen {
        left: 520
        top: 1325
        right: 612
        bottom: 1363
      }
      class_name: "android.widget.TextView"
      text: "2 BHK"
      depth: 11
    }
    nodes {
      bounds_in_screen {
        left: 728
        top: 1325
        right: 821
        bottom: 1363
      }
      class_name: "android.widget.TextView"
      text: "3 BHK"
      depth: 11
    }
    nodes {
      bounds_in_screen {
        left: 937
        top: 1325
        right: 1050
        bottom: 1363
      }
      class_name: "android.widget.TextView"
      text: "3+ BHK"
      depth: 11
    }
    nodes {
      bounds_in_screen {
        left: 137
        top: 1925
        right: 228
        bottom: 1963
      }
      class_name: "android.widget.TextView"
      text: "Agent"
      depth: 11
    }
    nodes {
      bounds_in_screen {
        left: 344
        top: 1925
        right: 442
        bottom: 1963
      }
      class_name: "android.widget.TextView"
      text: "Owner"
      depth: 11
    }
    nodes {
      bounds_in_screen {
        left: 558
        top: 1925
        right: 815
        bottom: 1963
      }
      class_name: "android.widget.TextView"
      text: "Expert Pro Agent"
      depth: 11
    }
  }
}

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