instruction
In the mindfulness app, I would like to create a 12-minute personalized meditation for me, featuring a 2-minute bell interval.
previous_actions
{"name": "click", "parameters": {"x": 108, "y": 2271}}
{"name": "click", "parameters": {"x": 959, "y": 1143}}
{"name": "scroll", "parameters": {"direction": "down"}}
{"name": "scroll", "parameters": {"direction": "down"}}
active_application
Mindfulness App
screen_description
windows {
  bounds_in_screen {
    right: 1080
    bottom: 136
  }
  id: 5
  layer: 1
  window_type: TYPE_SYSTEM
  tree {
    nodes {
      bounds_in_screen {
        right: 1080
        bottom: 136
      }
      class_name: "android.widget.FrameLayout"
    }
    nodes {
      bounds_in_screen {
        right: 1080
        bottom: 136
      }
      class_name: "android.widget.FrameLayout"
      depth: 1
    }
    nodes {
      bounds_in_screen {
        right: 1080
        bottom: 136
      }
      class_name: "android.widget.FrameLayout"
      depth: 1
    }
    nodes {
      bounds_in_screen {
        right: 1080
        bottom: 136
      }
      class_name: "android.widget.FrameLayout"
      depth: 1
    }
    nodes {
      bounds_in_screen {
        right: 1080
        bottom: 136
      }
      class_name: "android.widget.FrameLayout"
      depth: 2
    }
    nodes {
      bounds_in_screen {
        left: 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: 513
        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: 513
        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: 223
        bottom: 136
      }
      class_name: "android.widget.TextView"
      content_description: "1:02 PM"
      text: "1:02"
      depth: 7
    }
    nodes {
      bounds_in_screen {
        left: 223
        top: 1
        right: 513
        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: 223
        top: 1
        right: 513
        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: 223
        top: 1
        right: 281
        bottom: 136
      }
      class_name: "android.widget.ImageView"
      content_description: "TeraBox notification: "
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 281
        top: 1
        right: 339
        bottom: 136
      }
      class_name: "android.widget.ImageView"
      content_description: "Fitness Coach notification: "
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 339
        top: 1
        right: 397
        bottom: 136
      }
      class_name: "android.widget.ImageView"
      content_description: "AccuWeather notification: "
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 397
        top: 1
        right: 455
        bottom: 136
      }
      class_name: "android.widget.ImageView"
      content_description: "Sport clothes notification: Offer of the Day.🔥🔥🔥"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 455
        top: 1
        right: 513
        bottom: 136
      }
      class_name: "android.widget.ImageView"
      content_description: "Flipkart notification: "
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 473
        top: 1
        right: 513
        bottom: 136
      }
      class_name: "android.widget.ImageView"
      content_description: "UNIQLO notification: "
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 473
        top: 1
        right: 513
        bottom: 136
      }
      class_name: "android.widget.ImageView"
      content_description: "H&M notification: Free shipping on all orders 📦"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 473
        top: 1
        right: 513
        bottom: 136
      }
      class_name: "android.widget.ImageView"
      content_description: "Sportspar notification: "
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 473
        top: 1
        right: 513
        bottom: 136
      }
      class_name: "android.widget.ImageView"
      content_description: "YouTube notification: Enchanting Forest Music | Magical flute Sounds & Natural Scenery Captivates Your Mind & Spirit, Body"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 473
        top: 1
        right: 513
        bottom: 136
      }
      class_name: "android.widget.ImageView"
      content_description: "YouTube notification: Did you know Joel McHale voices The Scientist in Fortnite? #fortnite #fortniteog #madden #gaming"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 473
        top: 1
        right: 513
        bottom: 136
      }
      class_name: "android.widget.ImageView"
      content_description: "Android System notification: 27 unused apps"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 473
        top: 1
        right: 513
        bottom: 136
      }
      class_name: "android.widget.ImageView"
      content_description: "Kindle notification: Tom Lake: A Reese\'s Book Club Pick"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 473
        top: 1
        right: 513
        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: 473
        top: 1
        right: 513
        bottom: 136
      }
      class_name: "android.widget.ImageView"
      content_description: "FirstCry notification: 📣Your Order is FREE @ 3 PM!"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 473
        top: 1
        right: 513
        bottom: 136
      }
      class_name: "android.widget.ImageView"
      content_description: "Nike notification: "
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 473
        top: 1
        right: 513
        bottom: 136
      }
      class_name: "android.widget.ImageView"
      content_description: "FirstCry notification: Diapers @ Upto 60% OFF➕Extra 5% OFF"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 473
        top: 1
        right: 513
        bottom: 136
      }
      class_name: "android.widget.ImageView"
      content_description: "MANGO notification: "
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 473
        top: 1
        right: 513
        bottom: 136
      }
      class_name: "android.widget.ImageView"
      content_description: "Meesho notification: "
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 473
        top: 1
        right: 513
        bottom: 136
      }
      class_name: "android.widget.ImageView"
      content_description: "FirstCry notification: The FOMO Sale🏃‍♀️9 PM - 12 AM"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 473
        top: 1
        right: 513
        bottom: 136
      }
      class_name: "android.widget.ImageView"
      content_description: "FirstCry notification: Your BABY👶 is Growing Everyday📈"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 473
        top: 1
        right: 513
        bottom: 136
      }
      class_name: "android.widget.ImageView"
      content_description: "FirstCry notification: 🏃🏃‍♀️🏃‍♂️🏃‍♀️Everyone is rushing..."
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 473
        top: 1
        right: 513
        bottom: 136
      }
      class_name: "android.widget.ImageView"
      content_description: "Myntra notification: Deal line-up of the day!"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 473
        top: 1
        right: 513
        bottom: 136
      }
      class_name: "android.widget.ImageView"
      content_description: "FirstCry notification: Discount Truck🚛Wheels are rolling"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 473
        top: 1
        right: 513
        bottom: 136
      }
      class_name: "android.widget.ImageView"
      content_description: "FirstCry notification: OMG: Outfit Must-Grab @ 60% OFF!🤩"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 473
        top: 1
        right: 513
        bottom: 136
      }
      class_name: "android.widget.ImageView"
      content_description: "FirstCry notification: Flat 50% OFF ⏰ Valid till Midnight"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 473
        top: 1
        right: 513
        bottom: 136
      }
      class_name: "android.widget.ImageView"
      content_description: "eBay notification: Just for you: Football Gloves"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 473
        top: 1
        right: 513
        bottom: 136
      }
      class_name: "android.widget.ImageView"
      content_description: "The Weather Channel notification: Daily Forecast"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 473
        top: 1
        right: 513
        bottom: 136
      }
      class_name: "android.widget.ImageView"
      content_description: "FirstCry notification: Searching for a unique baby👶name?"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 473
        top: 1
        right: 513
        bottom: 136
      }
      class_name: "android.widget.ImageView"
      content_description: "NNNOW notification: Ready for the Wedding Szn?!😱"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 473
        top: 1
        right: 513
        bottom: 136
      }
      class_name: "android.widget.ImageView"
      content_description: "FirstCry notification: It\'s a big dip↘️Pay 60% Less"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 473
        top: 1
        right: 513
        bottom: 136
      }
      class_name: "android.widget.ImageView"
      content_description: "Photos notification: New folder found"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 473
        top: 1
        right: 513
        bottom: 136
      }
      class_name: "android.widget.ImageView"
      content_description: "FirstCry notification: Flash Sale⚡️Flat 65% OFF"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 473
        top: 1
        right: 513
        bottom: 136
      }
      class_name: "android.widget.ImageView"
      content_description: "FirstCry notification: Min 40%- 60% OFF + Extra 10% OFF!🤑"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 473
        top: 1
        right: 513
        bottom: 136
      }
      class_name: "android.widget.ImageView"
      content_description: "Flora notification: "
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 473
        top: 1
        right: 513
        bottom: 136
      }
      class_name: "android.widget.ImageView"
      content_description: "FirstCry notification: Flat 50% OFF for 1st 1,000 Users🏃‍♀️"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 473
        top: 1
        right: 513
        bottom: 136
      }
      class_name: "android.widget.ImageView"
      content_description: "FirstCry notification: Dr. Vandan (Paediatrician) is LIVE"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 473
        top: 1
        right: 513
        bottom: 136
      }
      class_name: "android.widget.ImageView"
      content_description: "NNNOW notification: EXTRA 12% OFF🤩|12 am - 12 pm"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 473
        top: 1
        right: 513
        bottom: 136
      }
      class_name: "android.widget.ImageView"
      content_description: "FirstCry notification: Happy Hours for Happy Tots 🥳"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 473
        top: 1
        right: 513
        bottom: 136
      }
      class_name: "android.widget.ImageView"
      content_description: "FirstCry notification: Flat 45% OFF🤩MOM OF ALL SALES IS LIVE"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 473
        top: 1
        right: 513
        bottom: 136
      }
      class_name: "android.widget.ImageView"
      content_description: "khelmart notification: "
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 473
        top: 1
        right: 513
        bottom: 136
      }
      class_name: "android.widget.ImageView"
      content_description: "FirstCry notification: Hey Shoppers👋It\'s Flat 50% OFF"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 473
        top: 1
        right: 513
        bottom: 136
      }
      class_name: "android.widget.ImageView"
      content_description: "Artsy notification: New Works for You"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 473
        top: 1
        right: 513
        bottom: 136
      }
      class_name: "android.widget.ImageView"
      content_description: "JD notification: "
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 473
        top: 1
        right: 513
        bottom: 136
      }
      class_name: "android.widget.ImageView"
      content_description: "NNNOW notification: USPA BOGO is here😍"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 473
        top: 1
        right: 513
        bottom: 136
      }
      class_name: "android.widget.ImageView"
      content_description: "FirstCry notification: ❌Don\'t miss out on the fun🎉😃\n"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 473
        top: 1
        right: 513
        bottom: 136
      }
      class_name: "android.widget.ImageView"
      content_description: "FirstCry notification: All Styles Here @ FLAT 45% OFF!👚👖"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 473
        top: 1
        right: 513
        bottom: 136
      }
      class_name: "android.widget.ImageView"
      content_description: "FirstCry notification: ❌Don\'t miss out on the fun🎉😃\n"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 473
        top: 1
        right: 513
        bottom: 136
      }
      class_name: "android.widget.ImageView"
      content_description: "FirstCry notification: All Styles Here @ FLAT 45% OFF!👚👖"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 473
        top: 1
        right: 513
        bottom: 136
      }
      class_name: "android.widget.ImageView"
      content_description: "FirstCry notification:  Fashion is Fantastic @ Flat 65% OFF"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 473
        top: 1
        right: 513
        bottom: 136
      }
      class_name: "android.widget.ImageView"
      content_description: "FirstCry notification: Flat 33% - 40% OFF @ Mom Of All Sale"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 473
        top: 1
        right: 513
        bottom: 136
      }
      class_name: "android.widget.ImageView"
      content_description: "FirstCry notification: 11 Mins @ 11 PM ⏳ Flat 40% OFF"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 473
        top: 1
        right: 513
        bottom: 136
      }
      class_name: "android.widget.ImageView"
      content_description: "NNNOW notification: You\'ll fa-la-la-love this😍"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 473
        top: 1
        right: 513
        bottom: 136
      }
      class_name: "android.widget.ImageView"
      content_description: "FirstCry notification: Perk up your Sunday🤑Get 65% OFF"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 473
        top: 1
        right: 513
        bottom: 136
      }
      class_name: "android.widget.ImageView"
      content_description: "Sun & Sand Sports notification: Hey , are you there? 😮"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 473
        top: 1
        right: 513
        bottom: 136
      }
      class_name: "android.widget.ImageView"
      content_description: "Sun & Sand Sports notification: ⚡FLASH SALE⚡"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 473
        top: 1
        right: 513
        bottom: 136
      }
      class_name: "android.widget.ImageView"
      content_description: "FirstCry notification: 📩(1) New Message From\n"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 473
        top: 1
        right: 513
        bottom: 136
      }
      class_name: "android.widget.ImageView"
      content_description: "FirstCry notification: Flat 70% OFF @ Mom Of All Sales🤩"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 473
        top: 1
        right: 513
        bottom: 136
      }
      class_name: "android.widget.ImageView"
      content_description: "FirstCry notification: 👕Entire Fashion at Flat 45% OFF😲"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 473
        top: 1
        right: 513
        bottom: 136
      }
      class_name: "android.widget.ImageView"
      content_description: "FirstCry notification: It\'s Shop O\'Clock⏰Get FLAT 50% OFF "
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 473
        top: 1
        right: 513
        bottom: 136
      }
      class_name: "android.widget.ImageView"
      content_description: "Google Play services notification: "
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 473
        top: 1
        right: 513
        bottom: 136
      }
      class_name: "android.widget.ImageView"
      content_description: "FirstCry notification: Dr. Ghouse (Paediatrician) is LIVE"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 473
        top: 1
        right: 513
        bottom: 136
      }
      class_name: "android.widget.ImageView"
      content_description: "Gmail notification: 13 new messages"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 473
        top: 1
        right: 513
        bottom: 136
      }
      class_name: "android.widget.ImageView"
      content_description: "FirstCry notification: Rush! It\'s a sale🏃‍♂️Flat 65% OFF"
      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: 1336
  title: "Mindfulness App"
  window_type: TYPE_APPLICATION
  is_active: true
  is_focused: true
  tree {
    nodes {
      bounds_in_screen {
        right: 1080
        bottom: 2400
      }
      class_name: "android.widget.FrameLayout"
    }
    nodes {
      bounds_in_screen {
        right: 1080
        bottom: 2337
      }
      class_name: "android.widget.LinearLayout"
      depth: 1
    }
    nodes {
      bounds_in_screen {
        top: 2337
        right: 1080
        bottom: 2400
      }
      class_name: "android.view.View"
      depth: 1
    }
    nodes {
      bounds_in_screen {
        right: 1080
        bottom: 2337
      }
      class_name: "android.widget.FrameLayout"
      depth: 2
    }
    nodes {
      bounds_in_screen {
        right: 1080
        bottom: 2337
      }
      class_name: "android.widget.FrameLayout"
      depth: 3
    }
    nodes {
      bounds_in_screen {
        right: 1080
        bottom: 2337
      }
      class_name: "android.widget.FrameLayout"
      is_focusable: true
      depth: 4
    }
    nodes {
      bounds_in_screen {
        right: 1080
        bottom: 2337
      }
      class_name: "android.view.View"
      depth: 5
    }
    nodes {
      bounds_in_screen {
        right: 1080
        bottom: 2337
      }
      class_name: "android.view.View"
      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"
      content_description: "mindapps_cupertino_modal"
      is_clickable: true
      is_focusable: true
      depth: 7
    }
    nodes {
      bounds_in_screen {
        right: 1080
        bottom: 2337
      }
      class_name: "android.view.View"
      depth: 8
    }
    nodes {
      bounds_in_screen {
        left: 208
        top: 1263
        right: 381
        bottom: 1316
      }
      class_name: "android.view.View"
      content_description: "Duration"
      is_focusable: true
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 629
        top: 1263
        right: 942
        bottom: 1316
      }
      class_name: "android.view.View"
      content_description: "Interval of bells"
      is_focusable: true
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 98
        top: 1379
        right: 491
        bottom: 1762
      }
      class_name: "android.widget.SeekBar"
      content_description: "12  Min"
      is_focusable: true
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 589
        top: 1379
        right: 983
        bottom: 1762
      }
      class_name: "android.widget.SeekBar"
      content_description: "1  Min"
      is_focusable: true
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 167
        top: 1832
        right: 422
        bottom: 1884
      }
      class_name: "android.view.View"
      content_description: "Guided Intro"
      is_focusable: true
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 733
        top: 1825
        right: 838
        bottom: 1891
      }
      class_name: "android.widget.Switch"
      is_checkable: true
      is_clickable: true
      is_focusable: true
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 79
        top: 1975
        right: 1001
        bottom: 2106
      }
      class_name: "android.widget.Button"
      content_description: "Save this Meditation"
      is_clickable: true
      is_focusable: true
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 79
        top: 2127
        right: 1001
        bottom: 2258
      }
      class_name: "android.widget.Button"
      content_description: "OK"
      is_clickable: true
      is_focusable: true
      depth: 9
    }
  }
}

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"]}}}]