instruction
I want to import my contacts.
previous_actions
active_application
screen_description
windows {
  bounds_in_screen {
    right: 1080
    bottom: 128
  }
  id: 4
  layer: 1
  window_type: TYPE_SYSTEM
  tree {
    nodes {
      bounds_in_screen {
        right: 1080
        bottom: 128
      }
      class_name: "android.widget.FrameLayout"
    }
    nodes {
      bounds_in_screen {
        right: 1080
        bottom: 128
      }
      class_name: "android.widget.FrameLayout"
      depth: 1
    }
    nodes {
      bounds_in_screen {
        right: 1080
        bottom: 128
      }
      class_name: "android.widget.FrameLayout"
      depth: 1
    }
    nodes {
      bounds_in_screen {
        right: 1080
        bottom: 128
      }
      class_name: "android.widget.FrameLayout"
      depth: 2
    }
    nodes {
      bounds_in_screen {
        left: 50
        right: 1027
        bottom: 128
      }
      class_name: "android.widget.LinearLayout"
      depth: 3
    }
    nodes {
      bounds_in_screen {
        left: 50
        top: 1
        right: 469
        bottom: 128
      }
      class_name: "android.widget.FrameLayout"
      depth: 4
    }
    nodes {
      bounds_in_screen {
        left: 469
        top: 1
        right: 587
        bottom: 128
      }
      class_name: "android.view.View"
      depth: 4
    }
    nodes {
      bounds_in_screen {
        left: 587
        top: 1
        right: 1006
        bottom: 128
      }
      class_name: "android.widget.FrameLayout"
      depth: 4
    }
    nodes {
      bounds_in_screen {
        left: 50
        top: 1
        right: 129
        bottom: 128
      }
      class_name: "android.widget.FrameLayout"
      depth: 5
    }
    nodes {
      bounds_in_screen {
        left: 762
        top: 1
        right: 1006
        bottom: 128
      }
      class_name: "android.widget.LinearLayout"
      depth: 5
    }
    nodes {
      bounds_in_screen {
        left: 50
        top: 1
        right: 129
        bottom: 128
      }
      class_name: "android.widget.LinearLayout"
      depth: 6
    }
    nodes {
      bounds_in_screen {
        left: 762
        top: 1
        right: 1006
        bottom: 128
      }
      class_name: "android.widget.LinearLayout"
      depth: 6
    }
    nodes {
      bounds_in_screen {
        left: 50
        top: 1
        right: 129
        bottom: 128
      }
      class_name: "android.widget.TextView"
      content_description: "2:58 PM"
      text: "2:58"
      depth: 7
    }
    nodes {
      bounds_in_screen {
        left: 129
        top: 1
        right: 129
        bottom: 128
      }
      class_name: "android.widget.FrameLayout"
      depth: 7
    }
    nodes {
      bounds_in_screen {
        left: 762
        top: 1
        right: 881
        bottom: 128
      }
      class_name: "android.widget.LinearLayout"
      depth: 7
    }
    nodes {
      bounds_in_screen {
        left: 881
        top: 1
        right: 1006
        bottom: 128
      }
      class_name: "android.widget.LinearLayout"
      content_description: "Battery charging, 100 percent."
      depth: 7
    }
    nodes {
      bounds_in_screen {
        left: 129
        top: 1
        right: 129
        bottom: 128
      }
      class_name: "android.view.ViewGroup"
      depth: 8
    }
    nodes {
      bounds_in_screen {
        left: 762
        top: 35
        right: 819
        bottom: 93
      }
      class_name: "android.widget.ImageView"
      content_description: "Do Not Disturb"
      depth: 8
    }
    nodes {
      bounds_in_screen {
        left: 819
        top: 35
        right: 865
        bottom: 93
      }
      class_name: "android.widget.FrameLayout"
      content_description: "Wifi signal full."
      depth: 8
    }
    nodes {
      bounds_in_screen {
        left: 881
        top: 47
        right: 901
        bottom: 81
      }
      class_name: "android.widget.ImageView"
      depth: 8
    }
    nodes {
      bounds_in_screen {
        left: 901
        top: 1
        right: 1006
        bottom: 128
      }
      class_name: "android.widget.TextView"
      text: "100%"
      depth: 8
    }
    nodes {
      bounds_in_screen {
        left: 826
        top: 35
        right: 865
        bottom: 93
      }
      class_name: "android.widget.LinearLayout"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 826
        top: 44
        right: 865
        bottom: 83
      }
      class_name: "android.widget.FrameLayout"
      depth: 10
    }
    nodes {
      bounds_in_screen {
        left: 826
        top: 44
        right: 865
        bottom: 83
      }
      class_name: "android.widget.ImageView"
      depth: 11
    }
  }
}
windows {
  bounds_in_screen {
    right: 1080
    bottom: 2400
  }
  id: 452
  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: 2400
      }
      class_name: "android.widget.LinearLayout"
      depth: 1
    }
    nodes {
      bounds_in_screen {
        right: 1080
        bottom: 2400
      }
      class_name: "android.widget.FrameLayout"
      depth: 2
    }
    nodes {
      bounds_in_screen {
        right: 1080
        bottom: 2400
      }
      class_name: "android.widget.FrameLayout"
      depth: 3
    }
    nodes {
      bounds_in_screen {
        right: 1080
        bottom: 2400
      }
      class_name: "android.widget.FrameLayout"
      depth: 4
    }
    nodes {
      bounds_in_screen {
        right: 1080
        bottom: 2400
      }
      class_name: "androidx.drawerlayout.widget.DrawerLayout"
      depth: 5
    }
    nodes {
      bounds_in_screen {
        right: 1080
        bottom: 2400
      }
      class_name: "android.widget.LinearLayout"
      depth: 6
    }
    nodes {
      bounds_in_screen {
        right: 1080
        bottom: 2400
      }
      class_name: "android.widget.LinearLayout"
      depth: 7
    }
    nodes {
      bounds_in_screen {
        right: 1080
        bottom: 2127
      }
      class_name: "android.view.ViewGroup"
      depth: 8
    }
    nodes {
      bounds_in_screen {
        top: 2127
        right: 1080
        bottom: 2400
      }
      class_name: "android.widget.FrameLayout"
      depth: 8
    }
    nodes {
      bounds_in_screen {
        right: 1080
        bottom: 2127
      }
      class_name: "android.widget.FrameLayout"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        top: 2127
        right: 1080
        bottom: 2127
      }
      class_name: "android.widget.FrameLayout"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        top: 2127
        right: 1080
        bottom: 2127
      }
      class_name: "android.widget.FrameLayout"
      is_clickable: true
      is_focusable: true
      depth: 9
    }
    nodes {
      bounds_in_screen {
        top: 2127
        right: 1080
        bottom: 2337
      }
      class_name: "android.view.ViewGroup"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        right: 1080
        bottom: 2127
      }
      class_name: "android.widget.FrameLayout"
      depth: 10
    }
    nodes {
      bounds_in_screen {
        left: 63
        top: 2190
        right: 1017
        bottom: 2127
      }
      class_name: "android.widget.ScrollView"
      is_focusable: true
      depth: 10
    }
    nodes {
      bounds_in_screen {
        top: 2127
        right: 360
        bottom: 2337
      }
      class_name: "android.widget.FrameLayout"
      content_description: "Contacts"
      is_clickable: true
      is_focusable: true
      depth: 10
      tooltip_text: "Contacts"
    }
    nodes {
      bounds_in_screen {
        left: 360
        top: 2127
        right: 720
        bottom: 2337
      }
      class_name: "android.widget.FrameLayout"
      content_description: "Highlights"
      is_clickable: true
      is_focusable: true
      depth: 10
      tooltip_text: "Highlights"
    }
    nodes {
      bounds_in_screen {
        left: 720
        top: 2127
        right: 1080
        bottom: 2337
      }
      class_name: "android.widget.FrameLayout"
      content_description: "Fix & manage"
      is_focusable: true
      is_selected: true
      depth: 10
      tooltip_text: "Fix & manage"
    }
    nodes {
      bounds_in_screen {
        right: 1080
        bottom: 2127
      }
      class_name: "android.widget.FrameLayout"
      depth: 11
    }
    nodes {
      bounds_in_screen {
        left: 63
        top: 2190
        right: 1017
        bottom: 2127
      }
      class_name: "android.view.ViewGroup"
      depth: 11
    }
    nodes {
      bounds_in_screen {
        left: 96
        top: 2159
        right: 264
        bottom: 2243
      }
      class_name: "android.widget.FrameLayout"
      depth: 11
    }
    nodes {
      bounds_in_screen {
        left: 111
        top: 2261
        right: 249
        bottom: 2337
      }
      class_name: "android.view.ViewGroup"
      depth: 11
    }
    nodes {
      bounds_in_screen {
        left: 456
        top: 2159
        right: 624
        bottom: 2243
      }
      class_name: "android.widget.FrameLayout"
      depth: 11
    }
    nodes {
      bounds_in_screen {
        left: 463
        top: 2261
        right: 616
        bottom: 2337
      }
      class_name: "android.view.ViewGroup"
      depth: 11
    }
    nodes {
      bounds_in_screen {
        left: 816
        top: 2159
        right: 984
        bottom: 2243
      }
      class_name: "android.widget.FrameLayout"
      is_selected: true
      depth: 11
    }
    nodes {
      bounds_in_screen {
        left: 797
        top: 2261
        right: 1002
        bottom: 2337
      }
      class_name: "android.view.ViewGroup"
      is_selected: true
      depth: 11
    }
    nodes {
      bounds_in_screen {
        right: 1080
        bottom: 2127
      }
      class_name: "android.widget.ScrollView"
      is_scrollable: true
      depth: 12
    }
    nodes {
      bounds_in_screen {
        left: 63
        top: 2190
        right: 221
        bottom: 2127
      }
      class_name: "android.widget.ImageView"
      depth: 12
    }
    nodes {
      bounds_in_screen {
        left: 263
        top: 2190
        right: 263
        bottom: 2127
      }
      class_name: "android.widget.TextView"
      depth: 12
    }
    nodes {
      bounds_in_screen {
        left: 640
        top: 2258
        right: 640
        bottom: 2127
      }
      class_name: "android.widget.TextView"
      depth: 12
    }
    nodes {
      bounds_in_screen {
        left: 534
        top: 2313
        right: 765
        bottom: 2127
      }
      class_name: "android.widget.Button"
      text: "Not now"
      is_clickable: true
      is_focusable: true
      depth: 12
    }
    nodes {
      bounds_in_screen {
        left: 786
        top: 2313
        right: 1017
        bottom: 2127
      }
      class_name: "android.widget.Button"
      text: "Try it"
      is_clickable: true
      is_focusable: true
      depth: 12
    }
    nodes {
      bounds_in_screen {
        left: 146
        top: 2159
        right: 214
        bottom: 2243
      }
      class_name: "android.view.View"
      depth: 12
    }
    nodes {
      bounds_in_screen {
        left: 148
        top: 2169
        right: 211
        bottom: 2232
      }
      class_name: "android.widget.ImageView"
      depth: 12
    }
    nodes {
      bounds_in_screen {
        left: 111
        top: 2261
        right: 249
        bottom: 2308
      }
      class_name: "android.widget.TextView"
      text: "Contacts"
      depth: 12
    }
    nodes {
      bounds_in_screen {
        left: 506
        top: 2159
        right: 574
        bottom: 2243
      }
      class_name: "android.view.View"
      depth: 12
    }
    nodes {
      bounds_in_screen {
        left: 508
        top: 2169
        right: 571
        bottom: 2232
      }
      class_name: "android.widget.ImageView"
      depth: 12
    }
    nodes {
      bounds_in_screen {
        left: 463
        top: 2261
        right: 616
        bottom: 2308
      }
      class_name: "android.widget.TextView"
      text: "Highlights"
      depth: 12
    }
    nodes {
      bounds_in_screen {
        left: 816
        top: 2159
        right: 984
        bottom: 2243
      }
      class_name: "android.view.View"
      is_selected: true
      depth: 12
    }
    nodes {
      bounds_in_screen {
        left: 868
        top: 2169
        right: 931
        bottom: 2232
      }
      class_name: "android.widget.ImageView"
      is_selected: true
      depth: 12
    }
    nodes {
      bounds_in_screen {
        left: 797
        top: 2261
        right: 1002
        bottom: 2308
      }
      class_name: "android.widget.TextView"
      text: "Fix & manage"
      is_selected: true
      depth: 12
    }
    nodes {
      bounds_in_screen {
        right: 1080
        bottom: 422
      }
      class_name: "android.widget.LinearLayout"
      depth: 13
    }
    nodes {
      bounds_in_screen {
        top: 422
        right: 1080
        bottom: 2127
      }
      class_name: "android.widget.ScrollView"
      is_focusable: true
      depth: 13
    }
    nodes {
      bounds_in_screen {
        right: 1080
        bottom: 422
      }
      class_name: "android.widget.FrameLayout"
      content_description: "Fix & manage"
      depth: 14
    }
    nodes {
      bounds_in_screen {
        top: 464
        right: 1080
        bottom: 1774
      }
      class_name: "android.widget.LinearLayout"
      depth: 14
    }
    nodes {
      bounds_in_screen {
        top: 128
        right: 1080
        bottom: 296
      }
      class_name: "android.view.ViewGroup"
      depth: 15
    }
    nodes {
      bounds_in_screen {
        top: 464
        right: 1080
        bottom: 1085
      }
      class_name: "android.widget.LinearLayout"
      depth: 15
    }
    nodes {
      bounds_in_screen {
        top: 1106
        right: 1080
        bottom: 1774
      }
      class_name: "android.widget.LinearLayout"
      depth: 15
    }
    nodes {
      bounds_in_screen {
        left: 42
        top: 128
        right: 933
        bottom: 296
      }
      class_name: "android.view.View"
      depth: 16
    }
    nodes {
      bounds_in_screen {
        left: 42
        top: 169
        right: 42
        bottom: 254
      }
      class_name: "android.widget.TextView"
      text: "Fix & manage"
      depth: 16
    }
    nodes {
      bounds_in_screen {
        left: 933
        top: 138
        right: 1080
        bottom: 285
      }
      class_name: "android.support.v7.widget.LinearLayoutCompat"
      depth: 16
    }
    nodes {
      bounds_in_screen {
        top: 464
        right: 1080
        bottom: 1064
      }
      class_name: "android.widget.GridView"
      is_focusable: true
      depth: 16
    }
    nodes {
      bounds_in_screen {
        top: 1106
        right: 1080
        bottom: 1153
      }
      class_name: "android.widget.TextView"
      text: "Other tools"
      depth: 16
    }
    nodes {
      bounds_in_screen {
        top: 1174
        right: 1080
        bottom: 1774
      }
      class_name: "android.support.v7.widget.RecyclerView"
      is_focusable: true
      depth: 16
    }
    nodes {
      bounds_in_screen {
        left: 933
        top: 148
        right: 1080
        bottom: 274
      }
      class_name: "android.widget.FrameLayout"
      content_description: "Signed in as Kieran sato kieransato10@gmail.com\nAccount and settings."
      is_clickable: true
      is_focusable: true
      depth: 17
    }
    nodes {
      bounds_in_screen {
        left: 42
        top: 485
        right: 519
        bottom: 643
      }
      class_name: "androidx.cardview.widget.CardView"
      is_clickable: true
      is_focusable: true
      depth: 17
    }
    nodes {
      bounds_in_screen {
        left: 561
        top: 485
        right: 1038
        bottom: 643
      }
      class_name: "androidx.cardview.widget.CardView"
      is_clickable: true
      is_focusable: true
      depth: 17
    }
    nodes {
      bounds_in_screen {
        left: 42
        top: 685
        right: 519
        bottom: 843
      }
      class_name: "androidx.cardview.widget.CardView"
      is_clickable: true
      is_focusable: true
      depth: 17
    }
    nodes {
      bounds_in_screen {
        left: 561
        top: 685
        right: 1038
        bottom: 843
      }
      class_name: "androidx.cardview.widget.CardView"
      is_clickable: true
      is_focusable: true
      depth: 17
    }
    nodes {
      bounds_in_screen {
        left: 42
        top: 885
        right: 519
        bottom: 1043
      }
      class_name: "androidx.cardview.widget.CardView"
      is_clickable: true
      is_focusable: true
      depth: 17
    }
    nodes {
      bounds_in_screen {
        left: 561
        top: 885
        right: 1038
        bottom: 1043
      }
      class_name: "androidx.cardview.widget.CardView"
      is_clickable: true
      is_focusable: true
      depth: 17
    }
    nodes {
      bounds_in_screen {
        top: 1174
        right: 1080
        bottom: 1324
      }
      class_name: "android.widget.LinearLayout"
      is_clickable: true
      is_focusable: true
      depth: 17
    }
    nodes {
      bounds_in_screen {
        top: 1324
        right: 1080
        bottom: 1474
      }
      class_name: "android.widget.LinearLayout"
      is_clickable: true
      is_focusable: true
      depth: 17
    }
    nodes {
      bounds_in_screen {
        top: 1474
        right: 1080
        bottom: 1624
      }
      class_name: "android.widget.LinearLayout"
      is_clickable: true
      is_focusable: true
      depth: 17
    }
    nodes {
      bounds_in_screen {
        top: 1624
        right: 1080
        bottom: 1774
      }
      class_name: "android.widget.LinearLayout"
      is_clickable: true
      is_focusable: true
      depth: 17
    }
    nodes {
      bounds_in_screen {
        left: 933
        top: 148
        right: 1059
        bottom: 274
      }
      class_name: "android.widget.FrameLayout"
      depth: 18
    }
    nodes {
      bounds_in_screen {
        left: 42
        top: 485
        right: 519
        bottom: 643
      }
      class_name: "android.widget.TextView"
      text: "Merge & fix"
      depth: 18
    }
    nodes {
      bounds_in_screen {
        left: 561
        top: 485
        right: 1038
        bottom: 643
      }
      class_name: "android.widget.TextView"
      text: "Restore contacts"
      depth: 18
    }
    nodes {
      bounds_in_screen {
        left: 42
        top: 685
        right: 519
        bottom: 843
      }
      class_name: "android.widget.TextView"
      text: "Import from file"
      depth: 18
    }
    nodes {
      bounds_in_screen {
        left: 561
        top: 685
        right: 1038
        bottom: 843
      }
      class_name: "android.widget.TextView"
      text: "Export to file"
      depth: 18
    }
    nodes {
      bounds_in_screen {
        left: 42
        top: 885
        right: 519
        bottom: 1043
      }
      class_name: "android.widget.TextView"
      text: "Trash"
      depth: 18
    }
    nodes {
      bounds_in_screen {
        left: 561
        top: 885
        right: 1038
        bottom: 1043
      }
      class_name: "android.widget.TextView"
      text: "Settings"
      depth: 18
    }
    nodes {
      bounds_in_screen {
        top: 1174
        right: 536
        bottom: 1321
      }
      class_name: "android.widget.TextView"
      text: "Emergency contacts"
      depth: 18
    }
    nodes {
      bounds_in_screen {
        left: 137
        top: 1321
        right: 1080
        bottom: 1324
      }
      class_name: "android.view.View"
      depth: 18
    }
    nodes {
      bounds_in_screen {
        top: 1324
        right: 527
        bottom: 1471
      }
      class_name: "android.widget.TextView"
      text: "Household contacts"
      depth: 18
    }
    nodes {
      bounds_in_screen {
        left: 137
        top: 1471
        right: 1080
        bottom: 1474
      }
      class_name: "android.view.View"
      depth: 18
    }
    nodes {
      bounds_in_screen {
        top: 1474
        right: 403
        bottom: 1621
      }
      class_name: "android.widget.TextView"
      text: "Family group"
      depth: 18
    }
    nodes {
      bounds_in_screen {
        left: 137
        top: 1621
        right: 1080
        bottom: 1624
      }
      class_name: "android.view.View"
      depth: 18
    }
    nodes {
      bounds_in_screen {
        top: 1624
        right: 481
        bottom: 1771
      }
      class_name: "android.widget.TextView"
      text: "Blocked numbers"
      depth: 18
    }
    nodes {
      bounds_in_screen {
        left: 137
        top: 1771
        right: 1080
        bottom: 1774
      }
      class_name: "android.view.View"
      depth: 18
    }
    nodes {
      bounds_in_screen {
        left: 938
        top: 153
        right: 938
        bottom: 153
      }
      class_name: "android.widget.FrameLayout"
      depth: 19
    }
    nodes {
      bounds_in_screen {
        left: 938
        top: 153
        right: 1054
        bottom: 269
      }
      class_name: "android.widget.ImageView"
      depth: 19
    }
  }
}

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