instruction
I am planning to buy a new house with 2+ bedrooms, so on the Realtor.com app, search for the house for me in Toronto, and the maximum price should be $800,000.
previous_actions
{"name": "open_app", "parameters": {"app_name": "realtor.com"}}
{"name": "click", "parameters": {"x": 540, "y": 1236}}
{"name": "input_text", "parameters": {"text": "Toronto"}}
{"name": "click", "parameters": {"x": 540, "y": 1236}}
{"name": "wait", "parameters": {}}
{"name": "click", "parameters": {"x": 415, "y": 391}}
{"name": "click", "parameters": {"x": 795, "y": 1248}}
{"name": "input_text", "parameters": {"text": "800000"}}
{"name": "click", "parameters": {"x": 540, "y": 1448}}
{"name": "click", "parameters": {"x": 785, "y": 391}}
active_application
screen_description
windows {
  bounds_in_screen {
    right: 1080
    bottom: 136
  }
  id: 6
  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: 438
        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: 47
        top: 1
        right: 438
        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: 47
        top: 1
        right: 148
        bottom: 136
      }
      class_name: "android.widget.TextView"
      content_description: "11:00 PM"
      text: "11:00"
      depth: 7
    }
    nodes {
      bounds_in_screen {
        left: 148
        top: 1
        right: 438
        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, 100 percent."
      depth: 7
    }
    nodes {
      bounds_in_screen {
        left: 148
        top: 1
        right: 438
        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 three bars."
      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: 148
        top: 1
        right: 206
        bottom: 136
      }
      class_name: "android.widget.ImageView"
      content_description: "Snapchat notification: Sabana Bibi: Sabana Bibi"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 206
        top: 1
        right: 264
        bottom: 136
      }
      class_name: "android.widget.ImageView"
      content_description: "Bewakoof notification: Sliders start at Rs.349"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 264
        top: 1
        right: 322
        bottom: 136
      }
      class_name: "android.widget.ImageView"
      content_description: "JioMart notification: "
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 322
        top: 1
        right: 380
        bottom: 136
      }
      class_name: "android.widget.ImageView"
      content_description: "MX Player notification: "
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 380
        top: 1
        right: 438
        bottom: 136
      }
      class_name: "android.widget.ImageView"
      content_description: "MyGlamm notification: "
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 398
        top: 1
        right: 438
        bottom: 136
      }
      class_name: "android.widget.ImageView"
      content_description: "Limeroad notification: "
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 398
        top: 1
        right: 438
        bottom: 136
      }
      class_name: "android.widget.ImageView"
      content_description: "Shopsy notification: "
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 398
        top: 1
        right: 438
        bottom: 136
      }
      class_name: "android.widget.ImageView"
      content_description: "Indian Recipes notification: Unlock premium 🔓"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 398
        top: 1
        right: 438
        bottom: 136
      }
      class_name: "android.widget.ImageView"
      content_description: "Tasty notification: "
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 398
        top: 1
        right: 438
        bottom: 136
      }
      class_name: "android.widget.ImageView"
      content_description: "Mylo notification: Purple stretch marks during pregnancy🤰"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 398
        top: 1
        right: 438
        bottom: 136
      }
      class_name: "android.widget.ImageView"
      content_description: "Lazada notification: 🏷️ Spesial Edition!"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 398
        top: 1
        right: 438
        bottom: 136
      }
      class_name: "android.widget.ImageView"
      content_description: "Lazada notification: 🛑 DICARI : umpan poper"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 398
        top: 1
        right: 438
        bottom: 136
      }
      class_name: "android.widget.ImageView"
      content_description: "Flipkart notification: "
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 398
        top: 1
        right: 438
        bottom: 136
      }
      class_name: "android.widget.ImageView"
      content_description: "CityMall notification: "
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 398
        top: 1
        right: 438
        bottom: 136
      }
      class_name: "android.widget.ImageView"
      content_description: "Lazada notification: "
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 398
        top: 1
        right: 438
        bottom: 136
      }
      class_name: "android.widget.ImageView"
      content_description: "Snapdeal notification: "
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 398
        top: 1
        right: 438
        bottom: 136
      }
      class_name: "android.widget.ImageView"
      content_description: "Tripadvisor notification: Don\'t miss out on Lunar Cove Inn, Charters and Tours"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 398
        top: 1
        right: 438
        bottom: 136
      }
      class_name: "android.widget.ImageView"
      content_description: "FirstCry notification: Your Baby\'s Teething Tracker is HERE!😬"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 398
        top: 1
        right: 438
        bottom: 136
      }
      class_name: "android.widget.ImageView"
      content_description: "NykaaFashion notification: "
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 398
        top: 1
        right: 438
        bottom: 136
      }
      class_name: "android.widget.ImageView"
      content_description: "FirstCry notification: Tuesday? Choose-day😍It\'s 65% OFF"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 398
        top: 1
        right: 438
        bottom: 136
      }
      class_name: "android.widget.ImageView"
      content_description: "Meesho notification: "
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 398
        top: 1
        right: 438
        bottom: 136
      }
      class_name: "android.widget.ImageView"
      content_description: "Nykaaman notification: "
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 398
        top: 1
        right: 438
        bottom: 136
      }
      class_name: "android.widget.ImageView"
      content_description: "Confirmtkt notification: Crazy Discounts on Flights ✈️"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 398
        top: 1
        right: 438
        bottom: 136
      }
      class_name: "android.widget.ImageView"
      content_description: "FirstCry notification: Craziest Festive Deal😍It\'s 70% OFF"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 398
        top: 1
        right: 438
        bottom: 136
      }
      class_name: "android.widget.ImageView"
      content_description: "ZARA notification: Zara"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 398
        top: 1
        right: 438
        bottom: 136
      }
      class_name: "android.widget.ImageView"
      content_description: "Learn dance notification: "
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 398
        top: 1
        right: 438
        bottom: 136
      }
      class_name: "android.widget.ImageView"
      content_description: "Gmail notification: MyFitnessPal"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 398
        top: 1
        right: 438
        bottom: 136
      }
      class_name: "android.widget.ImageView"
      content_description: "FirstCry notification: Season\'s Best Deal💥FLAT 75% OFF!"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 398
        top: 1
        right: 438
        bottom: 136
      }
      class_name: "android.widget.ImageView"
      content_description: "Fitify notification: "
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 398
        top: 1
        right: 438
        bottom: 136
      }
      class_name: "android.widget.ImageView"
      content_description: "Ubuy notification: "
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 398
        top: 1
        right: 438
        bottom: 136
      }
      class_name: "android.widget.ImageView"
      content_description: "Babychakra notification: "
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 398
        top: 1
        right: 438
        bottom: 136
      }
      class_name: "android.widget.ImageView"
      content_description: "FirstCry notification: Discounts💰65% OFF, 55% OFF, 45% OFF"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 398
        top: 1
        right: 438
        bottom: 136
      }
      class_name: "android.widget.ImageView"
      content_description: "Mylo notification: 😊Has your baby 👶arrived?"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 398
        top: 1
        right: 438
        bottom: 136
      }
      class_name: "android.widget.ImageView"
      content_description: "MyFitnessPal notification: "
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 398
        top: 1
        right: 438
        bottom: 136
      }
      class_name: "android.widget.ImageView"
      content_description: "FirstCry notification: Your BABY👶 is Growing Everyday📈"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 398
        top: 1
        right: 438
        bottom: 136
      }
      class_name: "android.widget.ImageView"
      content_description: "FirstCry notification: 1, 2, 3...5 Styles @ Flat 65% OFF🤩"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 398
        top: 1
        right: 438
        bottom: 136
      }
      class_name: "android.widget.ImageView"
      content_description: "FirstCry notification: Snip Snip✂️We cut your bill in Half!"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 398
        top: 1
        right: 438
        bottom: 136
      }
      class_name: "android.widget.ImageView"
      content_description: "System update notification: Get Android 14 now.\r\nMore personal, protective, and accessible.\r"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 398
        top: 1
        right: 438
        bottom: 136
      }
      class_name: "android.widget.ImageView"
      content_description: "Rappi notification: "
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 398
        top: 1
        right: 438
        bottom: 136
      }
      class_name: "android.widget.ImageView"
      content_description: "Myntra notification: "
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 398
        top: 1
        right: 438
        bottom: 136
      }
      class_name: "android.widget.ImageView"
      content_description: "Gmail notification: 3 new messages"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 398
        top: 1
        right: 438
        bottom: 136
      }
      class_name: "android.widget.ImageView"
      content_description: "FirstCry notification: Diapers @ Upto 60% OFF➕Extra 10% OFF"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 398
        top: 1
        right: 438
        bottom: 136
      }
      class_name: "android.widget.ImageView"
      content_description: "Google notification: Tomorrow in New Delhi: Mostly cloudy"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 398
        top: 1
        right: 438
        bottom: 136
      }
      class_name: "android.widget.ImageView"
      content_description: "FirstCry notification: FLAT 50% OFF, Expires in👉"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 398
        top: 1
        right: 438
        bottom: 136
      }
      class_name: "android.widget.ImageView"
      content_description: "Men Fashion - Only The Finest notification: "
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 398
        top: 1
        right: 438
        bottom: 136
      }
      class_name: "android.widget.ImageView"
      content_description: "MeetMe notification: Chat with Ajay chuhan!"
      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: 1635
  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 {
        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.FrameLayout"
      depth: 5
    }
    nodes {
      bounds_in_screen {
        top: 136
        right: 1080
        bottom: 2337
      }
      class_name: "android.view.ViewGroup"
      depth: 6
    }
    nodes {
      bounds_in_screen {
        top: 136
        right: 1080
        bottom: 2337
      }
      class_name: "android.view.View"
      is_clickable: true
      is_focusable: true
      depth: 7
    }
    nodes {
      bounds_in_screen {
        top: 1416
        right: 1080
        bottom: 2337
      }
      class_name: "android.widget.FrameLayout"
      depth: 7
    }
    nodes {
      bounds_in_screen {
        top: 1416
        right: 1080
        bottom: 2337
      }
      class_name: "android.widget.ScrollView"
      is_focusable: true
      depth: 8
    }
    nodes {
      bounds_in_screen {
        top: 1416
        right: 1080
        bottom: 2337
      }
      class_name: "android.view.ViewGroup"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 53
        top: 1469
        right: 389
        bottom: 1555
      }
      class_name: "android.widget.TextView"
      content_description: "Select the number of bedrooms. Tap two numbers to select a range, or tap a number twice for a single selection"
      text: "Bed / Bath"
      is_focusable: true
      depth: 10
    }
    nodes {
      bounds_in_screen {
        left: 943
        top: 1484
        right: 1012
        bottom: 1553
      }
      class_name: "android.widget.ImageView"
      content_description: "Close the filter screen"
      is_clickable: true
      is_focusable: true
      depth: 10
    }
    nodes {
      bounds_in_screen {
        left: 53
        top: 1597
        right: 1080
        bottom: 1654
      }
      class_name: "android.widget.TextView"
      content_description: "Select the number of bathrooms."
      text: "Bedrooms"
      is_focusable: true
      depth: 10
    }
    nodes {
      bounds_in_screen {
        top: 1654
        right: 1080
        bottom: 1822
      }
      class_name: "android.widget.ScrollView"
      is_focusable: true
      depth: 10
    }
    nodes {
      bounds_in_screen {
        left: 53
        top: 1875
        right: 1080
        bottom: 1932
      }
      class_name: "android.widget.TextView"
      content_description: "Select the number of bathrooms."
      text: "Bathrooms"
      is_focusable: true
      depth: 10
    }
    nodes {
      bounds_in_screen {
        top: 1932
        right: 1080
        bottom: 2158
      }
      class_name: "android.widget.ScrollView"
      is_focusable: true
      depth: 10
    }
    nodes {
      bounds_in_screen {
        top: 2158
        right: 1080
        bottom: 2337
      }
      class_name: "android.widget.RelativeLayout"
      depth: 10
    }
    nodes {
      bounds_in_screen {
        top: 1696
        right: 1080
        bottom: 1822
      }
      class_name: "android.widget.HorizontalScrollView"
      is_focusable: true
      is_scrollable: true
      depth: 11
    }
    nodes {
      bounds_in_screen {
        top: 1932
        right: 1080
        bottom: 2158
      }
      class_name: "android.widget.HorizontalScrollView"
      is_focusable: true
      depth: 11
    }
    nodes {
      bounds_in_screen {
        left: 53
        top: 2158
        right: 1027
        bottom: 2284
      }
      class_name: "android.widget.Button"
      text: "See 26 homes"
      is_clickable: true
      is_focusable: true
      depth: 11
    }
    nodes {
      bounds_in_screen {
        top: 1696
        right: 1080
        bottom: 1822
      }
      class_name: "android.view.View"
      is_focusable: true
      depth: 12
    }
    nodes {
      bounds_in_screen {
        top: 1974
        right: 967
        bottom: 2116
      }
      class_name: "android.view.View"
      is_focusable: true
      depth: 12
    }
    nodes {
      bounds_in_screen {
        top: 1696
        right: 256
        bottom: 1822
      }
      class_name: "FancyWidthExtendableRadioView"
      content_description: "Any"
      is_focusable: true
      depth: 13
    }
    nodes {
      bounds_in_screen {
        left: 137
        top: 1696
        right: 486
        bottom: 1822
      }
      class_name: "FancyWidthExtendableRadioView"
      content_description: "Studio+"
      is_focusable: true
      depth: 13
    }
    nodes {
      bounds_in_screen {
        left: 385
        top: 1696
        right: 629
        bottom: 1822
      }
      class_name: "FancyWidthExtendableRadioView"
      content_description: "1+"
      is_focusable: true
      depth: 13
    }
    nodes {
      bounds_in_screen {
        left: 529
        top: 1696
        right: 779
        bottom: 1822
      }
      class_name: "FancyWidthExtendableRadioView"
      content_description: "2+"
      is_focusable: true
      depth: 13
    }
    nodes {
      bounds_in_screen {
        left: 674
        top: 1696
        right: 927
        bottom: 1822
      }
      class_name: "FancyWidthExtendableRadioView"
      content_description: "3+"
      is_focusable: true
      depth: 13
    }
    nodes {
      bounds_in_screen {
        left: 821
        top: 1696
        right: 1075
        bottom: 1822
      }
      class_name: "FancyWidthExtendableRadioView"
      content_description: "4+"
      is_focusable: true
      depth: 13
    }
    nodes {
      bounds_in_screen {
        left: 969
        top: 1696
        right: 1080
        bottom: 1822
      }
      class_name: "FancyWidthExtendableRadioView"
      content_description: "5+"
      is_focusable: true
      depth: 13
    }
    nodes {
      bounds_in_screen {
        top: 1974
        right: 264
        bottom: 2116
      }
      class_name: "FancyWidthExtendableRadioView"
      content_description: "Any"
      is_focusable: true
      depth: 13
    }
    nodes {
      bounds_in_screen {
        left: 133
        top: 1974
        right: 393
        bottom: 2116
      }
      class_name: "FancyWidthExtendableRadioView"
      content_description: "1+"
      is_focusable: true
      depth: 13
    }
    nodes {
      bounds_in_screen {
        left: 277
        top: 1974
        right: 543
        bottom: 2116
      }
      class_name: "FancyWidthExtendableRadioView"
      content_description: "2+"
      is_focusable: true
      depth: 13
    }
    nodes {
      bounds_in_screen {
        left: 422
        top: 1974
        right: 691
        bottom: 2116
      }
      class_name: "FancyWidthExtendableRadioView"
      content_description: "3+"
      is_focusable: true
      depth: 13
    }
    nodes {
      bounds_in_screen {
        left: 569
        top: 1974
        right: 839
        bottom: 2116
      }
      class_name: "FancyWidthExtendableRadioView"
      content_description: "4+"
      is_focusable: true
      depth: 13
    }
    nodes {
      bounds_in_screen {
        left: 717
        top: 1974
        right: 967
        bottom: 2116
      }
      class_name: "FancyWidthExtendableRadioView"
      content_description: "5+"
      is_focusable: true
      depth: 13
    }
  }
}

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