instruction
In the Trip.com app, I need to plan the Itinerary for 5 days so I want to add Honolulu, Hawaii for Jan. 24, 2024 to Jan. 29, 2024.
previous_actions
{"name": "click", "parameters": {"x": 45, "y": 195}}
{"name": "scroll", "parameters": {"direction": "up"}}
{"name": "scroll", "parameters": {"direction": "up"}}
{"name": "click", "parameters": {"x": 560, "y": 338}}
{"name": "click", "parameters": {"x": 540, "y": 1266}}
{"name": "click", "parameters": {"x": 540, "y": 565}}
{"name": "input_text", "parameters": {"text": "Honolulu, Hawaii"}}
{"name": "click", "parameters": {"x": 540, "y": 328}}
{"name": "click", "parameters": {"x": 540, "y": 1353}}
{"name": "click", "parameters": {"x": 540, "y": 1100}}
{"name": "scroll", "parameters": {"direction": "down"}}
{"name": "click", "parameters": {"x": 819, "y": 1514}}
{"name": "click", "parameters": {"x": 540, "y": 1292}}
{"name": "click", "parameters": {"x": 548, "y": 1072}}
{"name": "click", "parameters": {"x": 540, "y": 2228}}
{"name": "click", "parameters": {"x": 540, "y": 2139}}
{"name": "click", "parameters": {"x": 540, "y": 2269}}
{"name": "wait", "parameters": {}}
{"name": "scroll", "parameters": {"direction": "down"}}
{"name": "scroll", "parameters": {"direction": "down"}}
{"name": "scroll", "parameters": {"direction": "down"}}
{"name": "scroll", "parameters": {"direction": "down"}}
active_application
Trip.com
screen_description
windows {
  bounds_in_screen {
    right: 1080
    bottom: 136
  }
  id: 657
  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: 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: 537
        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: 537
        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: 247
        bottom: 136
      }
      class_name: "android.widget.TextView"
      content_description: "12:20 PM"
      text: "12:20"
      depth: 7
    }
    nodes {
      bounds_in_screen {
        left: 247
        top: 1
        right: 537
        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: 247
        top: 1
        right: 537
        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 two 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: 247
        top: 1
        right: 305
        bottom: 136
      }
      class_name: "android.widget.ImageView"
      content_description: "Industrybuying notification: "
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 305
        top: 1
        right: 363
        bottom: 136
      }
      class_name: "android.widget.ImageView"
      content_description: "EatClub notification: Hey! How long will you take? :("
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 363
        top: 1
        right: 421
        bottom: 136
      }
      class_name: "android.widget.ImageView"
      content_description: "Heartfulness notification: "
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 421
        top: 1
        right: 479
        bottom: 136
      }
      class_name: "android.widget.ImageView"
      content_description: "Fitify notification: Keep fit"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 479
        top: 1
        right: 537
        bottom: 136
      }
      class_name: "android.widget.ImageView"
      content_description: "AccuWeather notification: "
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 497
        top: 1
        right: 537
        bottom: 136
      }
      class_name: "android.widget.ImageView"
      content_description: "Gmail notification: 2 new messages"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 497
        top: 1
        right: 537
        bottom: 136
      }
      class_name: "android.widget.ImageView"
      content_description: "Gmail notification: 24 new messages"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 497
        top: 1
        right: 537
        bottom: 136
      }
      class_name: "android.widget.ImageView"
      content_description: "All Currency Converter notification: All Currency Converter"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 497
        top: 1
        right: 537
        bottom: 136
      }
      class_name: "android.widget.ImageView"
      content_description: "Fitness Coach notification: "
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 497
        top: 1
        right: 537
        bottom: 136
      }
      class_name: "android.widget.ImageView"
      content_description: "FirstCry notification: Min. 40%- 60% OFF➕Extra 10% OFF too!"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 497
        top: 1
        right: 537
        bottom: 136
      }
      class_name: "android.widget.ImageView"
      content_description: "OYO notification: Guest, exclusive savings on your stay🤑🔐"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 497
        top: 1
        right: 537
        bottom: 136
      }
      class_name: "android.widget.ImageView"
      content_description: "Daily Yoga notification: "
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 497
        top: 1
        right: 537
        bottom: 136
      }
      class_name: "android.widget.ImageView"
      content_description: "H&M notification: RAYE x H&M Move"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 497
        top: 1
        right: 537
        bottom: 136
      }
      class_name: "android.widget.ImageView"
      content_description: "Sportspar notification: GIRLS WATCH OUT! 😱"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 497
        top: 1
        right: 537
        bottom: 136
      }
      class_name: "android.widget.ImageView"
      content_description: "FirstCry notification: Mix & Match Mania!👗👕Flat 65% OFF"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 497
        top: 1
        right: 537
        bottom: 136
      }
      class_name: "android.widget.ImageView"
      content_description: "Meesho notification: "
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 497
        top: 1
        right: 537
        bottom: 136
      }
      class_name: "android.widget.ImageView"
      content_description: "Pantaloons notification: "
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 497
        top: 1
        right: 537
        bottom: 136
      }
      class_name: "android.widget.ImageView"
      content_description: "Sun & Sand Sports notification: "
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 497
        top: 1
        right: 537
        bottom: 136
      }
      class_name: "android.widget.ImageView"
      content_description: "Massimo Dutti notification: Further discounts on our selection in store and online now. Check them out!"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 497
        top: 1
        right: 537
        bottom: 136
      }
      class_name: "android.widget.ImageView"
      content_description: "UNIQLO notification: "
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 497
        top: 1
        right: 537
        bottom: 136
      }
      class_name: "android.widget.ImageView"
      content_description: "FirstCry notification: Flat 50% OFF🕘9 O\'clock Sale"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 497
        top: 1
        right: 537
        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: 497
        top: 1
        right: 537
        bottom: 136
      }
      class_name: "android.widget.ImageView"
      content_description: "Balance notification: "
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 497
        top: 1
        right: 537
        bottom: 136
      }
      class_name: "android.widget.ImageView"
      content_description: "Aura notification: "
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 497
        top: 1
        right: 537
        bottom: 136
      }
      class_name: "android.widget.ImageView"
      content_description: "Calm notification: Mindfulness Reminder"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 497
        top: 1
        right: 537
        bottom: 136
      }
      class_name: "android.widget.ImageView"
      content_description: "Myntra notification: 50-80% Off is LIVE! 💃🤩"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 497
        top: 1
        right: 537
        bottom: 136
      }
      class_name: "android.widget.ImageView"
      content_description: "The Weather Channel notification: Daily Forecast"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 497
        top: 1
        right: 537
        bottom: 136
      }
      class_name: "android.widget.ImageView"
      content_description: "Idanim notification: Hurry!"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 497
        top: 1
        right: 537
        bottom: 136
      }
      class_name: "android.widget.ImageView"
      content_description: "FirstCry notification: How to Protect👶\'s Skin & Balance pH 5.5"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 497
        top: 1
        right: 537
        bottom: 136
      }
      class_name: "android.widget.ImageView"
      content_description: "Flipkart notification: ☝️ Day to Go for Republic Day Sale 🇮🇳"
      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: 954
  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 {
        right: 1
        bottom: 1
      }
      class_name: "android.widget.FrameLayout"
      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.LinearLayout"
      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 {
        right: 1080
        bottom: 2337
      }
      class_name: "android.widget.FrameLayout"
      is_focusable: true
      depth: 6
    }
    nodes {
      bounds_in_screen {
        right: 1080
        bottom: 2337
      }
      class_name: "android.view.View"
      depth: 7
    }
    nodes {
      bounds_in_screen {
        right: 1080
        bottom: 2337
      }
      class_name: "android.view.View"
      depth: 8
    }
    nodes {
      bounds_in_screen {
        right: 1080
        bottom: 2337
      }
      class_name: "android.view.View"
      depth: 8
    }
    nodes {
      bounds_in_screen {
        right: 1080
        bottom: 2337
      }
      class_name: "android.view.View"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        right: 1080
        bottom: 2337
      }
      class_name: "android.view.View"
      depth: 10
    }
    nodes {
      bounds_in_screen {
        right: 1080
        bottom: 2337
      }
      class_name: "android.view.View"
      depth: 11
    }
    nodes {
      bounds_in_screen {
        right: 1080
        bottom: 2337
      }
      class_name: "android.view.View"
      depth: 12
    }
    nodes {
      bounds_in_screen {
        right: 1080
        bottom: 396
      }
      class_name: "android.view.View"
      depth: 13
    }
    nodes {
      bounds_in_screen {
        right: 1080
        bottom: 2337
      }
      class_name: "android.widget.ScrollView"
      is_scrollable: true
      depth: 13
    }
    nodes {
      bounds_in_screen {
        right: 1080
        bottom: 396
      }
      class_name: "android.view.View"
      depth: 14
    }
    nodes {
      bounds_in_screen {
        right: 1080
        bottom: 396
      }
      class_name: "android.view.View"
      depth: 14
    }
    nodes {
      bounds_in_screen {
        top: 396
        right: 1080
        bottom: 468
      }
      class_name: "android.view.View"
      content_description: "Suggested duration: 0.5-1 day\n1\n/5\nKualoa Ranch\n4.6\n/5\n320 reviews\nKualoa Ranch, located on the island of Oahu, Hawaii, is a very famous attraction. It was originally a traditional cattle ranch and run by a local family. The scenery here is beautiful and diverse, from steep cliffs to sparkling seas, from dense tropical rainforests to open valleys, from beautiful white sand beaches to emerald green cliff faces. Kualoa Ranch has been the setting for numerous television shows and Hollywood movies, including Jurassic Park, Windtalkers, Pearl Harbor, Godzilla, Lost, Godzilla and Heaven\'s Enforcer. There are also a variety of tourism experiences and activities for tourists to learn about Hawaiian culture and ranch history.△ Visit many Hollywood movie filming locations△ Enjoy the beautiful scenery of the entire ranch△ Explore more thrilling rides"
      is_clickable: true
      is_focusable: true
      is_scrollable: true
      depth: 14
    }
    nodes {
      bounds_in_screen {
        top: 468
        right: 1080
        bottom: 605
      }
      class_name: "android.view.View"
      content_description: "Add Attractions"
      is_clickable: true
      is_focusable: true
      depth: 14
    }
    nodes {
      bounds_in_screen {
        left: 32
        top: 644
        right: 273
        bottom: 691
      }
      class_name: "android.view.View"
      content_description: "Sun, Jan 28"
      is_focusable: true
      depth: 14
    }
    nodes {
      bounds_in_screen {
        left: 284
        top: 648
        right: 441
        bottom: 687
      }
      class_name: "android.view.View"
      content_description: "Honolulu"
      is_focusable: true
      depth: 14
    }
    nodes {
      bounds_in_screen {
        left: 983
        top: 644
        right: 1080
        bottom: 689
      }
      class_name: "android.view.View"
      is_clickable: true
      is_focusable: true
      depth: 14
    }
    nodes {
      bounds_in_screen {
        top: 714
        right: 1080
        bottom: 1653
      }
      class_name: "android.view.View"
      content_description: "Suggested duration: 1-2 hour\nRock-A-Hula\n5.0\n/5\n1 review\nBrand new Waikiki\'s Biggest Show features a \"Hawaiian Journey\" from the 1920s to the current through powerful music and dance performances by artists, hula, fire knife dancers, and amazing musicians in our concert-quality 750-seat premiere theater. After the show, don’t miss Meet&amp;Greet with cast members."
      is_clickable: true
      is_focusable: true
      is_scrollable: true
      depth: 14
    }
    nodes {
      bounds_in_screen {
        top: 1653
        right: 1080
        bottom: 1782
      }
      class_name: "android.widget.ImageView"
      content_description: "10 minutes, 1.32 mi"
      is_clickable: true
      is_focusable: true
      depth: 14
    }
    nodes {
      bounds_in_screen {
        top: 1782
        right: 1080
        bottom: 2337
      }
      class_name: "android.view.View"
      content_description: "Suggested duration: 0.5-1 hour\nFriday Night Fireworks at Hilton Hawaiian Village Waikiki Beach Resort\n5.0\n/5\n4 reviews"
      is_clickable: true
      is_focusable: true
      is_scrollable: true
      depth: 14
    }
    nodes {
      bounds_in_screen {
        top: 136
        right: 147
        bottom: 283
      }
      class_name: "android.view.View"
      is_clickable: true
      is_focusable: true
      depth: 15
    }
    nodes {
      bounds_in_screen {
        left: 726
        top: 136
        right: 844
        bottom: 283
      }
      class_name: "android.view.View"
      is_clickable: true
      is_focusable: true
      depth: 15
    }
    nodes {
      bounds_in_screen {
        left: 844
        top: 136
        right: 962
        bottom: 283
      }
      class_name: "android.view.View"
      is_clickable: true
      is_focusable: true
      depth: 15
    }
    nodes {
      bounds_in_screen {
        left: 962
        top: 136
        right: 1080
        bottom: 283
      }
      class_name: "android.view.View"
      is_clickable: true
      is_focusable: true
      depth: 15
    }
    nodes {
      bounds_in_screen {
        top: 283
        right: 954
        bottom: 396
      }
      class_name: "android.view.View"
      depth: 15
    }
    nodes {
      bounds_in_screen {
        left: 954
        top: 316
        right: 1080
        bottom: 363
      }
      class_name: "android.view.View"
      is_clickable: true
      is_focusable: true
      depth: 15
    }
    nodes {
      bounds_in_screen {
        right: 1080
        bottom: 396
      }
      class_name: "android.view.View"
      content_description: "5-day itinerary to Honolulu\nJan 24–Jan 28 (5 days)\n10 attractions"
      is_focusable: true
      depth: 15
    }
    nodes {
      bounds_in_screen {
        left: 113
        top: -472
        right: 1049
        bottom: 1
      }
      class_name: "android.view.View"
      depth: 15
    }
    nodes {
      bounds_in_screen {
        left: 770
        top: 396
        right: 1028
        bottom: 426
      }
      class_name: "android.view.View"
      content_description: "Show More"
      is_clickable: true
      is_focusable: true
      depth: 15
    }
    nodes {
      bounds_in_screen {
        left: 113
        top: 714
        right: 1049
        bottom: 1186
      }
      class_name: "android.view.View"
      depth: 15
    }
    nodes {
      bounds_in_screen {
        left: 770
        top: 1546
        right: 1028
        bottom: 1611
      }
      class_name: "android.view.View"
      content_description: "Show More"
      is_clickable: true
      is_focusable: true
      depth: 15
    }
    nodes {
      bounds_in_screen {
        left: 113
        top: 1782
        right: 1049
        bottom: 2254
      }
      class_name: "android.view.View"
      depth: 15
    }
    nodes {
      bounds_in_screen {
        top: 283
        right: 186
        bottom: 396
      }
      class_name: "android.view.View"
      content_description: "Jan 24\nTab 1 of 5"
      is_clickable: true
      is_focusable: true
      depth: 16
    }
    nodes {
      bounds_in_screen {
        left: 186
        top: 283
        right: 373
        bottom: 396
      }
      class_name: "android.view.View"
      content_description: "Jan 25\nTab 2 of 5"
      is_clickable: true
      is_focusable: true
      depth: 16
    }
    nodes {
      bounds_in_screen {
        left: 373
        top: 283
        right: 559
        bottom: 396
      }
      class_name: "android.view.View"
      content_description: "Jan 26\nTab 3 of 5"
      is_clickable: true
      is_focusable: true
      depth: 16
    }
    nodes {
      bounds_in_screen {
        left: 559
        top: 283
        right: 743
        bottom: 396
      }
      class_name: "android.view.View"
      content_description: "Jan 27\nTab 4 of 5"
      is_clickable: true
      is_focusable: true
      depth: 16
    }
    nodes {
      bounds_in_screen {
        left: 743
        top: 283
        right: 929
        bottom: 396
      }
      class_name: "android.view.View"
      content_description: "Jan 28\nTab 5 of 5"
      is_clickable: true
      is_focusable: true
      is_selected: true
      depth: 16
    }
    nodes {
      bounds_in_screen {
        top: 35
        right: 491
        bottom: 172
      }
      class_name: "android.widget.ImageView"
      content_description: "Map View"
      is_clickable: true
      is_focusable: true
      depth: 16
    }
    nodes {
      bounds_in_screen {
        right: 1080
        bottom: 396
      }
      class_name: "android.widget.ImageView"
      depth: 16
    }
    nodes {
      bounds_in_screen {
        left: 113
        top: 714
        right: 1049
        bottom: 1186
      }
      class_name: "android.view.View"
      depth: 16
    }
    nodes {
      bounds_in_screen {
        left: 113
        top: 1782
        right: 1049
        bottom: 2254
      }
      class_name: "android.view.View"
      depth: 16
    }
    nodes {
      bounds_in_screen {
        left: 113
        top: 714
        right: 1049
        bottom: 1186
      }
      class_name: "android.widget.ImageView"
      depth: 17
    }
    nodes {
      bounds_in_screen {
        left: 113
        top: 1782
        right: 1049
        bottom: 2254
      }
      class_name: "android.widget.ImageView"
      depth: 17
    }
  }
}

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