instruction
Go to the Kitchen Stories app and view the recipe for spaghetti 
previous_actions
{"name": "open_app", "parameters": {"app_name": "Kitchen Stories"}}
{"name": "scroll", "parameters": {"direction": "down"}}
{"name": "scroll", "parameters": {"direction": "down"}}
active_application
Kitchen Stories
screen_description
windows {
  bounds_in_screen {
    right: 1080
    bottom: 136
  }
  id: 8
  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: 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:09 PM"
      text: "12:09"
      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 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: 247
        top: 1
        right: 305
        bottom: 136
      }
      class_name: "android.widget.ImageView"
      content_description: "Vimeo notification: "
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 305
        top: 1
        right: 363
        bottom: 136
      }
      class_name: "android.widget.ImageView"
      content_description: "YouTube notification: Mehak Dhawan 96"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 363
        top: 1
        right: 421
        bottom: 136
      }
      class_name: "android.widget.ImageView"
      content_description: "Reminder notification: Kalsanga"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 421
        top: 1
        right: 479
        bottom: 136
      }
      class_name: "android.widget.ImageView"
      content_description: "YouTube notification: A5 Wagyu Tenderloins! #steak"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 479
        top: 1
        right: 537
        bottom: 136
      }
      class_name: "android.widget.ImageView"
      content_description: "Permission controller notification: "
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 497
        top: 1
        right: 537
        bottom: 136
      }
      class_name: "android.widget.ImageView"
      content_description: "Digital Wellbeing notification: Need time to focus?"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 497
        top: 1
        right: 537
        bottom: 136
      }
      class_name: "android.widget.ImageView"
      content_description: "System update notification: Android 13"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 497
        top: 1
        right: 537
        bottom: 136
      }
      class_name: "android.widget.ImageView"
      content_description: "Chrome notification: takeout-20230619T0533….zip"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 497
        top: 1
        right: 537
        bottom: 136
      }
      class_name: "android.widget.ImageView"
      content_description: "Chrome notification: takeout-20230619T0613….zip"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 497
        top: 1
        right: 537
        bottom: 136
      }
      class_name: "android.widget.ImageView"
      content_description: "Google notification: haryanaupdate"
      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: 1586
  title: "Kitchen Stories"
  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.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.view.ViewGroup"
      depth: 5
    }
    nodes {
      bounds_in_screen {
        right: 1080
        bottom: 2337
      }
      class_name: "android.widget.FrameLayout"
      depth: 6
    }
    nodes {
      bounds_in_screen {
        right: 1080
        bottom: 2337
      }
      class_name: "android.view.ViewGroup"
      depth: 7
    }
    nodes {
      bounds_in_screen {
        right: 1080
        bottom: 2337
      }
      class_name: "android.widget.LinearLayout"
      depth: 8
    }
    nodes {
      bounds_in_screen {
        right: 1080
        bottom: 283
      }
      class_name: "android.view.View"
      depth: 8
    }
    nodes {
      bounds_in_screen {
        right: 1080
        bottom: 283
      }
      class_name: "android.view.ViewGroup"
      depth: 8
    }
    nodes {
      bounds_in_screen {
        left: 318
        top: 2149
        right: 763
        bottom: 2295
      }
      class_name: "android.widget.Button"
      text: "Start cooking!"
      is_clickable: true
      is_focusable: true
      depth: 8
    }
    nodes {
      bounds_in_screen {
        right: 1080
        bottom: 2337
      }
      class_name: "android.widget.FrameLayout"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        top: 136
        right: 147
        bottom: 283
      }
      class_name: "android.widget.ImageButton"
      is_clickable: true
      is_focusable: true
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 695
        top: 136
        right: 1080
        bottom: 283
      }
      class_name: "androidx.appcompat.widget.LinearLayoutCompat"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        right: 1080
        bottom: 2337
      }
      class_name: "android.widget.FrameLayout"
      depth: 10
    }
    nodes {
      bounds_in_screen {
        left: 695
        top: 146
        right: 827
        bottom: 272
      }
      class_name: "android.widget.TextView"
      content_description: "Like"
      is_clickable: true
      is_focusable: true
      depth: 10
      tooltip_text: "Like"
    }
    nodes {
      bounds_in_screen {
        left: 827
        top: 146
        right: 953
        bottom: 272
      }
      class_name: "android.widget.TextView"
      content_description: "Save to cookbook"
      is_clickable: true
      is_focusable: true
      depth: 10
      tooltip_text: "Save to cookbook"
    }
    nodes {
      bounds_in_screen {
        left: 953
        top: 146
        right: 1080
        bottom: 272
      }
      class_name: "android.widget.TextView"
      content_description: "Share"
      is_clickable: true
      is_focusable: true
      depth: 10
      tooltip_text: "Share"
    }
    nodes {
      bounds_in_screen {
        right: 1080
        bottom: 2337
      }
      class_name: "androidx.recyclerview.widget.RecyclerView"
      is_focusable: true
      is_focused: true
      is_scrollable: true
      depth: 11
    }
    nodes {
      bounds_in_screen {
        right: 1080
        bottom: 637
      }
      class_name: "android.widget.FrameLayout"
      depth: 12
    }
    nodes {
      bounds_in_screen {
        top: 637
        right: 1080
        bottom: 825
      }
      class_name: "android.widget.FrameLayout"
      depth: 12
    }
    nodes {
      bounds_in_screen {
        top: 825
        right: 1080
        bottom: 954
      }
      class_name: "android.widget.FrameLayout"
      depth: 12
    }
    nodes {
      bounds_in_screen {
        top: 954
        right: 1080
        bottom: 1890
      }
      class_name: "android.widget.RelativeLayout"
      depth: 12
    }
    nodes {
      bounds_in_screen {
        top: 1890
        right: 1080
        bottom: 2019
      }
      class_name: "android.widget.FrameLayout"
      depth: 12
    }
    nodes {
      bounds_in_screen {
        top: 2019
        right: 1080
        bottom: 2240
      }
      class_name: "android.widget.FrameLayout"
      depth: 12
    }
    nodes {
      bounds_in_screen {
        top: 2240
        right: 1080
        bottom: 2240
      }
      class_name: "android.widget.FrameLayout"
      depth: 12
    }
    nodes {
      bounds_in_screen {
        top: 2240
        right: 1080
        bottom: 2337
      }
      class_name: "android.widget.FrameLayout"
      depth: 12
    }
    nodes {
      bounds_in_screen {
        right: 1080
        bottom: 637
      }
      class_name: "android.widget.LinearLayout"
      depth: 13
    }
    nodes {
      bounds_in_screen {
        top: 637
        right: 1080
        bottom: 825
      }
      class_name: "android.widget.RelativeLayout"
      depth: 13
    }
    nodes {
      bounds_in_screen {
        top: 888
        right: 1080
        bottom: 891
      }
      class_name: "android.view.View"
      depth: 13
    }
    nodes {
      bounds_in_screen {
        top: 954
        right: 1080
        bottom: 1034
      }
      class_name: "android.widget.TextView"
      text: "HOW-TO VIDEOS"
      depth: 13
    }
    nodes {
      bounds_in_screen {
        top: 1034
        right: 1080
        bottom: 1890
      }
      class_name: "androidx.recyclerview.widget.RecyclerView"
      is_focusable: true
      is_scrollable: true
      depth: 13
    }
    nodes {
      bounds_in_screen {
        top: 1953
        right: 1080
        bottom: 1956
      }
      class_name: "android.view.View"
      depth: 13
    }
    nodes {
      bounds_in_screen {
        top: 2019
        right: 1080
        bottom: 2240
      }
      class_name: "android.widget.LinearLayout"
      depth: 13
    }
    nodes {
      bounds_in_screen {
        top: 2303
        right: 1080
        bottom: 2306
      }
      class_name: "android.view.View"
      depth: 13
    }
    nodes {
      bounds_in_screen {
        left: 42
        right: 1038
        bottom: -328
      }
      class_name: "android.widget.TextView"
      text: "INGREDIENTS"
      depth: 14
    }
    nodes {
      bounds_in_screen {
        left: 42
        right: 1038
        bottom: -223
      }
      class_name: "android.widget.FrameLayout"
      depth: 14
    }
    nodes {
      bounds_in_screen {
        left: 42
        right: 1038
        bottom: 637
      }
      class_name: "android.widget.LinearLayout"
      depth: 14
    }
    nodes {
      bounds_in_screen {
        left: 248
        top: 679
        right: 832
        bottom: 825
      }
      class_name: "android.widget.Button"
      text: "Add to shopping list"
      is_clickable: true
      is_focusable: true
      depth: 14
    }
    nodes {
      bounds_in_screen {
        left: 42
        top: 1055
        right: 789
        bottom: 1869
      }
      class_name: "androidx.cardview.widget.CardView"
      is_clickable: true
      is_focusable: true
      depth: 14
    }
    nodes {
      bounds_in_screen {
        left: 831
        top: 1055
        right: 1080
        bottom: 1869
      }
      class_name: "androidx.cardview.widget.CardView"
      is_clickable: true
      is_focusable: true
      depth: 14
    }
    nodes {
      bounds_in_screen {
        left: 42
        top: 2019
        right: 258
        bottom: 2077
      }
      class_name: "android.widget.TextView"
      text: "UTENSILS"
      depth: 14
    }
    nodes {
      bounds_in_screen {
        left: 42
        top: 2098
        right: 1038
        bottom: 2240
      }
      class_name: "android.widget.TextView"
      text: "pot, knife, cutting board, nonstick pan, Pasta Magie seasoning"
      depth: 14
    }
    nodes {
      bounds_in_screen {
        left: 42
        right: 223
        bottom: -233
      }
      class_name: "android.widget.TextView"
      text: "1 serving"
      depth: 15
    }
    nodes {
      bounds_in_screen {
        left: 825
        right: 1038
        bottom: -223
      }
      class_name: "android.widget.LinearLayout"
      depth: 15
    }
    nodes {
      bounds_in_screen {
        left: 42
        right: 1038
        bottom: -112
      }
      class_name: "android.view.ViewGroup"
      depth: 15
    }
    nodes {
      bounds_in_screen {
        left: 42
        right: 1038
        bottom: -38
      }
      class_name: "android.view.ViewGroup"
      depth: 15
    }
    nodes {
      bounds_in_screen {
        left: 42
        right: 1038
        bottom: 36
      }
      class_name: "android.view.ViewGroup"
      depth: 15
    }
    nodes {
      bounds_in_screen {
        left: 42
        top: 46
        right: 1038
        bottom: 110
      }
      class_name: "android.view.ViewGroup"
      depth: 15
    }
    nodes {
      bounds_in_screen {
        left: 42
        top: 120
        right: 1038
        bottom: 184
      }
      class_name: "android.view.ViewGroup"
      depth: 15
    }
    nodes {
      bounds_in_screen {
        left: 42
        top: 194
        right: 1038
        bottom: 258
      }
      class_name: "android.view.ViewGroup"
      depth: 15
    }
    nodes {
      bounds_in_screen {
        left: 42
        top: 268
        right: 1038
        bottom: 332
      }
      class_name: "android.view.ViewGroup"
      depth: 15
    }
    nodes {
      bounds_in_screen {
        left: 42
        top: 342
        right: 1038
        bottom: 406
      }
      class_name: "android.view.ViewGroup"
      depth: 15
    }
    nodes {
      bounds_in_screen {
        left: 42
        top: 416
        right: 1038
        bottom: 558
      }
      class_name: "android.view.ViewGroup"
      depth: 15
    }
    nodes {
      bounds_in_screen {
        left: 42
        top: 568
        right: 1038
        bottom: 632
      }
      class_name: "android.view.ViewGroup"
      depth: 15
    }
    nodes {
      bounds_in_screen {
        left: 42
        top: 1055
        right: 789
        bottom: 1869
      }
      class_name: "android.view.ViewGroup"
      depth: 15
    }
    nodes {
      bounds_in_screen {
        left: 831
        top: 1055
        right: 1080
        bottom: 1869
      }
      class_name: "android.view.ViewGroup"
      depth: 15
    }
    nodes {
      bounds_in_screen {
        left: 825
        right: 1038
        bottom: -223
      }
      class_name: "android.widget.FrameLayout"
      depth: 16
    }
    nodes {
      bounds_in_screen {
        left: 42
        right: 374
        bottom: -112
      }
      class_name: "android.widget.TextView"
      text: "100 g"
      depth: 16
    }
    nodes {
      bounds_in_screen {
        left: 374
        right: 1038
        bottom: -112
      }
      class_name: "android.widget.TextView"
      text: "spaghetti"
      depth: 16
    }
    nodes {
      bounds_in_screen {
        left: 42
        right: 374
        bottom: -38
      }
      class_name: "android.widget.TextView"
      text: "150 g"
      depth: 16
    }
    nodes {
      bounds_in_screen {
        left: 374
        right: 1038
        bottom: -38
      }
      class_name: "android.widget.TextView"
      text: "tomato purée (passata)"
      depth: 16
    }
    nodes {
      bounds_in_screen {
        left: 42
        right: 374
        bottom: 36
      }
      class_name: "android.widget.TextView"
      text: "2 tbsp"
      depth: 16
    }
    nodes {
      bounds_in_screen {
        left: 374
        right: 1038
        bottom: 36
      }
      class_name: "android.widget.TextView"
      text: "tomato paste"
      depth: 16
    }
    nodes {
      bounds_in_screen {
        left: 42
        top: 46
        right: 374
        bottom: 110
      }
      class_name: "android.widget.TextView"
      text: "400 ml"
      depth: 16
    }
    nodes {
      bounds_in_screen {
        left: 374
        top: 46
        right: 1038
        bottom: 110
      }
      class_name: "android.widget.TextView"
      text: "water"
      depth: 16
    }
    nodes {
      bounds_in_screen {
        left: 42
        top: 120
        right: 374
        bottom: 184
      }
      class_name: "android.widget.TextView"
      text: "½ tsp"
      depth: 16
    }
    nodes {
      bounds_in_screen {
        left: 374
        top: 120
        right: 1038
        bottom: 184
      }
      class_name: "android.widget.TextView"
      text: "chili flakes"
      depth: 16
    }
    nodes {
      bounds_in_screen {
        left: 42
        top: 194
        right: 374
        bottom: 258
      }
      class_name: "android.widget.TextView"
      text: "3 tbsp"
      depth: 16
    }
    nodes {
      bounds_in_screen {
        left: 374
        top: 194
        right: 1038
        bottom: 258
      }
      class_name: "android.widget.TextView"
      text: "olive oil"
      depth: 16
    }
    nodes {
      bounds_in_screen {
        left: 42
        top: 268
        right: 374
        bottom: 332
      }
      class_name: "android.widget.TextView"
      text: "2 cloves"
      depth: 16
    }
    nodes {
      bounds_in_screen {
        left: 374
        top: 268
        right: 1038
        bottom: 332
      }
      class_name: "android.widget.TextView"
      text: "garlic"
      depth: 16
    }
    nodes {
      bounds_in_screen {
        left: 42
        top: 342
        right: 374
        bottom: 406
      }
      class_name: "android.widget.TextView"
      text: "5 g"
      depth: 16
    }
    nodes {
      bounds_in_screen {
        left: 374
        top: 342
        right: 1038
        bottom: 406
      }
      class_name: "android.widget.TextView"
      text: "parsley"
      depth: 16
    }
    nodes {
      bounds_in_screen {
        left: 42
        top: 416
        right: 374
        bottom: 480
      }
      class_name: "android.widget.TextView"
      text: "1 tsp"
      depth: 16
    }
    nodes {
      bounds_in_screen {
        left: 374
        top: 416
        right: 1038
        bottom: 558
      }
      class_name: "android.widget.TextView"
      text: "Kitchen Stories Pasta Magie seasoning"
      depth: 16
    }
    nodes {
      bounds_in_screen {
        left: 42
        top: 568
        right: 374
        bottom: 632
      }
      class_name: "android.widget.TextView"
      depth: 16
    }
    nodes {
      bounds_in_screen {
        left: 374
        top: 568
        right: 1038
        bottom: 632
      }
      class_name: "android.widget.TextView"
      text: "salt"
      depth: 16
    }
    nodes {
      bounds_in_screen {
        left: 42
        top: 1055
        right: 789
        bottom: 1615
      }
      class_name: "android.widget.ImageView"
      depth: 16
    }
    nodes {
      bounds_in_screen {
        left: 353
        top: 1272
        right: 479
        bottom: 1398
      }
      class_name: "android.widget.ImageView"
      depth: 16
    }
    nodes {
      bounds_in_screen {
        left: 42
        top: 1615
        right: 789
        bottom: 1776
      }
      class_name: "android.widget.TextView"
      text: "Homemade tomato sauce"
      depth: 16
    }
    nodes {
      bounds_in_screen {
        left: 42
        top: 1776
        right: 789
        bottom: 1869
      }
      class_name: "android.widget.TextView"
      text: "1:40 min. ‧ 156.3K views"
      depth: 16
    }
    nodes {
      bounds_in_screen {
        left: 831
        top: 1055
        right: 1080
        bottom: 1615
      }
      class_name: "android.widget.ImageView"
      depth: 16
    }
    nodes {
      bounds_in_screen {
        left: 1142
        top: 1272
        right: 1080
        bottom: 1398
      }
      class_name: "android.widget.ImageView"
      depth: 16
    }
    nodes {
      bounds_in_screen {
        left: 831
        top: 1615
        right: 1080
        bottom: 1776
      }
      class_name: "android.widget.TextView"
      text: "How to prepare garlic"
      depth: 16
    }
    nodes {
      bounds_in_screen {
        left: 831
        top: 1776
        right: 1080
        bottom: 1869
      }
      class_name: "android.widget.TextView"
      text: "1:39 min. ‧ 637.2K views"
      depth: 16
    }
    nodes {
      bounds_in_screen {
        left: 825
        right: 1038
        bottom: -223
      }
      class_name: "android.widget.LinearLayout"
      depth: 17
    }
    nodes {
      bounds_in_screen {
        left: 825
        right: 930
        bottom: -223
      }
      class_name: "android.widget.ImageView"
      is_clickable: true
      is_focusable: true
      depth: 18
    }
    nodes {
      bounds_in_screen {
        left: 930
        right: 933
        bottom: -223
      }
      class_name: "android.view.View"
      depth: 18
    }
    nodes {
      bounds_in_screen {
        left: 933
        right: 1038
        bottom: -223
      }
      class_name: "android.widget.ImageView"
      is_clickable: true
      is_focusable: true
      depth: 18
    }
  }
}

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