instruction
Open the Microsft To Do app and add a due date of July 31st, 2023 for  birthday party 
previous_actions
{"name": "open_app", "parameters": {"app_name": "To Do"}}
{"name": "click", "parameters": {"x": 540, "y": 875}}
{"name": "click", "parameters": {"x": 518, "y": 452}}
{"name": "click", "parameters": {"x": 623, "y": 992}}
{"name": "click", "parameters": {"x": 538, "y": 1461}}
{"name": "click", "parameters": {"x": 802, "y": 1798}}
active_application
Details for task: Birthday party
screen_description
windows {
  bounds_in_screen {
    right: 1080
    bottom: 128
  }
  id: 8
  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: 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: 442
        bottom: 128
      }
      class_name: "android.widget.FrameLayout"
      depth: 5
    }
    nodes {
      bounds_in_screen {
        left: 924
        top: 1
        right: 1006
        bottom: 128
      }
      class_name: "android.widget.LinearLayout"
      depth: 5
    }
    nodes {
      bounds_in_screen {
        left: 50
        top: 1
        right: 442
        bottom: 128
      }
      class_name: "android.widget.LinearLayout"
      depth: 6
    }
    nodes {
      bounds_in_screen {
        left: 924
        top: 1
        right: 1006
        bottom: 128
      }
      class_name: "android.widget.LinearLayout"
      depth: 6
    }
    nodes {
      bounds_in_screen {
        left: 50
        top: 1
        right: 152
        bottom: 128
      }
      class_name: "android.widget.TextView"
      content_description: "12:23 pm"
      text: "12:23"
      depth: 7
    }
    nodes {
      bounds_in_screen {
        left: 152
        top: 1
        right: 442
        bottom: 128
      }
      class_name: "android.widget.FrameLayout"
      depth: 7
    }
    nodes {
      bounds_in_screen {
        left: 924
        top: 1
        right: 986
        bottom: 128
      }
      class_name: "android.widget.LinearLayout"
      depth: 7
    }
    nodes {
      bounds_in_screen {
        left: 986
        top: 1
        right: 1006
        bottom: 128
      }
      class_name: "android.widget.LinearLayout"
      content_description: "Battery charging, 100 percent."
      depth: 7
    }
    nodes {
      bounds_in_screen {
        left: 152
        top: 1
        right: 442
        bottom: 128
      }
      class_name: "android.view.ViewGroup"
      depth: 8
    }
    nodes {
      bounds_in_screen {
        left: 924
        top: 35
        right: 970
        bottom: 93
      }
      class_name: "android.widget.FrameLayout"
      content_description: "Wi-Fi three bars."
      depth: 8
    }
    nodes {
      bounds_in_screen {
        left: 986
        top: 47
        right: 1006
        bottom: 81
      }
      class_name: "android.widget.ImageView"
      depth: 8
    }
    nodes {
      bounds_in_screen {
        left: 152
        top: 1
        right: 210
        bottom: 128
      }
      class_name: "android.widget.ImageView"
      content_description: "AJIO notification: "
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 210
        top: 1
        right: 268
        bottom: 128
      }
      class_name: "android.widget.ImageView"
      content_description: "Martinoz Pizza notification: Wednesday call: Pizza Now, Nap Later.."
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 268
        top: 1
        right: 326
        bottom: 128
      }
      class_name: "android.widget.ImageView"
      content_description: "Moon Phase Calendar notification: 54%"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 326
        top: 1
        right: 384
        bottom: 128
      }
      class_name: "android.widget.ImageView"
      content_description: "Shoppers Stop notification: Oh SO GOOD offer! 😎"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 384
        top: 1
        right: 442
        bottom: 128
      }
      class_name: "android.widget.ImageView"
      content_description: "System update notification: Couldn\'t install system update"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 402
        top: 1
        right: 442
        bottom: 128
      }
      class_name: "android.widget.ImageView"
      content_description: "Google Play Store notification: Complete setup by installing apps"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 931
        top: 35
        right: 970
        bottom: 93
      }
      class_name: "android.widget.LinearLayout"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 931
        top: 44
        right: 970
        bottom: 83
      }
      class_name: "android.widget.FrameLayout"
      depth: 10
    }
    nodes {
      bounds_in_screen {
        left: 931
        top: 44
        right: 970
        bottom: 83
      }
      class_name: "android.widget.ImageView"
      depth: 11
    }
  }
}
windows {
  bounds_in_screen {
    right: 1080
    bottom: 2400
  }
  id: 943
  title: "Details for task: Birthday party"
  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: 128
      }
      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 {
        right: 1080
        bottom: 2337
      }
      class_name: "android.widget.FrameLayout"
      depth: 2
    }
    nodes {
      bounds_in_screen {
        right: 1080
        bottom: 2337
      }
      class_name: "android.widget.FrameLayout"
      depth: 3
    }
    nodes {
      bounds_in_screen {
        right: 1080
        bottom: 2337
      }
      class_name: "android.widget.FrameLayout"
      is_clickable: true
      is_focusable: true
      depth: 4
    }
    nodes {
      bounds_in_screen {
        right: 1080
        bottom: 2337
      }
      class_name: "android.widget.FrameLayout"
      depth: 5
    }
    nodes {
      bounds_in_screen {
        right: 1080
        bottom: 2337
      }
      class_name: "android.widget.FrameLayout"
      depth: 6
    }
    nodes {
      bounds_in_screen {
        right: 1080
        bottom: 2337
      }
      class_name: "android.view.ViewGroup"
      is_clickable: true
      is_focusable: true
      depth: 7
    }
    nodes {
      bounds_in_screen {
        top: 128
        right: 1080
        bottom: 2337
      }
      class_name: "android.view.View"
      depth: 8
    }
    nodes {
      bounds_in_screen {
        top: 128
        right: 1080
        bottom: 2211
      }
      class_name: "android.widget.RelativeLayout"
      depth: 8
    }
    nodes {
      bounds_in_screen {
        top: 2211
        right: 1080
        bottom: 2337
      }
      class_name: "android.widget.FrameLayout"
      depth: 8
    }
    nodes {
      bounds_in_screen {
        top: 128
        right: 1080
        bottom: 2211
      }
      class_name: "android.view.View"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        top: 128
        right: 1080
        bottom: 443
      }
      class_name: "android.widget.ScrollView"
      is_focusable: true
      depth: 9
    }
    nodes {
      bounds_in_screen {
        top: 443
        right: 1080
        bottom: 2211
      }
      class_name: "androidx.recyclerview.widget.RecyclerView"
      is_focusable: true
      depth: 9
    }
    nodes {
      bounds_in_screen {
        top: 2211
        right: 1080
        bottom: 2214
      }
      class_name: "android.view.View"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 42
        top: 2211
        right: 414
        bottom: 2337
      }
      class_name: "android.widget.TextView"
      text: "Created 6 minutes ago"
      is_focusable: true
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 954
        top: 2211
        right: 1080
        bottom: 2337
      }
      class_name: "android.widget.ImageView"
      content_description: "Delete task"
      is_clickable: true
      is_focusable: true
      depth: 9
    }
    nodes {
      bounds_in_screen {
        top: 128
        right: 1080
        bottom: 443
      }
      class_name: "android.view.ViewGroup"
      is_focusable: true
      depth: 10
    }
    nodes {
      bounds_in_screen {
        top: 443
        right: 1080
        bottom: 612
      }
      class_name: "android.widget.FrameLayout"
      depth: 10
    }
    nodes {
      bounds_in_screen {
        top: 612
        right: 1080
        bottom: 1195
      }
      class_name: "android.widget.LinearLayout"
      depth: 10
    }
    nodes {
      bounds_in_screen {
        left: 21
        top: 1216
        right: 1059
        bottom: 1347
      }
      class_name: "android.view.ViewGroup"
      is_clickable: true
      is_focusable: true
      depth: 10
    }
    nodes {
      bounds_in_screen {
        left: 21
        top: 1368
        right: 1059
        bottom: 1904
      }
      class_name: "android.widget.FrameLayout"
      content_description: "Add note, Button"
      is_clickable: true
      is_focusable: true
      depth: 10
    }
    nodes {
      bounds_in_screen {
        top: 128
        right: 147
        bottom: 275
      }
      class_name: "android.widget.ImageButton"
      content_description: "Dismiss detail view"
      is_clickable: true
      is_focusable: true
      depth: 11
    }
    nodes {
      bounds_in_screen {
        left: 179
        top: 128
        right: 996
        bottom: 275
      }
      class_name: "android.widget.TextView"
      text: "Tasks"
      is_focusable: true
      depth: 11
    }
    nodes {
      bounds_in_screen {
        left: 3
        top: 275
        right: 145
        bottom: 417
      }
      class_name: "android.widget.FrameLayout"
      content_description: "Incomplete task Birthday party, Button"
      is_clickable: true
      is_focusable: true
      depth: 11
    }
    nodes {
      bounds_in_screen {
        left: 145
        top: 275
        right: 943
        bottom: 422
      }
      class_name: "android.widget.TextView"
      text: "Birthday party"
      is_clickable: true
      is_focusable: true
      depth: 11
    }
    nodes {
      bounds_in_screen {
        left: 943
        top: 275
        right: 1069
        bottom: 401
      }
      class_name: "android.widget.FrameLayout"
      content_description: "Normal task Birthday party, Button"
      is_clickable: true
      is_focusable: true
      depth: 11
    }
    nodes {
      bounds_in_screen {
        left: 63
        top: 480
        right: 126
        bottom: 543
      }
      class_name: "android.widget.ImageView"
      is_clickable: true
      depth: 11
    }
    nodes {
      bounds_in_screen {
        left: 63
        top: 480
        right: 126
        bottom: 543
      }
      class_name: "android.widget.ImageView"
      depth: 11
    }
    nodes {
      bounds_in_screen {
        left: 189
        top: 443
        right: 1038
        bottom: 580
      }
      class_name: "android.widget.TextView"
      text: "Add step"
      is_clickable: true
      is_focusable: true
      depth: 11
    }
    nodes {
      bounds_in_screen {
        top: 612
        right: 1080
        bottom: 620
      }
      class_name: "android.view.View"
      depth: 11
    }
    nodes {
      bounds_in_screen {
        left: 21
        top: 641
        right: 1059
        bottom: 772
      }
      class_name: "android.widget.FrameLayout"
      depth: 11
    }
    nodes {
      bounds_in_screen {
        left: 21
        top: 793
        right: 1059
        bottom: 1192
      }
      class_name: "android.widget.FrameLayout"
      depth: 11
    }
    nodes {
      bounds_in_screen {
        left: 63
        top: 1250
        right: 126
        bottom: 1313
      }
      class_name: "android.widget.ImageView"
      depth: 11
    }
    nodes {
      bounds_in_screen {
        left: 189
        top: 1253
        right: 1038
        bottom: 1310
      }
      class_name: "android.widget.TextView"
      text: "Add file"
      depth: 11
    }
    nodes {
      bounds_in_screen {
        left: 63
        top: 1410
        right: 1017
        bottom: 1783
      }
      class_name: "android.view.ViewGroup"
      depth: 11
    }
    nodes {
      bounds_in_screen {
        left: 68
        top: 1811
        right: 68
        bottom: 1862
      }
      class_name: "android.widget.TextView"
      depth: 11
    }
    nodes {
      bounds_in_screen {
        left: 3
        top: 275
        right: 145
        bottom: 417
      }
      class_name: "android.widget.ImageView"
      depth: 12
    }
    nodes {
      bounds_in_screen {
        left: 74
        top: 346
        right: 74
        bottom: 346
      }
      class_name: "android.widget.ImageView"
      depth: 12
    }
    nodes {
      bounds_in_screen {
        left: 3
        top: 275
        right: 145
        bottom: 417
      }
      class_name: "android.widget.ImageView"
      depth: 12
    }
    nodes {
      bounds_in_screen {
        left: 974
        top: 306
        right: 1037
        bottom: 369
      }
      class_name: "android.widget.ImageView"
      depth: 12
    }
    nodes {
      bounds_in_screen {
        left: 961
        top: 293
        right: 1050
        bottom: 382
      }
      class_name: "android.widget.ImageView"
      depth: 12
    }
    nodes {
      bounds_in_screen {
        left: 21
        top: 641
        right: 1059
        bottom: 772
      }
      class_name: "android.widget.LinearLayout"
      is_clickable: true
      is_focusable: true
      depth: 12
    }
    nodes {
      bounds_in_screen {
        left: 21
        top: 793
        right: 1059
        bottom: 1192
      }
      class_name: "android.widget.LinearLayout"
      depth: 12
    }
    nodes {
      bounds_in_screen {
        left: 68
        top: 1410
        right: 1012
        bottom: 1783
      }
      class_name: "android.webkit.WebView"
      depth: 12
    }
    nodes {
      bounds_in_screen {
        left: 63
        top: 675
        right: 126
        bottom: 738
      }
      class_name: "android.widget.ImageView"
      depth: 13
    }
    nodes {
      bounds_in_screen {
        left: 189
        top: 678
        right: 1059
        bottom: 735
      }
      class_name: "android.widget.TextView"
      text: "Add to My Day"
      depth: 13
    }
    nodes {
      bounds_in_screen {
        left: 21
        top: 793
        right: 1059
        bottom: 924
      }
      class_name: "android.widget.LinearLayout"
      is_clickable: true
      is_focusable: true
      depth: 13
    }
    nodes {
      bounds_in_screen {
        left: 21
        top: 927
        right: 1059
        bottom: 1058
      }
      class_name: "android.widget.LinearLayout"
      is_clickable: true
      is_focusable: true
      depth: 13
    }
    nodes {
      bounds_in_screen {
        left: 21
        top: 1061
        right: 1059
        bottom: 1192
      }
      class_name: "android.widget.LinearLayout"
      is_clickable: true
      is_focusable: true
      depth: 13
    }
    nodes {
      bounds_in_screen {
        left: 68
        top: 1410
        right: 1013
        bottom: 1786
      }
      class_name: "android.webkit.WebView"
      text: "Email Renderer"
      is_focusable: true
      is_focused: true
      is_scrollable: true
      depth: 13
    }
    nodes {
      bounds_in_screen {
        left: 63
        top: 827
        right: 126
        bottom: 890
      }
      class_name: "android.widget.ImageView"
      depth: 14
    }
    nodes {
      bounds_in_screen {
        left: 189
        top: 830
        right: 1059
        bottom: 887
      }
      class_name: "android.widget.LinearLayout"
      depth: 14
    }
    nodes {
      bounds_in_screen {
        left: 63
        top: 961
        right: 126
        bottom: 1024
      }
      class_name: "android.widget.ImageView"
      depth: 14
    }
    nodes {
      bounds_in_screen {
        left: 189
        top: 964
        right: 917
        bottom: 1021
      }
      class_name: "android.widget.TextView"
      content_description: "Due Mon, 31 Jul"
      text: "Due Mon, 31 Jul"
      depth: 14
    }
    nodes {
      bounds_in_screen {
        left: 917
        top: 927
        right: 1059
        bottom: 1058
      }
      class_name: "android.widget.ImageView"
      content_description: "Remove due date"
      is_clickable: true
      is_focusable: true
      depth: 14
    }
    nodes {
      bounds_in_screen {
        left: 63
        top: 1095
        right: 126
        bottom: 1158
      }
      class_name: "android.widget.ImageView"
      depth: 14
    }
    nodes {
      bounds_in_screen {
        left: 189
        top: 1098
        right: 1059
        bottom: 1155
      }
      class_name: "android.widget.LinearLayout"
      depth: 14
    }
    nodes {
      bounds_in_screen {
        left: 68
        top: 1410
        right: 1013
        bottom: 1473
      }
      class_name: "android.view.View"
      depth: 14
    }
    nodes {
      bounds_in_screen {
        left: 189
        top: 830
        right: 1059
        bottom: 887
      }
      class_name: "android.widget.TextView"
      text: "Remind me"
      depth: 15
    }
    nodes {
      bounds_in_screen {
        left: 189
        top: 1098
        right: 1059
        bottom: 1155
      }
      class_name: "android.widget.TextView"
      content_description: "Repeat"
      text: "Repeat"
      depth: 15
    }
    nodes {
      bounds_in_screen {
        left: 68
        top: 1410
        right: 1013
        bottom: 1473
      }
      class_name: "android.view.View"
      depth: 15
    }
    nodes {
      bounds_in_screen {
        left: 68
        top: 1410
        right: 1013
        bottom: 1473
      }
      class_name: "android.widget.TextView"
      text: "Add note"
      depth: 16
    }
  }
}

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