instruction
open Microsoft to do app and sync the devices
previous_actions
{"name": "open_app", "parameters": {"app_name": "To Do"}}
{"name": "click", "parameters": {"x": 200, "y": 177}}
{"name": "click", "parameters": {"x": 540, "y": 916}}
{"name": "scroll", "parameters": {"direction": "down"}}
{"name": "scroll", "parameters": {"direction": "down"}}
active_application
Settings
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:14 pm"
      text: "12:14"
      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 two 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: 📢 The AJIO Midnight Sale"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 210
        top: 1
        right: 268
        bottom: 128
      }
      class_name: "android.widget.ImageView"
      content_description: "Martinoz Pizza notification: Now, relish, rollick, munch on your favorite Pizza!"
      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: 97%"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 326
        top: 1
        right: 384
        bottom: 128
      }
      class_name: "android.widget.ImageView"
      content_description: "Flipkart notification: "
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 384
        top: 1
        right: 442
        bottom: 128
      }
      class_name: "android.widget.ImageView"
      content_description: "Myntra notification: "
      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: 402
        top: 1
        right: 442
        bottom: 128
      }
      class_name: "android.widget.ImageView"
      content_description: "Shoppers Stop notification: "
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 402
        top: 1
        right: 442
        bottom: 128
      }
      class_name: "android.widget.ImageView"
      content_description: "Any.do notification: See what\'s new in Any.do 🤩"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 402
        top: 1
        right: 442
        bottom: 128
      }
      class_name: "android.widget.ImageView"
      content_description: "Target notification: Last day of Online Frenzy Sale! 🏃"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 402
        top: 1
        right: 442
        bottom: 128
      }
      class_name: "android.widget.ImageView"
      content_description: "Any.do notification: What will you focus on today?"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 402
        top: 1
        right: 442
        bottom: 128
      }
      class_name: "android.widget.ImageView"
      content_description: "Gmail notification: 4 new messages"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 402
        top: 1
        right: 442
        bottom: 128
      }
      class_name: "android.widget.ImageView"
      content_description: "YouTube notification: Michelin Star Ice Cream At Home: Olive Oil Perfection"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 402
        top: 1
        right: 442
        bottom: 128
      }
      class_name: "android.widget.ImageView"
      content_description: "YouTube notification: How to plate PRAWN SOUP like a PRO | Chef Majk"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 402
        top: 1
        right: 442
        bottom: 128
      }
      class_name: "android.widget.ImageView"
      content_description: "YouTube notification: O Bedardeya (Full Video) Tu Jhoothi MainMakkaar | Ranbir, Shraddha | Pritam,ArijitSingh, Amitabh B"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 402
        top: 1
        right: 442
        bottom: 128
      }
      class_name: "android.widget.ImageView"
      content_description: "Google notification: 32° in Bandhwari"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 402
        top: 1
        right: 442
        bottom: 128
      }
      class_name: "android.widget.ImageView"
      content_description: "Drive notification: Uploaded 1 file"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 402
        top: 1
        right: 442
        bottom: 128
      }
      class_name: "android.widget.ImageView"
      content_description: "Google notification: tax concept"
      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: 2172
  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: 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 {
        top: 128
        right: 1080
        bottom: 2337
      }
      class_name: "android.widget.FrameLayout"
      depth: 2
    }
    nodes {
      bounds_in_screen {
        top: 128
        right: 1080
        bottom: 2337
      }
      class_name: "android.widget.FrameLayout"
      depth: 3
    }
    nodes {
      bounds_in_screen {
        top: 128
        right: 1080
        bottom: 2337
      }
      class_name: "android.widget.FrameLayout"
      depth: 4
    }
    nodes {
      bounds_in_screen {
        top: 128
        right: 1080
        bottom: 2337
      }
      class_name: "android.view.ViewGroup"
      depth: 5
    }
    nodes {
      bounds_in_screen {
        top: 128
        right: 1080
        bottom: 2337
      }
      class_name: "android.view.ViewGroup"
      depth: 6
    }
    nodes {
      bounds_in_screen {
        top: 128
        right: 1080
        bottom: 2337
      }
      class_name: "android.view.ViewGroup"
      depth: 7
    }
    nodes {
      bounds_in_screen {
        top: 128
        right: 1080
        bottom: 275
      }
      class_name: "android.widget.LinearLayout"
      depth: 8
    }
    nodes {
      bounds_in_screen {
        top: 275
        right: 1080
        bottom: 2337
      }
      class_name: "android.widget.FrameLayout"
      depth: 8
    }
    nodes {
      bounds_in_screen {
        top: 128
        right: 1080
        bottom: 275
      }
      class_name: "android.view.ViewGroup"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        top: 275
        right: 1080
        bottom: 2337
      }
      class_name: "android.widget.LinearLayout"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        top: 128
        right: 147
        bottom: 275
      }
      class_name: "android.widget.ImageButton"
      content_description: "Navigate up"
      is_clickable: true
      is_focusable: true
      depth: 10
      tooltip_text: "Navigate up"
    }
    nodes {
      bounds_in_screen {
        left: 189
        top: 166
        right: 381
        bottom: 237
      }
      class_name: "android.widget.TextView"
      text: "Settings"
      depth: 10
    }
    nodes {
      bounds_in_screen {
        left: 1080
        top: 128
        right: 1080
        bottom: 275
      }
      class_name: "androidx.appcompat.widget.LinearLayoutCompat"
      depth: 10
    }
    nodes {
      bounds_in_screen {
        top: 275
        right: 1080
        bottom: 2337
      }
      class_name: "android.widget.FrameLayout"
      depth: 10
    }
    nodes {
      bounds_in_screen {
        top: 275
        right: 1080
        bottom: 2337
      }
      class_name: "androidx.recyclerview.widget.RecyclerView"
      is_focusable: true
      is_scrollable: true
      depth: 11
    }
    nodes {
      bounds_in_screen {
        top: 275
        right: 1080
        bottom: 354
      }
      class_name: "android.widget.LinearLayout"
      is_clickable: true
      is_focusable: true
      depth: 12
    }
    nodes {
      bounds_in_screen {
        top: 354
        right: 1080
        bottom: 495
      }
      class_name: "android.widget.LinearLayout"
      is_clickable: true
      is_focusable: true
      depth: 12
    }
    nodes {
      bounds_in_screen {
        top: 495
        right: 1080
        bottom: 636
      }
      class_name: "android.widget.LinearLayout"
      is_clickable: true
      is_focusable: true
      depth: 12
    }
    nodes {
      bounds_in_screen {
        top: 636
        right: 1080
        bottom: 828
      }
      class_name: "android.widget.LinearLayout"
      is_clickable: true
      is_focusable: true
      depth: 12
    }
    nodes {
      bounds_in_screen {
        top: 828
        right: 1080
        bottom: 1020
      }
      class_name: "android.widget.LinearLayout"
      is_clickable: true
      is_focusable: true
      is_long_clickable: true
      depth: 12
    }
    nodes {
      bounds_in_screen {
        top: 1020
        right: 1080
        bottom: 1023
      }
      class_name: "android.view.View"
      depth: 12
    }
    nodes {
      bounds_in_screen {
        top: 1065
        right: 1080
        bottom: 1158
      }
      class_name: "android.widget.LinearLayout"
      depth: 12
    }
    nodes {
      bounds_in_screen {
        top: 1158
        right: 1080
        bottom: 1299
      }
      class_name: "android.widget.LinearLayout"
      is_clickable: true
      is_focusable: true
      depth: 12
    }
    nodes {
      bounds_in_screen {
        top: 1299
        right: 1080
        bottom: 1440
      }
      class_name: "android.widget.LinearLayout"
      is_clickable: true
      is_focusable: true
      depth: 12
    }
    nodes {
      bounds_in_screen {
        top: 1440
        right: 1080
        bottom: 1443
      }
      class_name: "android.view.View"
      depth: 12
    }
    nodes {
      bounds_in_screen {
        top: 1485
        right: 1080
        bottom: 1578
      }
      class_name: "android.widget.LinearLayout"
      depth: 12
    }
    nodes {
      bounds_in_screen {
        top: 1578
        right: 1080
        bottom: 1719
      }
      class_name: "android.widget.LinearLayout"
      is_clickable: true
      is_focusable: true
      depth: 12
    }
    nodes {
      bounds_in_screen {
        top: 1719
        right: 1080
        bottom: 1860
      }
      class_name: "android.widget.LinearLayout"
      is_clickable: true
      is_focusable: true
      depth: 12
    }
    nodes {
      bounds_in_screen {
        top: 1860
        right: 1080
        bottom: 2001
      }
      class_name: "android.widget.LinearLayout"
      is_clickable: true
      is_focusable: true
      depth: 12
    }
    nodes {
      bounds_in_screen {
        top: 2001
        right: 1080
        bottom: 2142
      }
      class_name: "android.widget.LinearLayout"
      is_clickable: true
      is_focusable: true
      depth: 12
    }
    nodes {
      bounds_in_screen {
        top: 2142
        right: 1080
        bottom: 2334
      }
      class_name: "android.widget.LinearLayout"
      is_clickable: true
      is_focusable: true
      depth: 12
    }
    nodes {
      bounds_in_screen {
        top: 2334
        right: 1080
        bottom: 2337
      }
      class_name: "android.view.View"
      depth: 12
    }
    nodes {
      bounds_in_screen {
        left: 42
        top: 275
        right: 1038
        bottom: 354
      }
      class_name: "android.widget.RelativeLayout"
      depth: 13
    }
    nodes {
      bounds_in_screen {
        left: 42
        top: 354
        right: 1038
        bottom: 495
      }
      class_name: "android.widget.RelativeLayout"
      depth: 13
    }
    nodes {
      bounds_in_screen {
        left: 42
        top: 495
        right: 1038
        bottom: 636
      }
      class_name: "android.widget.RelativeLayout"
      depth: 13
    }
    nodes {
      bounds_in_screen {
        left: 42
        top: 636
        right: 1038
        bottom: 828
      }
      class_name: "android.widget.RelativeLayout"
      depth: 13
    }
    nodes {
      bounds_in_screen {
        left: 42
        top: 828
        right: 1038
        bottom: 1020
      }
      class_name: "android.widget.RelativeLayout"
      depth: 13
    }
    nodes {
      bounds_in_screen {
        left: 42
        top: 1065
        right: 1038
        bottom: 1158
      }
      class_name: "android.widget.RelativeLayout"
      depth: 13
    }
    nodes {
      bounds_in_screen {
        left: 42
        top: 1158
        right: 1038
        bottom: 1299
      }
      class_name: "android.widget.RelativeLayout"
      depth: 13
    }
    nodes {
      bounds_in_screen {
        left: 42
        top: 1299
        right: 1038
        bottom: 1440
      }
      class_name: "android.widget.RelativeLayout"
      depth: 13
    }
    nodes {
      bounds_in_screen {
        left: 42
        top: 1485
        right: 1038
        bottom: 1578
      }
      class_name: "android.widget.RelativeLayout"
      depth: 13
    }
    nodes {
      bounds_in_screen {
        left: 42
        top: 1578
        right: 1038
        bottom: 1719
      }
      class_name: "android.widget.RelativeLayout"
      depth: 13
    }
    nodes {
      bounds_in_screen {
        left: 42
        top: 1719
        right: 1038
        bottom: 1860
      }
      class_name: "android.widget.RelativeLayout"
      depth: 13
    }
    nodes {
      bounds_in_screen {
        left: 42
        top: 1860
        right: 1038
        bottom: 2001
      }
      class_name: "android.widget.RelativeLayout"
      depth: 13
    }
    nodes {
      bounds_in_screen {
        left: 42
        top: 2001
        right: 1038
        bottom: 2142
      }
      class_name: "android.widget.RelativeLayout"
      depth: 13
    }
    nodes {
      bounds_in_screen {
        left: 42
        top: 2142
        right: 1038
        bottom: 2334
      }
      class_name: "android.widget.RelativeLayout"
      depth: 13
    }
    nodes {
      bounds_in_screen {
        left: 42
        top: 275
        right: 118
        bottom: 312
      }
      class_name: "android.widget.TextView"
      text: "FAQ"
      depth: 14
    }
    nodes {
      bounds_in_screen {
        left: 42
        top: 396
        right: 372
        bottom: 453
      }
      class_name: "android.widget.TextView"
      text: "Suggest a feature"
      depth: 14
    }
    nodes {
      bounds_in_screen {
        left: 42
        top: 537
        right: 512
        bottom: 594
      }
      class_name: "android.widget.TextView"
      text: "Copy session and user ID"
      depth: 14
    }
    nodes {
      bounds_in_screen {
        left: 42
        top: 678
        right: 372
        bottom: 735
      }
      class_name: "android.widget.TextView"
      text: "Enjoying our app?"
      depth: 14
    }
    nodes {
      bounds_in_screen {
        left: 42
        top: 735
        right: 147
        bottom: 786
      }
      class_name: "android.widget.TextView"
      text: "Rate it"
      depth: 14
    }
    nodes {
      bounds_in_screen {
        left: 42
        top: 870
        right: 132
        bottom: 927
      }
      class_name: "android.widget.TextView"
      text: "Sync"
      depth: 14
    }
    nodes {
      bounds_in_screen {
        left: 42
        top: 927
        right: 519
        bottom: 978
      }
      class_name: "android.widget.TextView"
      text: "Everything\'s synced. Let\'s go!"
      depth: 14
    }
    nodes {
      bounds_in_screen {
        left: 42
        top: 1086
        right: 1038
        bottom: 1137
      }
      class_name: "android.widget.TextView"
      text: "Connect"
      depth: 14
    }
    nodes {
      bounds_in_screen {
        left: 42
        top: 1200
        right: 417
        bottom: 1257
      }
      class_name: "android.widget.TextView"
      text: "Follow us on Twitter"
      depth: 14
    }
    nodes {
      bounds_in_screen {
        left: 42
        top: 1341
        right: 422
        bottom: 1398
      }
      class_name: "android.widget.TextView"
      text: "Like us on Facebook"
      depth: 14
    }
    nodes {
      bounds_in_screen {
        left: 42
        top: 1506
        right: 1038
        bottom: 1557
      }
      class_name: "android.widget.TextView"
      text: "About"
      depth: 14
    }
    nodes {
      bounds_in_screen {
        left: 42
        top: 1620
        right: 178
        bottom: 1677
      }
      class_name: "android.widget.TextView"
      text: "Privacy"
      depth: 14
    }
    nodes {
      bounds_in_screen {
        left: 42
        top: 1761
        right: 337
        bottom: 1818
      }
      class_name: "android.widget.TextView"
      text: "Export your info"
      depth: 14
    }
    nodes {
      bounds_in_screen {
        left: 42
        top: 1902
        right: 685
        bottom: 1959
      }
      class_name: "android.widget.TextView"
      text: "Microsoft Software Licence Terms"
      depth: 14
    }
    nodes {
      bounds_in_screen {
        left: 42
        top: 2043
        right: 401
        bottom: 2100
      }
      class_name: "android.widget.TextView"
      text: "Third Party Notices"
      depth: 14
    }
    nodes {
      bounds_in_screen {
        left: 42
        top: 2184
        right: 184
        bottom: 2241
      }
      class_name: "android.widget.TextView"
      text: "Version"
      depth: 14
    }
    nodes {
      bounds_in_screen {
        left: 42
        top: 2241
        right: 445
        bottom: 2292
      }
      class_name: "android.widget.TextView"
      text: "2.100.590.00 build #319"
      depth: 14
    }
  }
}

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