instruction
Open the Outlook App, select the menu icon go to the setting icon to change the contacts sort by to last name and calendar weather to switch on. 
previous_actions
{"name": "open_app", "parameters": {"app_name": "Outlook"}}
{"name": "click", "parameters": {"x": 84, "y": 191}}
{"name": "click", "parameters": {"x": 94, "y": 2242}}
active_application
Settings
screen_description
windows {
  bounds_in_screen {
    right: 1080
    bottom: 118
  }
  layer: 1
  window_type: TYPE_SYSTEM
  tree {
    nodes {
      bounds_in_screen {
        right: 1080
        bottom: 118
      }
      class_name: "android.widget.FrameLayout"
    }
    nodes {
      bounds_in_screen {
        right: 1080
        bottom: 118
      }
      class_name: "android.widget.FrameLayout"
      depth: 1
    }
    nodes {
      bounds_in_screen {
        right: 1080
        bottom: 118
      }
      class_name: "android.widget.FrameLayout"
      depth: 1
    }
    nodes {
      bounds_in_screen {
        right: 1080
        bottom: 118
      }
      class_name: "android.widget.FrameLayout"
      depth: 1
    }
    nodes {
      bounds_in_screen {
        right: 1080
        bottom: 118
      }
      class_name: "android.widget.FrameLayout"
      depth: 2
    }
    nodes {
      bounds_in_screen {
        left: 47
        right: 1027
        bottom: 118
      }
      class_name: "android.widget.LinearLayout"
      depth: 3
    }
    nodes {
      bounds_in_screen {
        left: 47
        top: 1
        right: 454
        bottom: 118
      }
      class_name: "android.widget.FrameLayout"
      depth: 4
    }
    nodes {
      bounds_in_screen {
        left: 454
        top: 1
        right: 599
        bottom: 118
      }
      class_name: "android.view.View"
      depth: 4
    }
    nodes {
      bounds_in_screen {
        left: 599
        top: 1
        right: 1006
        bottom: 118
      }
      class_name: "android.widget.FrameLayout"
      depth: 4
    }
    nodes {
      bounds_in_screen {
        left: 47
        top: 1
        right: 439
        bottom: 118
      }
      class_name: "android.widget.FrameLayout"
      depth: 5
    }
    nodes {
      bounds_in_screen {
        left: 924
        top: 1
        right: 1006
        bottom: 118
      }
      class_name: "android.widget.LinearLayout"
      depth: 5
    }
    nodes {
      bounds_in_screen {
        left: 47
        top: 1
        right: 439
        bottom: 118
      }
      class_name: "android.widget.LinearLayout"
      depth: 6
    }
    nodes {
      bounds_in_screen {
        left: 924
        top: 1
        right: 1006
        bottom: 118
      }
      class_name: "android.widget.LinearLayout"
      depth: 6
    }
    nodes {
      bounds_in_screen {
        left: 47
        top: 1
        right: 149
        bottom: 118
      }
      class_name: "android.widget.TextView"
      content_description: "12:36 PM"
      text: "12:36"
      depth: 7
    }
    nodes {
      bounds_in_screen {
        left: 149
        top: 1
        right: 439
        bottom: 118
      }
      class_name: "android.widget.FrameLayout"
      depth: 7
    }
    nodes {
      bounds_in_screen {
        left: 924
        top: 1
        right: 986
        bottom: 118
      }
      class_name: "android.widget.LinearLayout"
      depth: 7
    }
    nodes {
      bounds_in_screen {
        left: 986
        top: 1
        right: 1006
        bottom: 118
      }
      class_name: "android.widget.LinearLayout"
      content_description: "Battery charging, 100 percent."
      depth: 7
    }
    nodes {
      bounds_in_screen {
        left: 149
        top: 1
        right: 439
        bottom: 118
      }
      class_name: "android.view.ViewGroup"
      depth: 8
    }
    nodes {
      bounds_in_screen {
        left: 924
        top: 30
        right: 970
        bottom: 88
      }
      class_name: "android.widget.FrameLayout"
      content_description: "Wifi three bars."
      depth: 8
    }
    nodes {
      bounds_in_screen {
        left: 986
        top: 42
        right: 1006
        bottom: 76
      }
      class_name: "android.widget.ImageView"
      depth: 8
    }
    nodes {
      bounds_in_screen {
        left: 149
        top: 1
        right: 207
        bottom: 118
      }
      class_name: "android.widget.ImageView"
      content_description: "DigiCal notification: Live Raters Meeting"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 207
        top: 1
        right: 265
        bottom: 118
      }
      class_name: "android.widget.ImageView"
      content_description: "upGrad notification: 📜 Earn Your Global Master Certificate"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 265
        top: 1
        right: 323
        bottom: 118
      }
      class_name: "android.widget.ImageView"
      content_description: "Calendar notification: ‎‪Live Raters Meeting‬‎"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 323
        top: 1
        right: 381
        bottom: 118
      }
      class_name: "android.widget.ImageView"
      content_description: "Google Play services notification: Security Alert"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 381
        top: 1
        right: 439
        bottom: 118
      }
      class_name: "android.widget.ImageView"
      content_description: "YouTube notification: Toby Official Trailer | Raj B Shetty | Basil Alchalakkal | Midhun Mukundan | Lighter Buddha Films"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 399
        top: 1
        right: 439
        bottom: 118
      }
      class_name: "android.widget.ImageView"
      content_description: "YouTube notification: #shorts 식인상어도 칼 닿으면 뭐다?"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 399
        top: 1
        right: 439
        bottom: 118
      }
      class_name: "android.widget.ImageView"
      content_description: "Android System notification: Review app with full device access"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 399
        top: 1
        right: 439
        bottom: 118
      }
      class_name: "android.widget.ImageView"
      content_description: "YouTube notification: Tauba Meri Tauba | Mamta Sharma | Urvashi Rautela | Sharad Malhotra | Badash | Navjit Buttar | Song"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 931
        top: 30
        right: 970
        bottom: 88
      }
      class_name: "android.widget.LinearLayout"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 931
        top: 39
        right: 970
        bottom: 78
      }
      class_name: "android.widget.FrameLayout"
      depth: 10
    }
    nodes {
      bounds_in_screen {
        left: 931
        top: 39
        right: 970
        bottom: 78
      }
      class_name: "android.widget.ImageView"
      depth: 11
    }
  }
}
windows {
  bounds_in_screen {
    right: 1080
    bottom: 2400
  }
  id: 933
  title: "Settings"
  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: 118
      }
      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: 118
        right: 1080
        bottom: 2337
      }
      class_name: "android.widget.FrameLayout"
      depth: 2
    }
    nodes {
      bounds_in_screen {
        top: 118
        right: 1080
        bottom: 2337
      }
      class_name: "android.widget.FrameLayout"
      depth: 3
    }
    nodes {
      bounds_in_screen {
        top: 118
        right: 1080
        bottom: 2337
      }
      class_name: "android.widget.FrameLayout"
      depth: 4
    }
    nodes {
      bounds_in_screen {
        top: 118
        right: 1080
        bottom: 2337
      }
      class_name: "android.widget.LinearLayout"
      depth: 5
    }
    nodes {
      bounds_in_screen {
        top: 118
        right: 1080
        bottom: 265
      }
      class_name: "android.widget.LinearLayout"
      depth: 6
    }
    nodes {
      bounds_in_screen {
        top: 265
        right: 1080
        bottom: 2337
      }
      class_name: "android.view.ViewGroup"
      depth: 6
    }
    nodes {
      bounds_in_screen {
        top: 118
        right: 1080
        bottom: 265
      }
      class_name: "android.view.ViewGroup"
      depth: 7
    }
    nodes {
      bounds_in_screen {
        top: 265
        right: 1080
        bottom: 2337
      }
      class_name: "androidx.recyclerview.widget.RecyclerView"
      is_focusable: true
      is_scrollable: true
      depth: 7
    }
    nodes {
      bounds_in_screen {
        top: 118
        right: 147
        bottom: 265
      }
      class_name: "android.widget.ImageButton"
      content_description: "Navigate up"
      is_clickable: true
      is_focusable: true
      depth: 8
      tooltip_text: "Navigate up"
    }
    nodes {
      bounds_in_screen {
        left: 189
        top: 156
        right: 386
        bottom: 227
      }
      class_name: "android.widget.TextView"
      text: "Settings"
      depth: 8
    }
    nodes {
      bounds_in_screen {
        left: 1080
        top: 118
        right: 1080
        bottom: 265
      }
      class_name: "androidx.appcompat.widget.LinearLayoutCompat"
      depth: 8
    }
    nodes {
      bounds_in_screen {
        top: 265
        right: 1080
        bottom: 272
      }
      class_name: "android.widget.LinearLayout"
      depth: 8
    }
    nodes {
      bounds_in_screen {
        top: 272
        right: 1080
        bottom: 444
      }
      class_name: "android.view.ViewGroup"
      is_clickable: true
      is_focusable: true
      is_long_clickable: true
      depth: 8
    }
    nodes {
      bounds_in_screen {
        top: 444
        right: 1080
        bottom: 616
      }
      class_name: "android.view.ViewGroup"
      is_clickable: true
      is_focusable: true
      is_long_clickable: true
      depth: 8
    }
    nodes {
      bounds_in_screen {
        top: 616
        right: 1080
        bottom: 763
      }
      class_name: "android.widget.LinearLayout"
      is_clickable: true
      is_focusable: true
      depth: 8
    }
    nodes {
      bounds_in_screen {
        top: 763
        right: 1080
        bottom: 889
      }
      class_name: "android.widget.LinearLayout"
      depth: 8
    }
    nodes {
      bounds_in_screen {
        top: 889
        right: 1080
        bottom: 1078
      }
      class_name: "android.widget.LinearLayout"
      is_clickable: true
      is_focusable: true
      is_long_clickable: true
      depth: 8
    }
    nodes {
      bounds_in_screen {
        top: 1078
        right: 1080
        bottom: 1267
      }
      class_name: "android.widget.LinearLayout"
      is_clickable: true
      is_focusable: true
      is_long_clickable: true
      depth: 8
    }
    nodes {
      bounds_in_screen {
        top: 1267
        right: 1080
        bottom: 1457
      }
      class_name: "android.widget.LinearLayout"
      content_description: "Toggle the Focused Inbox setting., On"
      is_clickable: true
      is_focusable: true
      depth: 8
    }
    nodes {
      bounds_in_screen {
        top: 1457
        right: 1080
        bottom: 1646
      }
      class_name: "android.widget.LinearLayout"
      is_clickable: true
      is_focusable: true
      is_long_clickable: true
      depth: 8
    }
    nodes {
      bounds_in_screen {
        top: 1646
        right: 1080
        bottom: 1835
      }
      class_name: "android.widget.LinearLayout"
      content_description: "Organize mail by thread, On"
      is_clickable: true
      is_focusable: true
      depth: 8
    }
    nodes {
      bounds_in_screen {
        top: 1835
        right: 1080
        bottom: 2024
      }
      class_name: "android.widget.LinearLayout"
      content_description: "Swipe between conversations, On"
      is_clickable: true
      is_focusable: true
      depth: 8
    }
    nodes {
      bounds_in_screen {
        top: 2024
        right: 1080
        bottom: 2213
      }
      class_name: "android.widget.LinearLayout"
      is_clickable: true
      is_focusable: true
      is_long_clickable: true
      depth: 8
    }
    nodes {
      bounds_in_screen {
        top: 2213
        right: 1080
        bottom: 2337
      }
      class_name: "android.widget.LinearLayout"
      is_clickable: true
      is_focusable: true
      is_long_clickable: true
      depth: 8
    }
    nodes {
      bounds_in_screen {
        top: 265
        right: 1080
        bottom: 272
      }
      class_name: "android.widget.TextView"
      text: "Storage accounts"
      is_focusable: true
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 42
        top: 327
        right: 105
        bottom: 390
      }
      class_name: "android.widget.ImageView"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 189
        top: 304
        right: 1038
        bottom: 361
      }
      class_name: "android.widget.TextView"
      text: "dbwscratch.test.id6@gmail.com"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 189
        top: 361
        right: 1038
        bottom: 412
      }
      class_name: "android.widget.TextView"
      text: "Google Drive"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 42
        top: 499
        right: 105
        bottom: 562
      }
      class_name: "android.widget.ImageView"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 189
        top: 476
        right: 1038
        bottom: 533
      }
      class_name: "android.widget.TextView"
      text: "dbwscratch.test.id6@outlook.com"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 189
        top: 533
        right: 1038
        bottom: 584
      }
      class_name: "android.widget.TextView"
      text: "OneDrive"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 42
        top: 658
        right: 105
        bottom: 721
      }
      class_name: "android.widget.ImageView"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 189
        top: 663
        right: 1038
        bottom: 716
      }
      class_name: "android.widget.TextView"
      text: "ADD STORAGE ACCOUNT"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        top: 763
        right: 1080
        bottom: 889
      }
      class_name: "android.widget.TextView"
      text: "Mail"
      is_focusable: true
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 42
        top: 952
        right: 105
        bottom: 1015
      }
      class_name: "android.widget.ImageView"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 189
        top: 929
        right: 753
        bottom: 1037
      }
      class_name: "android.widget.LinearLayout"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 42
        top: 1141
        right: 105
        bottom: 1204
      }
      class_name: "android.widget.ImageView"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 189
        top: 1118
        right: 576
        bottom: 1226
      }
      class_name: "android.widget.LinearLayout"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 42
        top: 1330
        right: 105
        bottom: 1393
      }
      class_name: "android.widget.ImageView"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 189
        top: 1299
        right: 916
        bottom: 1425
      }
      class_name: "android.widget.LinearLayout"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 916
        top: 1326
        right: 1038
        bottom: 1397
      }
      class_name: "android.widget.Switch"
      is_checkable: true
      is_checked: true
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 42
        top: 1520
        right: 105
        bottom: 1583
      }
      class_name: "android.widget.ImageView"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 189
        top: 1523
        right: 453
        bottom: 1580
      }
      class_name: "android.widget.LinearLayout"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 42
        top: 1709
        right: 105
        bottom: 1772
      }
      class_name: "android.widget.ImageView"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 189
        top: 1712
        right: 916
        bottom: 1769
      }
      class_name: "android.widget.LinearLayout"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 916
        top: 1705
        right: 1038
        bottom: 1776
      }
      class_name: "android.widget.Switch"
      is_checkable: true
      is_checked: true
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 42
        top: 1898
        right: 105
        bottom: 1961
      }
      class_name: "android.widget.ImageView"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 189
        top: 1901
        right: 916
        bottom: 1958
      }
      class_name: "android.widget.LinearLayout"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 916
        top: 1894
        right: 1038
        bottom: 1965
      }
      class_name: "android.widget.Switch"
      is_checkable: true
      is_checked: true
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 42
        top: 2087
        right: 105
        bottom: 2150
      }
      class_name: "android.widget.ImageView"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 189
        top: 2090
        right: 472
        bottom: 2147
      }
      class_name: "android.widget.LinearLayout"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 42
        top: 2276
        right: 105
        bottom: 2337
      }
      class_name: "android.widget.ImageView"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 189
        top: 2279
        right: 357
        bottom: 2336
      }
      class_name: "android.widget.LinearLayout"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 189
        top: 929
        right: 324
        bottom: 986
      }
      class_name: "android.widget.TextView"
      content_description: "Change your default \'send-from\' Mail. The default \'send-from\' mail setting is"
      text: "Default"
      depth: 10
    }
    nodes {
      bounds_in_screen {
        left: 189
        top: 986
        right: 753
        bottom: 1037
      }
      class_name: "android.widget.TextView"
      text: "dbwscratch.test.id6@outlook.com"
      depth: 10
    }
    nodes {
      bounds_in_screen {
        left: 189
        top: 1118
        right: 367
        bottom: 1175
      }
      class_name: "android.widget.TextView"
      content_description: "Change your default signature. Your default signature is"
      text: "Signature"
      depth: 10
    }
    nodes {
      bounds_in_screen {
        left: 189
        top: 1175
        right: 576
        bottom: 1226
      }
      class_name: "android.widget.TextView"
      text: "Get Outlook for Android"
      clickable_spans {
        text: "Outlook for Android"
        url: "https://aka.ms/AAb9ysg"
        source: TEXT
        start: 4
        node_id: 60
      }
      depth: 10
    }
    nodes {
      bounds_in_screen {
        left: 189
        top: 1333
        right: 790
        bottom: 1390
      }
      class_name: "android.widget.LinearLayout"
      depth: 10
    }
    nodes {
      bounds_in_screen {
        left: 790
        top: 1299
        right: 916
        bottom: 1425
      }
      class_name: "android.widget.ImageButton"
      content_description: "Focused Inbox, Help"
      is_clickable: true
      is_focusable: true
      depth: 10
    }
    nodes {
      bounds_in_screen {
        left: 189
        top: 1523
        right: 453
        bottom: 1580
      }
      class_name: "android.widget.TextView"
      text: "Swipe options"
      depth: 10
    }
    nodes {
      bounds_in_screen {
        left: 189
        top: 1712
        right: 916
        bottom: 1769
      }
      class_name: "android.widget.LinearLayout"
      depth: 10
    }
    nodes {
      bounds_in_screen {
        left: 189
        top: 1901
        right: 916
        bottom: 1958
      }
      class_name: "android.widget.LinearLayout"
      depth: 10
    }
    nodes {
      bounds_in_screen {
        left: 189
        top: 2090
        right: 472
        bottom: 2147
      }
      class_name: "android.widget.TextView"
      text: "Play My Emails"
      depth: 10
    }
    nodes {
      bounds_in_screen {
        left: 189
        top: 2279
        right: 357
        bottom: 2336
      }
      class_name: "android.widget.TextView"
      text: "Dictation"
      depth: 10
    }
    nodes {
      bounds_in_screen {
        left: 189
        top: 1333
        right: 462
        bottom: 1390
      }
      class_name: "android.widget.TextView"
      content_description: "Toggle the Focused Inbox setting."
      text: "Focused Inbox"
      depth: 11
    }
    nodes {
      bounds_in_screen {
        left: 189
        top: 1712
        right: 628
        bottom: 1769
      }
      class_name: "android.widget.TextView"
      text: "Organize mail by thread"
      depth: 11
    }
    nodes {
      bounds_in_screen {
        left: 189
        top: 1901
        right: 744
        bottom: 1958
      }
      class_name: "android.widget.TextView"
      text: "Swipe between conversations"
      depth: 11
    }
  }
}

assistant
!FUNCTIONCALL{"name": "scroll", "parameters": {"direction": "down"}}
[{"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"]}}}]