instruction
In the Pinterest app, I want to create an Mandala art from the gallery and then publish it.
previous_actions
{"name": "click", "parameters": {"x": 540, "y": 2273}}
{"name": "click", "parameters": {"x": 424, "y": 2078}}
{"name": "click", "parameters": {"x": 134, "y": 607}}
{"name": "click", "parameters": {"x": 405, "y": 607}}
{"name": "click", "parameters": {"x": 962, "y": 220}}
{"name": "click", "parameters": {"x": 983, "y": 215}}
{"name": "click", "parameters": {"x": 561, "y": 856}}
{"name": "input_text", "parameters": {"text": "Mandala art"}}
{"name": "input_text", "parameters": {"text": "art"}}
{"name": "wait", "parameters": {}}
{"name": "wait", "parameters": {}}
{"name": "click", "parameters": {"x": 943, "y": 2237}}
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: 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: 867
        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: 867
        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: "11:07 AM"
      text: "11:07"
      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: 867
        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: 867
        top: 39
        right: 924
        bottom: 97
      }
      class_name: "android.widget.ImageView"
      content_description: "Do Not Disturb"
      depth: 8
    }
    nodes {
      bounds_in_screen {
        left: 924
        top: 39
        right: 970
        bottom: 97
      }
      class_name: "android.widget.FrameLayout"
      content_description: "Wifi signal full."
      depth: 8
    }
    nodes {
      bounds_in_screen {
        left: 986
        top: 51
        right: 1006
        bottom: 85
      }
      class_name: "android.widget.ImageView"
      depth: 8
    }
    nodes {
      bounds_in_screen {
        left: 247
        top: 1
        right: 305
        bottom: 136
      }
      class_name: "android.widget.ImageView"
      content_description: "Weather notification: 21°"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 305
        top: 1
        right: 363
        bottom: 136
      }
      class_name: "android.widget.ImageView"
      content_description: "Reminder notification: Delhi heights"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 363
        top: 1
        right: 421
        bottom: 136
      }
      class_name: "android.widget.ImageView"
      content_description: "Clock notification: "
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 421
        top: 1
        right: 479
        bottom: 136
      }
      class_name: "android.widget.ImageView"
      content_description: "Clock notification: Upcoming alarm"
      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: 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: 2632
  window_type: TYPE_APPLICATION
  is_active: true
  is_focused: true
  tree {
    nodes {
      bounds_in_screen {
        right: 1080
        bottom: 2400
      }
      class_name: "android.widget.FrameLayout"
    }
    nodes {
      bounds_in_screen {
        right: 1080
        bottom: 2337
      }
      class_name: "android.widget.LinearLayout"
      depth: 1
    }
    nodes {
      bounds_in_screen {
        right: 1080
        bottom: 136
      }
      class_name: "android.view.View"
      depth: 1
    }
    nodes {
      bounds_in_screen {
        top: 2337
        right: 1080
        bottom: 2400
      }
      class_name: "android.view.View"
      depth: 1
    }
    nodes {
      bounds_in_screen {
        top: 136
        right: 1080
        bottom: 2337
      }
      class_name: "android.widget.FrameLayout"
      depth: 2
    }
    nodes {
      bounds_in_screen {
        top: 136
        right: 1080
        bottom: 2337
      }
      class_name: "android.widget.LinearLayout"
      depth: 3
    }
    nodes {
      bounds_in_screen {
        top: 136
        right: 1080
        bottom: 2337
      }
      class_name: "android.widget.FrameLayout"
      depth: 4
    }
    nodes {
      bounds_in_screen {
        top: 136
        right: 1080
        bottom: 2337
      }
      class_name: "android.widget.FrameLayout"
      depth: 5
    }
    nodes {
      bounds_in_screen {
        top: 136
        right: 1080
        bottom: 2337
      }
      class_name: "android.widget.RelativeLayout"
      depth: 6
    }
    nodes {
      bounds_in_screen {
        top: 136
        right: 1080
        bottom: 2211
      }
      class_name: "android.widget.RelativeLayout"
      depth: 6
    }
    nodes {
      bounds_in_screen {
        top: 136
        right: 1080
        bottom: 2337
      }
      class_name: "android.widget.FrameLayout"
      depth: 7
    }
    nodes {
      bounds_in_screen {
        top: 136
        right: 1080
        bottom: 2337
      }
      class_name: "android.widget.FrameLayout"
      depth: 7
    }
    nodes {
      bounds_in_screen {
        top: 136
        right: 1080
        bottom: 2337
      }
      class_name: "android.widget.FrameLayout"
      depth: 7
    }
    nodes {
      bounds_in_screen {
        top: 136
        right: 1080
        bottom: 2337
      }
      class_name: "android.widget.FrameLayout"
      depth: 7
    }
    nodes {
      bounds_in_screen {
        top: 136
        right: 1080
        bottom: 2337
      }
      class_name: "android.view.ViewGroup"
      depth: 7
    }
    nodes {
      bounds_in_screen {
        top: 136
        right: 1080
        bottom: 2337
      }
      class_name: "android.widget.FrameLayout"
      depth: 8
    }
    nodes {
      bounds_in_screen {
        top: 2211
        right: 1080
        bottom: 2337
      }
      class_name: "android.widget.LinearLayout"
      depth: 8
    }
    nodes {
      bounds_in_screen {
        top: 136
        right: 1080
        bottom: 2337
      }
      class_name: "android.widget.FrameLayout"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        top: 2211
        right: 1080
        bottom: 2337
      }
      class_name: "android.widget.LinearLayout"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        top: 136
        bottom: 136
      }
      class_name: "android.view.View"
      is_focusable: true
      depth: 10
    }
    nodes {
      bounds_in_screen {
        top: 136
        right: 1080
        bottom: 2337
      }
      class_name: "android.view.ViewGroup"
      depth: 10
    }
    nodes {
      bounds_in_screen {
        left: 120
        top: 2211
        right: 288
        bottom: 2337
      }
      class_name: "android.widget.FrameLayout"
      content_description: "Home, Tab"
      is_clickable: true
      is_focusable: true
      is_long_clickable: true
      depth: 10
    }
    nodes {
      bounds_in_screen {
        left: 288
        top: 2211
        right: 456
        bottom: 2337
      }
      class_name: "android.widget.FrameLayout"
      content_description: "Search, Tab"
      is_clickable: true
      is_focusable: true
      is_long_clickable: true
      is_selected: true
      depth: 10
    }
    nodes {
      bounds_in_screen {
        left: 456
        top: 2211
        right: 624
        bottom: 2337
      }
      class_name: "android.widget.FrameLayout"
      content_description: "Create, Tab"
      is_clickable: true
      is_focusable: true
      is_long_clickable: true
      depth: 10
    }
    nodes {
      bounds_in_screen {
        left: 624
        top: 2211
        right: 792
        bottom: 2337
      }
      class_name: "android.widget.FrameLayout"
      content_description: "Notifications, Tab"
      is_clickable: true
      is_focusable: true
      is_long_clickable: true
      depth: 10
    }
    nodes {
      bounds_in_screen {
        left: 792
        top: 2211
        right: 960
        bottom: 2337
      }
      class_name: "android.widget.FrameLayout"
      content_description: "Saved, Tab"
      is_clickable: true
      is_focusable: true
      is_long_clickable: true
      depth: 10
    }
    nodes {
      bounds_in_screen {
        top: 136
        right: 1080
        bottom: 2337
      }
      class_name: "android.widget.RelativeLayout"
      depth: 11
    }
    nodes {
      bounds_in_screen {
        top: 136
        right: 1080
        bottom: 2337
      }
      class_name: "android.widget.LinearLayout"
      depth: 11
    }
    nodes {
      bounds_in_screen {
        top: 136
        right: 1080
        bottom: 273
      }
      class_name: "android.widget.RelativeLayout"
      depth: 11
    }
    nodes {
      bounds_in_screen {
        left: 172
        top: 2242
        right: 235
        bottom: 2305
      }
      class_name: "android.widget.LinearLayout"
      depth: 11
    }
    nodes {
      bounds_in_screen {
        left: 340
        top: 2242
        right: 403
        bottom: 2305
      }
      class_name: "android.widget.LinearLayout"
      is_selected: true
      depth: 11
    }
    nodes {
      bounds_in_screen {
        left: 508
        top: 2242
        right: 571
        bottom: 2305
      }
      class_name: "android.widget.LinearLayout"
      depth: 11
    }
    nodes {
      bounds_in_screen {
        left: 676
        top: 2242
        right: 739
        bottom: 2305
      }
      class_name: "android.widget.LinearLayout"
      depth: 11
    }
    nodes {
      bounds_in_screen {
        left: 727
        top: 2229
        right: 743
        bottom: 2245
      }
      class_name: "android.view.View"
      depth: 11
    }
    nodes {
      bounds_in_screen {
        left: 844
        top: 2242
        right: 907
        bottom: 2305
      }
      class_name: "android.widget.LinearLayout"
      depth: 11
    }
    nodes {
      bounds_in_screen {
        top: 136
        right: 1080
        bottom: 2337
      }
      class_name: "androidx.recyclerview.widget.RecyclerView"
      is_clickable: true
      is_focusable: true
      is_scrollable: true
      depth: 12
    }
    nodes {
      bounds_in_screen {
        top: 136
        right: 1080
        bottom: 136
      }
      class_name: "android.widget.FrameLayout"
      depth: 12
    }
    nodes {
      bounds_in_screen {
        left: 21
        top: 157
        right: 137
        bottom: 273
      }
      class_name: "android.widget.ImageButton"
      content_description: "Back"
      is_clickable: true
      is_focusable: true
      depth: 12
    }
    nodes {
      bounds_in_screen {
        left: 172
        top: 2242
        right: 235
        bottom: 2305
      }
      class_name: "android.widget.ImageView"
      depth: 12
    }
    nodes {
      bounds_in_screen {
        left: 340
        top: 2242
        right: 403
        bottom: 2305
      }
      class_name: "android.widget.ImageView"
      is_selected: true
      depth: 12
    }
    nodes {
      bounds_in_screen {
        left: 508
        top: 2242
        right: 571
        bottom: 2305
      }
      class_name: "android.widget.ImageView"
      depth: 12
    }
    nodes {
      bounds_in_screen {
        left: 676
        top: 2242
        right: 739
        bottom: 2305
      }
      class_name: "android.widget.ImageView"
      depth: 12
    }
    nodes {
      bounds_in_screen {
        left: 844
        top: 2242
        right: 907
        bottom: 2305
      }
      class_name: "android.widget.ImageView"
      depth: 12
    }
    nodes {
      bounds_in_screen {
        top: 136
        right: 1080
        bottom: 1720
      }
      class_name: "android.widget.LinearLayout"
      depth: 13
    }
    nodes {
      bounds_in_screen {
        top: 1720
        right: 1080
        bottom: 1720
      }
      class_name: "android.widget.LinearLayout"
      depth: 13
    }
    nodes {
      bounds_in_screen {
        top: 1720
        right: 1080
        bottom: 2073
      }
      class_name: "android.widget.LinearLayout"
      depth: 13
    }
    nodes {
      bounds_in_screen {
        top: 2073
        right: 1080
        bottom: 2214
      }
      class_name: "android.widget.TextView"
      text: "More to explore"
      depth: 13
    }
    nodes {
      bounds_in_screen {
        left: 20
        top: 2235
        right: 530
        bottom: 2337
      }
      class_name: "android.view.View"
      content_description: "Pin from ProCreator, Title: mandala art"
      is_clickable: true
      is_focusable: true
      depth: 13
    }
    nodes {
      bounds_in_screen {
        left: 550
        top: 2235
        right: 1060
        bottom: 2337
      }
      class_name: "android.view.View"
      content_description: "Pin from deeksha_basavaraj, Title: Abstract watercolor background Mandala"
      is_clickable: true
      is_focusable: true
      depth: 13
    }
    nodes {
      bounds_in_screen {
        top: 136
        right: 1080
        bottom: 1377
      }
      class_name: "android.widget.LinearLayout"
      depth: 14
    }
    nodes {
      bounds_in_screen {
        top: 1377
        right: 1080
        bottom: 1510
      }
      class_name: "android.widget.LinearLayout"
      depth: 14
    }
    nodes {
      bounds_in_screen {
        top: 1510
        right: 1080
        bottom: 1510
      }
      class_name: "android.widget.LinearLayout"
      depth: 14
    }
    nodes {
      bounds_in_screen {
        top: 1510
        right: 1080
        bottom: 1720
      }
      class_name: "android.widget.LinearLayout"
      depth: 14
    }
    nodes {
      bounds_in_screen {
        top: 1720
        right: 1080
        bottom: 2073
      }
      class_name: "android.widget.LinearLayout"
      depth: 14
    }
    nodes {
      bounds_in_screen {
        top: 136
        right: 1080
        bottom: 1377
      }
      class_name: "android.widget.FrameLayout"
      depth: 15
    }
    nodes {
      bounds_in_screen {
        left: 42
        top: 1419
        right: 1038
        bottom: 1468
      }
      class_name: "android.view.ViewGroup"
      depth: 15
    }
    nodes {
      bounds_in_screen {
        top: 1510
        right: 1080
        bottom: 1510
      }
      class_name: "android.widget.FrameLayout"
      depth: 15
    }
    nodes {
      bounds_in_screen {
        top: 1510
        right: 1080
        bottom: 1720
      }
      class_name: "android.view.ViewGroup"
      is_clickable: true
      is_focusable: true
      depth: 15
    }
    nodes {
      bounds_in_screen {
        top: 1753
        right: 1080
        bottom: 1890
      }
      class_name: "android.view.ViewGroup"
      depth: 15
    }
    nodes {
      bounds_in_screen {
        left: 42
        top: 1953
        right: 1059
        bottom: 2010
      }
      class_name: "android.widget.TextView"
      text: "Comments are turned off for this Pin"
      depth: 15
    }
    nodes {
      bounds_in_screen {
        top: 136
        right: 1080
        bottom: 1377
      }
      class_name: "android.widget.FrameLayout"
      depth: 16
    }
    nodes {
      bounds_in_screen {
        top: 136
        right: 1080
        bottom: 1377
      }
      class_name: "android.view.View"
      content_description: "Pin from i.pinimg.com"
      is_clickable: true
      is_focusable: true
      is_long_clickable: true
      depth: 16
    }
    nodes {
      bounds_in_screen {
        top: 136
        right: 1080
        bottom: 335
      }
      class_name: "android.widget.RelativeLayout"
      depth: 16
    }
    nodes {
      bounds_in_screen {
        left: 870
        top: 1167
        right: 1080
        bottom: 1377
      }
      class_name: "android.widget.FrameLayout"
      content_description: "Button: Flashlight search"
      is_clickable: true
      is_focusable: true
      depth: 16
    }
    nodes {
      bounds_in_screen {
        left: 42
        top: 1419
        right: 1038
        bottom: 1468
      }
      class_name: "android.widget.RelativeLayout"
      depth: 16
    }
    nodes {
      bounds_in_screen {
        left: 21
        top: 1557
        right: 137
        bottom: 1673
      }
      class_name: "android.widget.LinearLayout"
      is_clickable: true
      is_focusable: true
      is_long_clickable: true
      depth: 16
    }
    nodes {
      bounds_in_screen {
        left: 158
        top: 1537
        right: 922
        bottom: 1694
      }
      class_name: "android.widget.LinearLayout"
      depth: 16
    }
    nodes {
      bounds_in_screen {
        left: 943
        top: 1557
        right: 1059
        bottom: 1673
      }
      class_name: "android.widget.LinearLayout"
      is_clickable: true
      is_focusable: true
      depth: 16
    }
    nodes {
      bounds_in_screen {
        top: 1762
        right: 445
        bottom: 1861
      }
      class_name: "android.widget.TextView"
      text: "What do you think?"
      depth: 16
    }
    nodes {
      bounds_in_screen {
        left: 813
        top: 1783
        right: 911
        bottom: 1840
      }
      class_name: "android.widget.LinearLayout"
      is_clickable: true
      is_focusable: true
      depth: 16
    }
    nodes {
      bounds_in_screen {
        left: 943
        top: 1753
        right: 1059
        bottom: 1869
      }
      class_name: "android.widget.ImageView"
      content_description: "Add comment reaction"
      is_clickable: true
      is_focusable: true
      is_long_clickable: true
      depth: 16
    }
    nodes {
      bounds_in_screen {
        top: 136
        right: 1080
        bottom: 1377
      }
      class_name: "android.widget.FrameLayout"
      depth: 17
    }
    nodes {
      bounds_in_screen {
        left: 943
        top: 157
        right: 1059
        bottom: 273
      }
      class_name: "android.widget.Button"
      content_description: "More options"
      is_clickable: true
      is_focusable: true
      depth: 17
    }
    nodes {
      bounds_in_screen {
        left: 870
        top: 1167
        right: 1080
        bottom: 1377
      }
      class_name: "android.widget.ImageView"
      depth: 17
    }
    nodes {
      bounds_in_screen {
        left: 407
        top: 1419
        right: 672
        bottom: 1468
      }
      class_name: "android.widget.LinearLayout"
      depth: 17
    }
    nodes {
      bounds_in_screen {
        left: 21
        top: 1557
        right: 137
        bottom: 1673
      }
      class_name: "android.widget.ImageView"
      content_description: "Comments"
      depth: 17
    }
    nodes {
      bounds_in_screen {
        left: 337
        top: 1537
        right: 547
        bottom: 1694
      }
      class_name: "android.widget.FrameLayout"
      is_clickable: true
      is_focusable: true
      depth: 17
    }
    nodes {
      bounds_in_screen {
        left: 547
        top: 1537
        right: 743
        bottom: 1694
      }
      class_name: "android.widget.FrameLayout"
      depth: 17
    }
    nodes {
      bounds_in_screen {
        left: 943
        top: 1557
        right: 1059
        bottom: 1673
      }
      class_name: "android.view.ViewGroup"
      content_description: "Share via"
      depth: 17
    }
    nodes {
      bounds_in_screen {
        left: 813
        top: 1783
        right: 911
        bottom: 1840
      }
      class_name: "android.widget.TextView"
      content_description: "20 people have reacted to this Pin"
      text: "20"
      depth: 17
    }
    nodes {
      bounds_in_screen {
        top: 136
        right: 1080
        bottom: 1377
      }
      class_name: "android.widget.ImageView"
      depth: 18
    }
    nodes {
      bounds_in_screen {
        left: 407
        top: 1419
        right: 672
        bottom: 1468
      }
      class_name: "android.widget.TextView"
      text: "i.pinimg.com"
      is_focusable: true
      is_long_clickable: true
      clickable_spans {
        text: "i.pinimg.com"
        source: TEXT
        node_id: 80
      }
      depth: 18
    }
    nodes {
      bounds_in_screen {
        left: 337
        top: 1537
        right: 526
        bottom: 1694
      }
      class_name: "android.widget.Button"
      text: "Visit"
      is_clickable: true
      depth: 18
    }
    nodes {
      bounds_in_screen {
        left: 547
        top: 1537
        right: 743
        bottom: 1694
      }
      class_name: "android.widget.Button"
      text: "Save"
      is_clickable: true
      depth: 18
    }
    nodes {
      bounds_in_screen {
        left: 943
        top: 1557
        right: 1059
        bottom: 1673
      }
      class_name: "android.widget.ImageView"
      content_description: "Share via"
      depth: 18
    }
  }
}

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