instruction
I want to add my wife's contact number to my phone's contact list and save it as Clara, so save 2111112222 this number as Clara in the Contacts app.
previous_actions
{"name": "navigate_back", "parameters": {}}
{"name": "click", "parameters": {"x": 161, "y": 366}}
active_application
Contacts
screen_description
windows {
  bounds_in_screen {
    right: 1080
    bottom: 136
  }
  id: 7
  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: 416
        bottom: 136
      }
      class_name: "android.widget.FrameLayout"
      depth: 5
    }
    nodes {
      bounds_in_screen {
        left: 819
        top: 1
        right: 1006
        bottom: 136
      }
      class_name: "android.widget.LinearLayout"
      depth: 5
    }
    nodes {
      bounds_in_screen {
        left: 47
        top: 1
        right: 416
        bottom: 136
      }
      class_name: "android.widget.LinearLayout"
      depth: 6
    }
    nodes {
      bounds_in_screen {
        left: 819
        top: 1
        right: 1006
        bottom: 136
      }
      class_name: "android.widget.LinearLayout"
      depth: 6
    }
    nodes {
      bounds_in_screen {
        left: 47
        top: 1
        right: 126
        bottom: 136
      }
      class_name: "android.widget.TextView"
      content_description: "2:23 PM"
      text: "2:23"
      depth: 7
    }
    nodes {
      bounds_in_screen {
        left: 126
        top: 1
        right: 416
        bottom: 136
      }
      class_name: "android.widget.FrameLayout"
      depth: 7
    }
    nodes {
      bounds_in_screen {
        left: 819
        top: 1
        right: 881
        bottom: 136
      }
      class_name: "android.widget.LinearLayout"
      depth: 7
    }
    nodes {
      bounds_in_screen {
        left: 881
        top: 1
        right: 1006
        bottom: 136
      }
      class_name: "android.widget.LinearLayout"
      content_description: "Battery charging, 100 percent."
      depth: 7
    }
    nodes {
      bounds_in_screen {
        left: 126
        top: 1
        right: 416
        bottom: 136
      }
      class_name: "android.view.ViewGroup"
      depth: 8
    }
    nodes {
      bounds_in_screen {
        left: 819
        top: 39
        right: 865
        bottom: 97
      }
      class_name: "android.widget.FrameLayout"
      content_description: "Wifi three bars."
      depth: 8
    }
    nodes {
      bounds_in_screen {
        left: 881
        top: 51
        right: 901
        bottom: 85
      }
      class_name: "android.widget.ImageView"
      depth: 8
    }
    nodes {
      bounds_in_screen {
        left: 901
        top: 1
        right: 1006
        bottom: 136
      }
      class_name: "android.widget.TextView"
      text: "100%"
      depth: 8
    }
    nodes {
      bounds_in_screen {
        left: 126
        top: 1
        right: 184
        bottom: 136
      }
      class_name: "android.widget.ImageView"
      content_description: "Plantix notification: Recommended community content for you 📬"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 184
        top: 1
        right: 242
        bottom: 136
      }
      class_name: "android.widget.ImageView"
      content_description: "Blossom notification: \'ihi: Water"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 242
        top: 1
        right: 300
        bottom: 136
      }
      class_name: "android.widget.ImageView"
      content_description: "Runkeeper notification: End the year uplifted!"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 300
        top: 1
        right: 358
        bottom: 136
      }
      class_name: "android.widget.ImageView"
      content_description: "Tasks notification: Morning walk"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 358
        top: 1
        right: 416
        bottom: 136
      }
      class_name: "android.widget.ImageView"
      content_description: "Gmail notification: 14 new messages"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 376
        top: 1
        right: 416
        bottom: 136
      }
      class_name: "android.widget.ImageView"
      content_description: "Google Play services notification: "
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 376
        top: 1
        right: 416
        bottom: 136
      }
      class_name: "android.widget.ImageView"
      content_description: "Pepperfry notification: "
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 376
        top: 1
        right: 416
        bottom: 136
      }
      class_name: "android.widget.ImageView"
      content_description: "Gmail notification: 5 new messages"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 376
        top: 1
        right: 416
        bottom: 136
      }
      class_name: "android.widget.ImageView"
      content_description: "Google Play Store notification: "
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 826
        top: 39
        right: 865
        bottom: 97
      }
      class_name: "android.widget.LinearLayout"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 826
        top: 48
        right: 865
        bottom: 87
      }
      class_name: "android.widget.FrameLayout"
      depth: 10
    }
    nodes {
      bounds_in_screen {
        left: 826
        top: 48
        right: 865
        bottom: 87
      }
      class_name: "android.widget.ImageView"
      depth: 11
    }
  }
}
windows {
  bounds_in_screen {
    right: 1080
    bottom: 2400
  }
  id: 1353
  title: "Contacts"
  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 {
        top: 2337
        right: 1080
        bottom: 2400
      }
      class_name: "android.view.View"
      depth: 1
    }
    nodes {
      bounds_in_screen {
        right: 1080
        bottom: 2337
      }
      class_name: "android.widget.FrameLayout"
      depth: 2
    }
    nodes {
      bounds_in_screen {
        right: 1080
        bottom: 2337
      }
      class_name: "android.widget.LinearLayout"
      depth: 3
    }
    nodes {
      bounds_in_screen {
        right: 1080
        bottom: 2337
      }
      class_name: "android.widget.FrameLayout"
      depth: 4
    }
    nodes {
      bounds_in_screen {
        right: 1080
        bottom: 2337
      }
      class_name: "android.widget.RelativeLayout"
      depth: 5
    }
    nodes {
      bounds_in_screen {
        right: 1080
        bottom: 2337
      }
      class_name: "android.widget.ScrollView"
      is_focusable: true
      is_scrollable: true
      depth: 6
    }
    nodes {
      bounds_in_screen {
        right: 1080
        bottom: 263
      }
      class_name: "android.widget.ImageView"
      depth: 6
    }
    nodes {
      bounds_in_screen {
        top: 136
        right: 1080
        bottom: 304
      }
      class_name: "android.widget.LinearLayout"
      depth: 6
    }
    nodes {
      bounds_in_screen {
        right: 1080
        bottom: 2337
      }
      class_name: "android.widget.RelativeLayout"
      depth: 7
    }
    nodes {
      bounds_in_screen {
        top: 136
        right: 1080
        bottom: 304
      }
      class_name: "android.view.ViewGroup"
      depth: 7
    }
    nodes {
      bounds_in_screen {
        right: 1080
        bottom: 788
      }
      class_name: "android.widget.ImageView"
      content_description: "Change photo"
      is_clickable: true
      is_focusable: true
      depth: 8
    }
    nodes {
      bounds_in_screen {
        left: 21
        top: 641
        right: 147
        bottom: 767
      }
      class_name: "android.widget.ImageView"
      content_description: "Toggle favorite"
      is_clickable: true
      is_focusable: true
      is_long_clickable: true
      depth: 8
    }
    nodes {
      bounds_in_screen {
        left: 933
        top: 641
        right: 1059
        bottom: 767
      }
      class_name: "android.widget.ImageView"
      content_description: "Change photo"
      is_clickable: true
      is_focusable: true
      is_long_clickable: true
      depth: 8
    }
    nodes {
      bounds_in_screen {
        left: 32
        top: 820
        right: 137
        bottom: 925
      }
      class_name: "android.widget.ImageView"
      depth: 8
    }
    nodes {
      bounds_in_screen {
        left: 137
        top: 820
        right: 1038
        bottom: 932
      }
      class_name: "android.widget.EditText"
      hint_text: "First name"
      text: "First name"
      is_clickable: true
      is_editable: true
      is_focusable: true
      is_long_clickable: true
      depth: 8
    }
    nodes {
      bounds_in_screen {
        left: 137
        top: 964
        right: 1038
        bottom: 1076
      }
      class_name: "android.widget.EditText"
      hint_text: "Surname"
      text: "Surname"
      is_clickable: true
      is_editable: true
      is_focusable: true
      is_long_clickable: true
      depth: 8
    }
    nodes {
      bounds_in_screen {
        left: 32
        top: 1108
        right: 137
        bottom: 1213
      }
      class_name: "android.widget.ImageView"
      depth: 8
    }
    nodes {
      bounds_in_screen {
        left: 137
        top: 1108
        right: 1080
        bottom: 1220
      }
      class_name: "android.widget.LinearLayout"
      depth: 8
    }
    nodes {
      bounds_in_screen {
        left: 466
        top: 1231
        right: 613
        bottom: 1336
      }
      class_name: "android.widget.ImageView"
      is_clickable: true
      is_focusable: true
      depth: 8
    }
    nodes {
      bounds_in_screen {
        left: 32
        top: 1357
        right: 137
        bottom: 1462
      }
      class_name: "android.widget.ImageView"
      depth: 8
    }
    nodes {
      bounds_in_screen {
        left: 137
        top: 1357
        right: 1080
        bottom: 1469
      }
      class_name: "android.widget.LinearLayout"
      depth: 8
    }
    nodes {
      bounds_in_screen {
        left: 466
        top: 1480
        right: 613
        bottom: 1585
      }
      class_name: "android.widget.ImageView"
      is_clickable: true
      is_focusable: true
      depth: 8
    }
    nodes {
      bounds_in_screen {
        left: 32
        top: 1606
        right: 137
        bottom: 1711
      }
      class_name: "android.widget.ImageView"
      depth: 8
    }
    nodes {
      bounds_in_screen {
        left: 137
        top: 1606
        right: 1080
        bottom: 1718
      }
      class_name: "android.widget.LinearLayout"
      depth: 8
    }
    nodes {
      bounds_in_screen {
        left: 466
        top: 1729
        right: 613
        bottom: 1834
      }
      class_name: "android.widget.ImageView"
      is_clickable: true
      is_focusable: true
      depth: 8
    }
    nodes {
      bounds_in_screen {
        left: 32
        top: 1855
        right: 137
        bottom: 1960
      }
      class_name: "android.widget.ImageView"
      depth: 8
    }
    nodes {
      bounds_in_screen {
        left: 137
        top: 1855
        right: 1080
        bottom: 1976
      }
      class_name: "android.widget.LinearLayout"
      depth: 8
    }
    nodes {
      bounds_in_screen {
        left: 466
        top: 1987
        right: 613
        bottom: 2092
      }
      class_name: "android.widget.ImageView"
      is_clickable: true
      is_focusable: true
      depth: 8
    }
    nodes {
      bounds_in_screen {
        left: 32
        top: 2124
        right: 137
        bottom: 2229
      }
      class_name: "android.widget.ImageView"
      depth: 8
    }
    nodes {
      bounds_in_screen {
        left: 137
        top: 2124
        right: 1038
        bottom: 2236
      }
      class_name: "android.widget.EditText"
      hint_text: "Notes"
      text: "Notes"
      is_clickable: true
      is_editable: true
      is_focusable: true
      is_long_clickable: true
      depth: 8
    }
    nodes {
      bounds_in_screen {
        left: 32
        top: 2257
        right: 137
        bottom: 2337
      }
      class_name: "android.widget.ImageView"
      depth: 8
    }
    nodes {
      bounds_in_screen {
        left: 137
        top: 2257
        right: 1080
        bottom: 2337
      }
      class_name: "android.widget.LinearLayout"
      depth: 8
    }
    nodes {
      bounds_in_screen {
        left: 466
        top: 2389
        right: 613
        bottom: 2337
      }
      class_name: "android.widget.ImageView"
      is_clickable: true
      is_focusable: true
      depth: 8
    }
    nodes {
      bounds_in_screen {
        left: 32
        top: 2515
        right: 137
        bottom: 2337
      }
      class_name: "android.widget.ImageView"
      depth: 8
    }
    nodes {
      bounds_in_screen {
        left: 137
        top: 2515
        right: 1080
        bottom: 2337
      }
      class_name: "android.widget.TextView"
      text: "dbwscratch.test.id4@gmail.com"
      is_clickable: true
      is_focusable: true
      depth: 8
    }
    nodes {
      bounds_in_screen {
        top: 146
        right: 147
        bottom: 293
      }
      class_name: "android.widget.ImageButton"
      is_clickable: true
      is_focusable: true
      depth: 8
    }
    nodes {
      bounds_in_screen {
        left: 848
        top: 146
        right: 1080
        bottom: 293
      }
      class_name: "androidx.appcompat.widget.LinearLayoutCompat"
      depth: 8
    }
    nodes {
      bounds_in_screen {
        left: 137
        top: 1108
        right: 1080
        bottom: 1220
      }
      class_name: "android.widget.RelativeLayout"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 137
        top: 1357
        right: 1080
        bottom: 1469
      }
      class_name: "android.widget.RelativeLayout"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 137
        top: 1606
        right: 1080
        bottom: 1718
      }
      class_name: "android.widget.RelativeLayout"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 137
        top: 1855
        right: 1080
        bottom: 1976
      }
      class_name: "android.widget.RelativeLayout"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 137
        top: 2257
        right: 1080
        bottom: 2337
      }
      class_name: "android.widget.RelativeLayout"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 848
        top: 156
        right: 975
        bottom: 282
      }
      class_name: "android.widget.TextView"
      content_description: "Save"
      is_clickable: true
      is_focusable: true
      depth: 9
      tooltip_text: "Save"
    }
    nodes {
      bounds_in_screen {
        left: 975
        top: 156
        right: 1080
        bottom: 282
      }
      class_name: "android.widget.ImageView"
      content_description: "More options"
      is_clickable: true
      is_focusable: true
      is_long_clickable: true
      depth: 9
      tooltip_text: "More options"
    }
    nodes {
      bounds_in_screen {
        left: 137
        top: 1108
        right: 854
        bottom: 1220
      }
      class_name: "android.widget.EditText"
      hint_text: "Number"
      text: "Number"
      is_clickable: true
      is_editable: true
      is_focusable: true
      is_long_clickable: true
      depth: 10
    }
    nodes {
      bounds_in_screen {
        left: 854
        top: 1108
        right: 1038
        bottom: 1220
      }
      class_name: "android.widget.TextView"
      text: "Mobile"
      is_clickable: true
      is_focusable: true
      depth: 10
    }
    nodes {
      bounds_in_screen {
        left: 137
        top: 1357
        right: 883
        bottom: 1469
      }
      class_name: "android.widget.EditText"
      hint_text: "Email"
      text: "Email"
      is_clickable: true
      is_editable: true
      is_focusable: true
      is_long_clickable: true
      depth: 10
    }
    nodes {
      bounds_in_screen {
        left: 883
        top: 1357
        right: 1038
        bottom: 1469
      }
      class_name: "android.widget.TextView"
      text: "Home"
      is_clickable: true
      is_focusable: true
      depth: 10
    }
    nodes {
      bounds_in_screen {
        left: 137
        top: 1606
        right: 883
        bottom: 1718
      }
      class_name: "android.widget.EditText"
      hint_text: "Address"
      text: "Address"
      is_clickable: true
      is_editable: true
      is_focusable: true
      is_long_clickable: true
      depth: 10
    }
    nodes {
      bounds_in_screen {
        left: 883
        top: 1606
        right: 1038
        bottom: 1718
      }
      class_name: "android.widget.TextView"
      text: "Home"
      is_clickable: true
      is_focusable: true
      depth: 10
    }
    nodes {
      bounds_in_screen {
        left: 137
        top: 1855
        right: 841
        bottom: 1976
      }
      class_name: "android.widget.TextView"
      text: "Unknown"
      is_clickable: true
      is_focusable: true
      depth: 10
    }
    nodes {
      bounds_in_screen {
        left: 841
        top: 1855
        right: 1038
        bottom: 1976
      }
      class_name: "android.widget.TextView"
      text: "Birthday"
      is_clickable: true
      is_focusable: true
      depth: 10
    }
    nodes {
      bounds_in_screen {
        left: 137
        top: 2257
        right: 1038
        bottom: 2337
      }
      class_name: "android.widget.TextView"
      text: "No groups"
      is_clickable: true
      is_focusable: true
      depth: 10
    }
  }
}

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