instruction
In the Pinterest app, I want to create a street art from the gallery and then publish it
previous_actions
active_application
screen_description
windows {
  bounds_in_screen {
    right: 1080
    bottom: 136
  }
  layer: 1
  window_type: TYPE_SYSTEM
  tree {
    nodes {
      bounds_in_screen {
        right: 1080
        bottom: 136
      }
      class_name: "android.widget.FrameLayout"
    }
    nodes {
      bounds_in_screen {
        right: 1080
        bottom: 136
      }
      class_name: "android.widget.FrameLayout"
      depth: 1
    }
    nodes {
      bounds_in_screen {
        right: 1080
        bottom: 136
      }
      class_name: "android.widget.FrameLayout"
      depth: 1
    }
    nodes {
      bounds_in_screen {
        right: 1080
        bottom: 136
      }
      class_name: "android.widget.FrameLayout"
      depth: 1
    }
    nodes {
      bounds_in_screen {
        right: 1080
        bottom: 136
      }
      class_name: "android.widget.FrameLayout"
      depth: 2
    }
    nodes {
      bounds_in_screen {
        left: 47
        right: 1027
        bottom: 136
      }
      class_name: "android.widget.LinearLayout"
      depth: 3
    }
    nodes {
      bounds_in_screen {
        left: 47
        top: 1
        right: 454
        bottom: 136
      }
      class_name: "android.widget.FrameLayout"
      depth: 4
    }
    nodes {
      bounds_in_screen {
        left: 454
        top: 1
        right: 599
        bottom: 136
      }
      class_name: "android.view.View"
      depth: 4
    }
    nodes {
      bounds_in_screen {
        left: 599
        top: 1
        right: 1006
        bottom: 136
      }
      class_name: "android.widget.FrameLayout"
      depth: 4
    }
    nodes {
      bounds_in_screen {
        left: 47
        top: 1
        right: 265
        bottom: 136
      }
      class_name: "android.widget.FrameLayout"
      depth: 5
    }
    nodes {
      bounds_in_screen {
        left: 924
        top: 1
        right: 1006
        bottom: 136
      }
      class_name: "android.widget.LinearLayout"
      depth: 5
    }
    nodes {
      bounds_in_screen {
        left: 47
        top: 1
        right: 265
        bottom: 136
      }
      class_name: "android.widget.LinearLayout"
      depth: 6
    }
    nodes {
      bounds_in_screen {
        left: 924
        top: 1
        right: 1006
        bottom: 136
      }
      class_name: "android.widget.LinearLayout"
      depth: 6
    }
    nodes {
      bounds_in_screen {
        left: 47
        top: 1
        right: 149
        bottom: 136
      }
      class_name: "android.widget.TextView"
      content_description: "10:48 AM"
      text: "10:48"
      depth: 7
    }
    nodes {
      bounds_in_screen {
        left: 149
        top: 1
        right: 265
        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: 149
        top: 1
        right: 265
        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 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: 149
        top: 1
        right: 207
        bottom: 136
      }
      class_name: "android.widget.ImageView"
      content_description: "All Documents Reader notification: "
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 207
        top: 1
        right: 265
        bottom: 136
      }
      class_name: "android.widget.ImageView"
      content_description: "Chrome notification: mateo-krossler-KsOWP1….jpg"
      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: 5086
  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.view.ViewGroup"
      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
        right: 1080
        bottom: 2337
      }
      class_name: "android.widget.LinearLayout"
      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: 294
      }
      class_name: "android.widget.RelativeLayout"
      is_clickable: true
      is_focusable: true
      is_long_clickable: true
      depth: 11
    }
    nodes {
      bounds_in_screen {
        top: 294
        right: 1080
        bottom: 2337
      }
      class_name: "androidx.viewpager.widget.ViewPager"
      is_focusable: true
      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: 158
        right: 126
        bottom: 284
      }
      class_name: "android.widget.ImageView"
      content_description: "Back"
      is_clickable: true
      is_focusable: true
      depth: 12
    }
    nodes {
      bounds_in_screen {
        left: 126
        top: 168
        right: 1038
        bottom: 273
      }
      class_name: "android.widget.LinearLayout"
      depth: 12
    }
    nodes {
      bounds_in_screen {
        left: 1038
        top: 221
        right: 1038
        bottom: 221
      }
      class_name: "android.widget.LinearLayout"
      depth: 12
    }
    nodes {
      bounds_in_screen {
        left: 1038
        top: 221
        right: 1038
        bottom: 221
      }
      class_name: "android.widget.LinearLayout"
      depth: 12
    }
    nodes {
      bounds_in_screen {
        top: 294
        right: 1080
        bottom: 2337
      }
      class_name: "android.widget.LinearLayout"
      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 {
        left: 126
        top: 168
        right: 1038
        bottom: 273
      }
      class_name: "android.widget.LinearLayout"
      depth: 13
    }
    nodes {
      bounds_in_screen {
        top: 294
        right: 1080
        bottom: 473
      }
      class_name: "android.widget.LinearLayout"
      depth: 13
    }
    nodes {
      bounds_in_screen {
        top: 473
        right: 1080
        bottom: 2337
      }
      class_name: "android.view.ViewGroup"
      depth: 13
    }
    nodes {
      bounds_in_screen {
        left: 161
        top: 171
        right: 1035
        bottom: 270
      }
      class_name: "android.widget.TextView"
      content_description: "Search edit box with query: Street Art"
      text: "Street Art"
      is_clickable: true
      is_focusable: true
      is_long_clickable: true
      depth: 14
    }
    nodes {
      bounds_in_screen {
        top: 294
        right: 1080
        bottom: 473
      }
      class_name: "android.widget.LinearLayout"
      depth: 14
    }
    nodes {
      bounds_in_screen {
        top: 474
        right: 1080
        bottom: 2337
      }
      class_name: "android.widget.FrameLayout"
      depth: 14
    }
    nodes {
      bounds_in_screen {
        left: 540
        top: 473
        right: 540
        bottom: 422
      }
      class_name: "android.widget.ImageView"
      depth: 14
    }
    nodes {
      bounds_in_screen {
        top: 294
        right: 1080
        bottom: 462
      }
      class_name: "android.widget.LinearLayout"
      depth: 15
    }
    nodes {
      bounds_in_screen {
        top: 474
        right: 1080
        bottom: 2337
      }
      class_name: "android.widget.LinearLayout"
      depth: 15
    }
    nodes {
      bounds_in_screen {
        top: 294
        right: 1080
        bottom: 462
      }
      class_name: "androidx.recyclerview.widget.RecyclerView"
      is_clickable: true
      is_focusable: true
      is_scrollable: true
      depth: 16
    }
    nodes {
      bounds_in_screen {
        top: 474
        right: 1080
        bottom: 2337
      }
      class_name: "androidx.recyclerview.widget.RecyclerView"
      is_clickable: true
      is_focusable: true
      is_scrollable: true
      depth: 16
    }
    nodes {
      bounds_in_screen {
        left: 21
        top: 315
        right: 127
        bottom: 431
      }
      class_name: "android.widget.FrameLayout"
      content_description: "Filter"
      is_clickable: true
      is_focusable: true
      depth: 17
    }
    nodes {
      bounds_in_screen {
        left: 137
        top: 315
        right: 410
        bottom: 431
      }
      class_name: "android.widget.FrameLayout"
      content_description: "Profiles"
      is_clickable: true
      is_focusable: true
      depth: 17
    }
    nodes {
      bounds_in_screen {
        left: 420
        top: 315
        right: 842
        bottom: 431
      }
      class_name: "android.widget.FrameLayout"
      content_description: "Graffiti murals"
      is_clickable: true
      is_focusable: true
      depth: 17
    }
    nodes {
      bounds_in_screen {
        left: 852
        top: 315
        right: 1080
        bottom: 431
      }
      class_name: "android.widget.FrameLayout"
      content_description: "Graffiti"
      is_clickable: true
      is_focusable: true
      depth: 17
    }
    nodes {
      bounds_in_screen {
        left: 20
        top: 484
        right: 530
        bottom: 1227
      }
      class_name: "android.widget.FrameLayout"
      depth: 17
    }
    nodes {
      bounds_in_screen {
        left: 20
        top: 1248
        right: 530
        bottom: 1946
      }
      class_name: "android.widget.FrameLayout"
      depth: 17
    }
    nodes {
      bounds_in_screen {
        left: 550
        top: 484
        right: 1060
        bottom: 1277
      }
      class_name: "android.widget.FrameLayout"
      depth: 17
    }
    nodes {
      bounds_in_screen {
        left: 20
        top: 1967
        right: 530
        bottom: 2337
      }
      class_name: "android.widget.FrameLayout"
      depth: 17
    }
    nodes {
      bounds_in_screen {
        left: 550
        top: 1298
        right: 1060
        bottom: 2091
      }
      class_name: "android.widget.FrameLayout"
      depth: 17
    }
    nodes {
      bounds_in_screen {
        left: 550
        top: 2112
        right: 1060
        bottom: 2337
      }
      class_name: "android.widget.FrameLayout"
      depth: 17
    }
    nodes {
      bounds_in_screen {
        left: 21
        top: 315
        right: 127
        bottom: 431
      }
      class_name: "android.widget.Button"
      depth: 18
    }
    nodes {
      bounds_in_screen {
        left: 137
        top: 315
        right: 410
        bottom: 431
      }
      class_name: "android.widget.Button"
      text: "Profiles"
      depth: 18
    }
    nodes {
      bounds_in_screen {
        left: 420
        top: 315
        right: 842
        bottom: 431
      }
      class_name: "android.widget.Button"
      text: "Graffiti murals"
      depth: 18
    }
    nodes {
      bounds_in_screen {
        left: 431
        top: 325
        right: 526
        bottom: 420
      }
      class_name: "android.widget.FrameLayout"
      depth: 18
    }
    nodes {
      bounds_in_screen {
        left: 852
        top: 315
        right: 1080
        bottom: 431
      }
      class_name: "android.widget.Button"
      text: "Graffiti"
      depth: 18
    }
    nodes {
      bounds_in_screen {
        left: 863
        top: 325
        right: 958
        bottom: 420
      }
      class_name: "android.widget.FrameLayout"
      depth: 18
    }
    nodes {
      bounds_in_screen {
        left: 20
        top: 484
        right: 530
        bottom: 1227
      }
      class_name: "android.view.View"
      content_description: "Pin from www.1stdibs.com, Title: Mr. Brainwash - Dream Big Dreams"
      is_clickable: true
      is_focusable: true
      depth: 18
    }
    nodes {
      bounds_in_screen {
        left: 425
        top: 1051
        right: 509
        bottom: 1135
      }
      class_name: "android.widget.FrameLayout"
      is_clickable: true
      is_focusable: true
      depth: 18
    }
    nodes {
      bounds_in_screen {
        left: 20
        top: 1248
        right: 530
        bottom: 1946
      }
      class_name: "android.view.View"
      content_description: "Pin from www.behance.net, Title: Mona Lisa pop art portrait"
      is_clickable: true
      is_focusable: true
      depth: 18
    }
    nodes {
      bounds_in_screen {
        left: 425
        top: 1770
        right: 509
        bottom: 1854
      }
      class_name: "android.widget.FrameLayout"
      is_clickable: true
      is_focusable: true
      depth: 18
    }
    nodes {
      bounds_in_screen {
        left: 550
        top: 484
        right: 1060
        bottom: 1277
      }
      class_name: "android.view.View"
      content_description: "Pin from www.behance.net, Title: Random Illustrations 2"
      is_clickable: true
      is_focusable: true
      depth: 18
    }
    nodes {
      bounds_in_screen {
        left: 955
        top: 1101
        right: 1039
        bottom: 1185
      }
      class_name: "android.widget.FrameLayout"
      is_clickable: true
      is_focusable: true
      depth: 18
    }
    nodes {
      bounds_in_screen {
        left: 20
        top: 1967
        right: 530
        bottom: 2337
      }
      class_name: "android.view.View"
      content_description: "Pin from www.amazon.com, Title: Art Work for Home Walls Banksy Street Graffiti Pictures Abstract Colorful Paintings 1 Panel Canvas Pop Art Modern Artwork Home Decor for Living Room Framed Stretched Ready to Hang 16x24inch"
      is_clickable: true
      is_focusable: true
      depth: 18
    }
    nodes {
      bounds_in_screen {
        left: 425
        top: 2338
        right: 509
        bottom: 2337
      }
      class_name: "android.widget.FrameLayout"
      is_clickable: true
      is_focusable: true
      depth: 18
    }
    nodes {
      bounds_in_screen {
        left: 550
        top: 1298
        right: 1060
        bottom: 2091
      }
      class_name: "android.view.View"
      content_description: "Pin from invite.viber.com, Title: Необычные постеры"
      is_clickable: true
      is_focusable: true
      depth: 18
    }
    nodes {
      bounds_in_screen {
        left: 955
        top: 1915
        right: 1039
        bottom: 1999
      }
      class_name: "android.widget.FrameLayout"
      is_clickable: true
      is_focusable: true
      depth: 18
    }
    nodes {
      bounds_in_screen {
        left: 550
        top: 2112
        right: 1060
        bottom: 2337
      }
      class_name: "android.view.View"
      content_description: "Pin from hamiltonselway.com, Title: Mr. Brainwash: 10 Interesting Facts You Didn’t Know"
      is_clickable: true
      is_focusable: true
      depth: 18
    }
    nodes {
      bounds_in_screen {
        left: 955
        top: 2338
        right: 1039
        bottom: 2337
      }
      class_name: "android.widget.FrameLayout"
      is_clickable: true
      is_focusable: true
      depth: 18
    }
    nodes {
      bounds_in_screen {
        left: 431
        top: 325
        right: 526
        bottom: 420
      }
      class_name: "android.widget.ImageView"
      depth: 19
    }
    nodes {
      bounds_in_screen {
        left: 863
        top: 325
        right: 958
        bottom: 420
      }
      class_name: "android.widget.ImageView"
      depth: 19
    }
    nodes {
      bounds_in_screen {
        left: 425
        top: 1051
        right: 509
        bottom: 1135
      }
      class_name: "android.view.View"
      depth: 19
    }
    nodes {
      bounds_in_screen {
        left: 425
        top: 1051
        right: 509
        bottom: 1135
      }
      class_name: "android.view.View"
      depth: 19
    }
    nodes {
      bounds_in_screen {
        left: 425
        top: 1770
        right: 509
        bottom: 1854
      }
      class_name: "android.view.View"
      depth: 19
    }
    nodes {
      bounds_in_screen {
        left: 955
        top: 1101
        right: 1039
        bottom: 1185
      }
      class_name: "android.view.View"
      depth: 19
    }
    nodes {
      bounds_in_screen {
        left: 425
        top: 2338
        right: 509
        bottom: 2337
      }
      class_name: "android.view.View"
      depth: 19
    }
    nodes {
      bounds_in_screen {
        left: 955
        top: 1915
        right: 1039
        bottom: 1999
      }
      class_name: "android.view.View"
      depth: 19
    }
    nodes {
      bounds_in_screen {
        left: 955
        top: 2338
        right: 1039
        bottom: 2337
      }
      class_name: "android.view.View"
      depth: 19
    }
  }
}

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