instruction: Send a hello message to my friend Amelia Miller on the Snapchat app.

previous_actions: 

active_application: Phonebook

screen_description: windows {
  bounds_in_screen {
    right: 1080
    bottom: 136
  }
  id: 2
  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: 362
        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: 362
        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: 130
        bottom: 136
      }
      class_name: "android.widget.TextView"
      content_description: "9:56 AM"
      text: "9:56"
      depth: 7
    }
    nodes {
      bounds_in_screen {
        left: 130
        top: 1
        right: 362
        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, 94 percent."
      depth: 7
    }
    nodes {
      bounds_in_screen {
        left: 130
        top: 1
        right: 362
        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: 130
        top: 1
        right: 188
        bottom: 136
      }
      class_name: "android.widget.ImageView"
      content_description: "Fit notification: Currently tracking walking"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 188
        top: 1
        right: 246
        bottom: 136
      }
      class_name: "android.widget.ImageView"
      content_description: "Snapchat notification: Mohini Kumar: Mohini Kumar"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 246
        top: 1
        right: 304
        bottom: 136
      }
      class_name: "android.widget.ImageView"
      content_description: "Snapchat notification: Surya Suri: Surya Suri"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 304
        top: 1
        right: 362
        bottom: 136
      }
      class_name: "android.widget.ImageView"
      content_description: "System update notification: Get Android 14 now.\r\nMore personal, protective, and accessible.\r"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 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: 7128
  title: "Phonebook"
  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.view.ViewGroup"
      depth: 3
    }
    nodes {
      bounds_in_screen {
        top: 136
        right: 1080
        bottom: 283
      }
      class_name: "android.widget.FrameLayout"
      depth: 4
    }
    nodes {
      bounds_in_screen {
        top: 283
        right: 1080
        bottom: 2337
      }
      class_name: "android.widget.FrameLayout"
      depth: 4
    }
    nodes {
      bounds_in_screen {
        top: 136
        right: 1080
        bottom: 283
      }
      class_name: "android.view.ViewGroup"
      depth: 5
    }
    nodes {
      bounds_in_screen {
        top: 283
        right: 1080
        bottom: 2337
      }
      class_name: "android.widget.RelativeLayout"
      depth: 5
    }
    nodes {
      bounds_in_screen {
        left: 42
        top: 174
        right: 311
        bottom: 245
      }
      class_name: "android.widget.TextView"
      text: "Phonebook"
      depth: 6
    }
    nodes {
      bounds_in_screen {
        left: 594
        top: 136
        right: 1080
        bottom: 283
      }
      class_name: "androidx.appcompat.widget.LinearLayoutCompat"
      depth: 6
    }
    nodes {
      bounds_in_screen {
        top: 283
        right: 1080
        bottom: 409
      }
      class_name: "android.widget.HorizontalScrollView"
      is_focusable: true
      depth: 6
    }
    nodes {
      bounds_in_screen {
        top: 409
        right: 1080
        bottom: 2337
      }
      class_name: "androidx.viewpager.widget.b"
      is_focusable: true
      is_scrollable: true
      depth: 6
    }
    nodes {
      bounds_in_screen {
        left: 461
        top: 2137
        right: 619
        bottom: 2295
      }
      class_name: "android.widget.ImageView"
      is_clickable: true
      is_focusable: true
      depth: 6
    }
    nodes {
      bounds_in_screen {
        left: 594
        top: 146
        right: 721
        bottom: 272
      }
      class_name: "android.widget.TextView"
      content_description: "Search"
      is_clickable: true
      is_focusable: true
      depth: 7
      tooltip_text: "Search"
    }
    nodes {
      bounds_in_screen {
        left: 721
        top: 146
        right: 848
        bottom: 272
      }
      class_name: "android.widget.TextView"
      content_description: "Sort by"
      is_clickable: true
      is_focusable: true
      depth: 7
      tooltip_text: "Sort by"
    }
    nodes {
      bounds_in_screen {
        left: 848
        top: 146
        right: 975
        bottom: 272
      }
      class_name: "android.widget.TextView"
      content_description: "Filter"
      is_clickable: true
      is_focusable: true
      depth: 7
      tooltip_text: "Filter"
    }
    nodes {
      bounds_in_screen {
        left: 975
        top: 146
        right: 1080
        bottom: 272
      }
      class_name: "android.widget.ImageView"
      content_description: "More options"
      is_clickable: true
      is_focusable: true
      is_long_clickable: true
      depth: 7
      tooltip_text: "More options"
    }
    nodes {
      bounds_in_screen {
        top: 283
        right: 1080
        bottom: 409
      }
      class_name: "android.widget.LinearLayout"
      depth: 7
    }
    nodes {
      bounds_in_screen {
        top: 409
        right: 1080
        bottom: 2337
      }
      class_name: "android.view.ViewGroup"
      depth: 7
    }
    nodes {
      bounds_in_screen {
        left: 1080
        top: 409
        right: 1080
        bottom: 2337
      }
      class_name: "android.view.ViewGroup"
      depth: 7
    }
    nodes {
      bounds_in_screen {
        left: 2160
        top: 409
        right: 1080
        bottom: 2337
      }
      class_name: "android.view.ViewGroup"
      depth: 7
    }
    nodes {
      bounds_in_screen {
        top: 283
        right: 360
        bottom: 409
      }
      class_name: "android.widget.LinearLayout"
      is_focusable: true
      is_selected: true
      depth: 8
    }
    nodes {
      bounds_in_screen {
        left: 360
        top: 283
        right: 720
        bottom: 409
      }
      class_name: "android.widget.LinearLayout"
      is_clickable: true
      is_focusable: true
      depth: 8
    }
    nodes {
      bounds_in_screen {
        left: 720
        top: 283
        right: 1080
        bottom: 409
      }
      class_name: "android.widget.LinearLayout"
      is_clickable: true
      is_focusable: true
      depth: 8
    }
    nodes {
      bounds_in_screen {
        top: 409
        right: 1080
        bottom: 2337
      }
      class_name: "android.widget.RelativeLayout"
      depth: 8
    }
    nodes {
      bounds_in_screen {
        left: 891
        top: 2148
        right: 1038
        bottom: 2295
      }
      class_name: "android.widget.ImageButton"
      is_clickable: true
      is_focusable: true
      depth: 8
    }
    nodes {
      bounds_in_screen {
        left: 1080
        top: 409
        right: 1080
        bottom: 649
      }
      class_name: "android.widget.RelativeLayout"
      depth: 8
    }
    nodes {
      bounds_in_screen {
        left: 1971
        top: 2148
        right: 1080
        bottom: 2295
      }
      class_name: "android.widget.ImageButton"
      is_clickable: true
      is_focusable: true
      depth: 8
    }
    nodes {
      bounds_in_screen {
        left: 2160
        top: 409
        right: 1080
        bottom: 2337
      }
      class_name: "android.widget.RelativeLayout"
      depth: 8
    }
    nodes {
      bounds_in_screen {
        left: 3051
        top: 2148
        right: 1080
        bottom: 2295
      }
      class_name: "android.widget.ImageButton"
      is_clickable: true
      is_focusable: true
      depth: 8
    }
    nodes {
      bounds_in_screen {
        left: 148
        top: 314
        right: 211
        bottom: 377
      }
      class_name: "android.widget.ImageView"
      is_selected: true
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 508
        top: 314
        right: 571
        bottom: 377
      }
      class_name: "android.widget.ImageView"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 868
        top: 314
        right: 931
        bottom: 377
      }
      class_name: "android.widget.ImageView"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        top: 409
        right: 1080
        bottom: 2337
      }
      class_name: "androidx.recyclerview.widget.RecyclerView"
      is_focusable: true
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 807
        top: 409
        right: 954
        bottom: 868
      }
      class_name: "android.view.ViewGroup"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 996
        top: 409
        right: 1080
        bottom: 868
      }
      class_name: "android.widget.LinearLayout"
      is_clickable: true
      is_focusable: true
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 1080
        top: 409
        right: 1080
        bottom: 508
      }
      class_name: "android.widget.TextView"
      text: "Seems like you haven\'t added any favorite contacts yet."
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 1453
        top: 508
        right: 1080
        bottom: 649
      }
      class_name: "android.widget.TextView"
      text: "Add favorites"
      is_clickable: true
      is_focusable: true
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 1887
        top: 409
        right: 1080
        bottom: 535
      }
      class_name: "android.view.ViewGroup"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 2076
        top: 409
        right: 1080
        bottom: 535
      }
      class_name: "android.widget.LinearLayout"
      is_clickable: true
      is_focusable: true
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 2160
        top: 409
        right: 1080
        bottom: 2337
      }
      class_name: "androidx.recyclerview.widget.RecyclerView"
      is_focusable: true
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 3113
        top: 409
        right: 1080
        bottom: 2337
      }
      class_name: "android.widget.FrameLayout"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        top: 409
        right: 1080
        bottom: 577
      }
      class_name: "android.widget.FrameLayout"
      is_clickable: true
      is_focusable: true
      is_long_clickable: true
      depth: 10
    }
    nodes {
      bounds_in_screen {
        top: 577
        right: 1080
        bottom: 745
      }
      class_name: "android.widget.FrameLayout"
      is_clickable: true
      is_focusable: true
      is_long_clickable: true
      depth: 10
    }
    nodes {
      bounds_in_screen {
        top: 745
        right: 1080
        bottom: 913
      }
      class_name: "android.widget.FrameLayout"
      is_clickable: true
      is_focusable: true
      is_long_clickable: true
      depth: 10
    }
    nodes {
      bounds_in_screen {
        top: 913
        right: 1080
        bottom: 1081
      }
      class_name: "android.widget.FrameLayout"
      is_clickable: true
      is_focusable: true
      is_long_clickable: true
      depth: 10
    }
    nodes {
      bounds_in_screen {
        top: 1081
        right: 1080
        bottom: 1249
      }
      class_name: "android.widget.FrameLayout"
      is_clickable: true
      is_focusable: true
      is_long_clickable: true
      depth: 10
    }
    nodes {
      bounds_in_screen {
        top: 1249
        right: 1080
        bottom: 1417
      }
      class_name: "android.widget.FrameLayout"
      is_clickable: true
      is_focusable: true
      is_long_clickable: true
      depth: 10
    }
    nodes {
      bounds_in_screen {
        left: 881
        top: 483
        right: 881
        bottom: 483
      }
      class_name: "android.widget.FrameLayout"
      depth: 10
    }
    nodes {
      bounds_in_screen {
        left: 996
        top: 472
        right: 1080
        bottom: 805
      }
      class_name: "android.widget.TextView"
      text: "A\nC\nF\nH\nM\nR"
      depth: 10
    }
    nodes {
      bounds_in_screen {
        left: 1961
        top: 483
        right: 1080
        bottom: 483
      }
      class_name: "android.widget.FrameLayout"
      depth: 10
    }
    nodes {
      bounds_in_screen {
        left: 2160
        top: 409
        right: 1080
        bottom: 577
      }
      class_name: "android.widget.FrameLayout"
      is_clickable: true
      is_focusable: true
      is_long_clickable: true
      depth: 10
    }
    nodes {
      bounds_in_screen {
        left: 2160
        top: 577
        right: 1080
        bottom: 745
      }
      class_name: "android.widget.FrameLayout"
      is_clickable: true
      is_focusable: true
      is_long_clickable: true
      depth: 10
    }
    nodes {
      bounds_in_screen {
        left: 2160
        top: 745
        right: 1080
        bottom: 913
      }
      class_name: "android.widget.FrameLayout"
      is_clickable: true
      is_focusable: true
      is_long_clickable: true
      depth: 10
    }
    nodes {
      bounds_in_screen {
        left: 3145
        top: 409
        right: 1080
        bottom: 502
      }
      class_name: "android.widget.TextView"
      depth: 10
    }
    nodes {
      bounds_in_screen {
        left: 3219
        top: 409
        right: 1080
        bottom: 514
      }
      class_name: "android.widget.ImageView"
      depth: 10
    }
    nodes {
      bounds_in_screen {
        top: 409
        right: 1080
        bottom: 577
      }
      class_name: "android.widget.RelativeLayout"
      depth: 11
    }
    nodes {
      bounds_in_screen {
        top: 577
        right: 1080
        bottom: 745
      }
      class_name: "android.widget.RelativeLayout"
      depth: 11
    }
    nodes {
      bounds_in_screen {
        top: 745
        right: 1080
        bottom: 913
      }
      class_name: "android.widget.RelativeLayout"
      depth: 11
    }
    nodes {
      bounds_in_screen {
        top: 913
        right: 1080
        bottom: 1081
      }
      class_name: "android.widget.RelativeLayout"
      depth: 11
    }
    nodes {
      bounds_in_screen {
        top: 1081
        right: 1080
        bottom: 1249
      }
      class_name: "android.widget.RelativeLayout"
      depth: 11
    }
    nodes {
      bounds_in_screen {
        top: 1249
        right: 1080
        bottom: 1417
      }
      class_name: "android.widget.RelativeLayout"
      depth: 11
    }
    nodes {
      bounds_in_screen {
        left: 881
        top: 483
        right: 881
        bottom: 483
      }
      class_name: "android.widget.TextView"
      depth: 11
    }
    nodes {
      bounds_in_screen {
        left: 881
        top: 483
        right: 881
        bottom: 483
      }
      class_name: "android.widget.ImageView"
      depth: 11
    }
    nodes {
      bounds_in_screen {
        left: 1961
        top: 483
        right: 1080
        bottom: 483
      }
      class_name: "android.widget.TextView"
      depth: 11
    }
    nodes {
      bounds_in_screen {
        left: 1961
        top: 483
        right: 1080
        bottom: 483
      }
      class_name: "android.widget.ImageView"
      depth: 11
    }
    nodes {
      bounds_in_screen {
        left: 2160
        top: 409
        right: 1080
        bottom: 577
      }
      class_name: "android.widget.RelativeLayout"
      depth: 11
    }
    nodes {
      bounds_in_screen {
        left: 2160
        top: 577
        right: 1080
        bottom: 745
      }
      class_name: "android.widget.RelativeLayout"
      depth: 11
    }
    nodes {
      bounds_in_screen {
        left: 2160
        top: 745
        right: 1080
        bottom: 913
      }
      class_name: "android.widget.RelativeLayout"
      depth: 11
    }
    nodes {
      bounds_in_screen {
        left: 16
        top: 430
        right: 142
        bottom: 556
      }
      class_name: "android.widget.ImageView"
      depth: 12
    }
    nodes {
      bounds_in_screen {
        left: 142
        top: 461
        right: 1038
        bottom: 524
      }
      class_name: "android.widget.TextView"
      text: "Amelia Miller"
      depth: 12
    }
    nodes {
      bounds_in_screen {
        left: 16
        top: 598
        right: 142
        bottom: 724
      }
      class_name: "android.widget.ImageView"
      depth: 12
    }
    nodes {
      bounds_in_screen {
        left: 142
        top: 629
        right: 1038
        bottom: 692
      }
      class_name: "android.widget.TextView"
      text: "Cerebra Research"
      depth: 12
    }
    nodes {
      bounds_in_screen {
        left: 16
        top: 766
        right: 142
        bottom: 892
      }
      class_name: "android.widget.ImageView"
      depth: 12
    }
    nodes {
      bounds_in_screen {
        left: 142
        top: 797
        right: 1038
        bottom: 860
      }
      class_name: "android.widget.TextView"
      text: "Father"
      depth: 12
    }
    nodes {
      bounds_in_screen {
        left: 16
        top: 934
        right: 142
        bottom: 1060
      }
      class_name: "android.widget.ImageView"
      depth: 12
    }
    nodes {
      bounds_in_screen {
        left: 142
        top: 965
        right: 1038
        bottom: 1028
      }
      class_name: "android.widget.TextView"
      text: "Husband"
      depth: 12
    }
    nodes {
      bounds_in_screen {
        left: 16
        top: 1102
        right: 142
        bottom: 1228
      }
      class_name: "android.widget.ImageView"
      depth: 12
    }
    nodes {
      bounds_in_screen {
        left: 142
        top: 1133
        right: 1038
        bottom: 1196
      }
      class_name: "android.widget.TextView"
      text: "Mother"
      depth: 12
    }
    nodes {
      bounds_in_screen {
        left: 16
        top: 1270
        right: 142
        bottom: 1396
      }
      class_name: "android.widget.ImageView"
      depth: 12
    }
    nodes {
      bounds_in_screen {
        left: 142
        top: 1301
        right: 1038
        bottom: 1364
      }
      class_name: "android.widget.TextView"
      text: "Richard"
      depth: 12
    }
    nodes {
      bounds_in_screen {
        left: 2176
        top: 430
        right: 1080
        bottom: 556
      }
      class_name: "android.widget.ImageView"
      depth: 12
    }
    nodes {
      bounds_in_screen {
        left: 2302
        top: 461
        right: 1080
        bottom: 524
      }
      class_name: "android.widget.TextView"
      text: "Coworkers (0)"
      depth: 12
    }
    nodes {
      bounds_in_screen {
        left: 2176
        top: 598
        right: 1080
        bottom: 724
      }
      class_name: "android.widget.ImageView"
      depth: 12
    }
    nodes {
      bounds_in_screen {
        left: 2302
        top: 629
        right: 1080
        bottom: 692
      }
      class_name: "android.widget.TextView"
      text: "Family (3)"
      depth: 12
    }
    nodes {
      bounds_in_screen {
        left: 2176
        top: 766
        right: 1080
        bottom: 892
      }
      class_name: "android.widget.ImageView"
      depth: 12
    }
    nodes {
      bounds_in_screen {
        left: 2302
        top: 797
        right: 1080
        bottom: 860
      }
      class_name: "android.widget.TextView"
      text: "Friends (0)"
      depth: 12
    }
  }
}


assistant: !FUNCTIONCALL{"name": "open_app", "parameters": {"app_name": "Snapchat"}}