instruction
Go to the Maps App, tap on a search bar, and search for All Public Transport available from "Saint Bees" to "London", on August 12, 2023, at 12:00 PM.
previous_actions
{"name": "open_app", "parameters": {"app_name": "Maps"}}
{"name": "click", "parameters": {"x": 475, "y": 219}}
{"name": "input_text", "parameters": {"text": "Saint Bees"}}
{"name": "click", "parameters": {"x": 353, "y": 377}}
{"name": "click", "parameters": {"x": 202, "y": 2273}}
{"name": "click", "parameters": {"x": 573, "y": 219}}
{"name": "input_text", "parameters": {"text": "London"}}
{"name": "click", "parameters": {"x": 284, "y": 350}}
{"name": "wait", "parameters": {}}
{"name": "wait", "parameters": {}}
active_application
screen_description
windows {
  bounds_in_screen {
    right: 1080
    bottom: 136
  }
  id: 1
  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: 438
        bottom: 136
      }
      class_name: "android.widget.FrameLayout"
      depth: 5
    }
    nodes {
      bounds_in_screen {
        left: 867
        top: 1
        right: 1006
        bottom: 136
      }
      class_name: "android.widget.LinearLayout"
      depth: 5
    }
    nodes {
      bounds_in_screen {
        left: 47
        top: 1
        right: 438
        bottom: 136
      }
      class_name: "android.widget.LinearLayout"
      depth: 6
    }
    nodes {
      bounds_in_screen {
        left: 867
        top: 1
        right: 1006
        bottom: 136
      }
      class_name: "android.widget.LinearLayout"
      depth: 6
    }
    nodes {
      bounds_in_screen {
        left: 47
        top: 1
        right: 148
        bottom: 136
      }
      class_name: "android.widget.TextView"
      content_description: "11:40 AM"
      text: "11:40"
      depth: 7
    }
    nodes {
      bounds_in_screen {
        left: 148
        top: 1
        right: 438
        bottom: 136
      }
      class_name: "android.widget.FrameLayout"
      depth: 7
    }
    nodes {
      bounds_in_screen {
        left: 867
        top: 1
        right: 986
        bottom: 136
      }
      class_name: "android.widget.LinearLayout"
      depth: 7
    }
    nodes {
      bounds_in_screen {
        left: 986
        top: 1
        right: 1006
        bottom: 136
      }
      class_name: "android.widget.LinearLayout"
      content_description: "Battery charging, 100 percent."
      depth: 7
    }
    nodes {
      bounds_in_screen {
        left: 148
        top: 1
        right: 438
        bottom: 136
      }
      class_name: "android.view.ViewGroup"
      depth: 8
    }
    nodes {
      bounds_in_screen {
        left: 867
        top: 39
        right: 924
        bottom: 97
      }
      class_name: "android.widget.ImageView"
      content_description: "Do Not Disturb"
      depth: 8
    }
    nodes {
      bounds_in_screen {
        left: 924
        top: 39
        right: 970
        bottom: 97
      }
      class_name: "android.widget.FrameLayout"
      content_description: "Wifi signal full."
      depth: 8
    }
    nodes {
      bounds_in_screen {
        left: 986
        top: 51
        right: 1006
        bottom: 85
      }
      class_name: "android.widget.ImageView"
      depth: 8
    }
    nodes {
      bounds_in_screen {
        left: 148
        top: 1
        right: 206
        bottom: 136
      }
      class_name: "android.widget.ImageView"
      content_description: "Phases of the Moon notification: 🌕 Upcoming Moon Events Are Fast Approaching! 👆"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 206
        top: 1
        right: 264
        bottom: 136
      }
      class_name: "android.widget.ImageView"
      content_description: "Moon Phase Calendar notification: 4%"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 264
        top: 1
        right: 322
        bottom: 136
      }
      class_name: "android.widget.ImageView"
      content_description: "MyFitnessPal notification: "
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 322
        top: 1
        right: 380
        bottom: 136
      }
      class_name: "android.widget.ImageView"
      content_description: "AllTrails notification: "
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 380
        top: 1
        right: 438
        bottom: 136
      }
      class_name: "android.widget.ImageView"
      content_description: "ZARA notification: Zara"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 931
        top: 39
        right: 970
        bottom: 97
      }
      class_name: "android.widget.LinearLayout"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 931
        top: 48
        right: 970
        bottom: 87
      }
      class_name: "android.widget.FrameLayout"
      depth: 10
    }
    nodes {
      bounds_in_screen {
        left: 931
        top: 48
        right: 970
        bottom: 87
      }
      class_name: "android.widget.ImageView"
      depth: 11
    }
  }
}
windows {
  bounds_in_screen {
    left: 28
    top: 539
    right: 1052
    bottom: 1933
  }
  id: 255
  window_type: TYPE_APPLICATION
  is_active: true
  is_focused: true
  tree {
    nodes {
      bounds_in_screen {
        left: 28
        top: 539
        right: 1052
        bottom: 1933
      }
      class_name: "android.widget.FrameLayout"
    }
    nodes {
      bounds_in_screen {
        left: 28
        top: 539
        right: 1052
        bottom: 1933
      }
      class_name: "android.widget.FrameLayout"
      depth: 1
    }
    nodes {
      bounds_in_screen {
        left: 28
        top: 539
        right: 1052
        bottom: 1933
      }
      class_name: "android.widget.FrameLayout"
      depth: 2
    }
    nodes {
      bounds_in_screen {
        left: 28
        top: 539
        right: 1052
        bottom: 1933
      }
      class_name: "android.widget.LinearLayout"
      depth: 3
    }
    nodes {
      bounds_in_screen {
        left: 99
        top: 546
        right: 981
        bottom: 1926
      }
      class_name: "android.widget.FrameLayout"
      depth: 4
    }
    nodes {
      bounds_in_screen {
        left: 99
        top: 546
        right: 981
        bottom: 1926
      }
      class_name: "android.widget.LinearLayout"
      depth: 5
    }
    nodes {
      bounds_in_screen {
        left: 99
        top: 546
        right: 981
        bottom: 1764
      }
      class_name: "android.widget.ScrollView"
      is_focusable: true
      depth: 6
    }
    nodes {
      bounds_in_screen {
        left: 99
        top: 1764
        right: 981
        bottom: 1926
      }
      class_name: "android.widget.FrameLayout"
      depth: 6
    }
    nodes {
      bounds_in_screen {
        left: 162
        top: 588
        right: 918
        bottom: 1701
      }
      class_name: "android.widget.LinearLayout"
      depth: 7
    }
    nodes {
      bounds_in_screen {
        left: 99
        top: 1764
        right: 981
        bottom: 1926
      }
      class_name: "android.widget.FrameLayout"
      depth: 7
    }
    nodes {
      bounds_in_screen {
        left: 162
        top: 588
        right: 918
        bottom: 720
      }
      class_name: "android.widget.LinearLayout"
      depth: 8
    }
    nodes {
      bounds_in_screen {
        left: 162
        top: 720
        right: 918
        bottom: 1350
      }
      class_name: "android.widget.LinearLayout"
      depth: 8
    }
    nodes {
      bounds_in_screen {
        left: 162
        top: 1350
        right: 918
        bottom: 1523
      }
      class_name: "android.widget.FrameLayout"
      depth: 8
    }
    nodes {
      bounds_in_screen {
        left: 328
        top: 1575
        right: 752
        bottom: 1701
      }
      class_name: "android.widget.Button"
      text: "Reset to current time"
      is_clickable: true
      is_focusable: true
      depth: 8
    }
    nodes {
      bounds_in_screen {
        left: 151
        top: 1764
        right: 929
        bottom: 1890
      }
      class_name: "android.widget.LinearLayout"
      depth: 8
    }
    nodes {
      bounds_in_screen {
        left: 162
        top: 588
        right: 918
        bottom: 717
      }
      class_name: "android.widget.HorizontalScrollView"
      is_focusable: true
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 162
        top: 717
        right: 918
        bottom: 720
      }
      class_name: "android.view.View"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 204
        top: 756
        right: 876
        bottom: 1313
      }
      class_name: "android.widget.TimePicker"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 162
        top: 1350
        right: 918
        bottom: 1523
      }
      class_name: "android.widget.LinearLayout"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 530
        top: 1764
        right: 551
        bottom: 1764
      }
      class_name: "android.view.View"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 151
        top: 1764
        right: 530
        bottom: 1890
      }
      class_name: "android.widget.Button"
      text: "Cancel"
      is_clickable: true
      is_focusable: true
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 551
        top: 1764
        right: 929
        bottom: 1890
      }
      class_name: "android.widget.Button"
      text: "Set"
      is_clickable: true
      is_focusable: true
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 162
        top: 588
        right: 918
        bottom: 717
      }
      class_name: "android.widget.LinearLayout"
      depth: 10
    }
    nodes {
      bounds_in_screen {
        left: 204
        top: 756
        right: 876
        bottom: 1313
      }
      class_name: "android.widget.LinearLayout"
      depth: 10
    }
    nodes {
      bounds_in_screen {
        left: 162
        top: 1350
        right: 918
        bottom: 1351
      }
      class_name: "android.view.View"
      depth: 10
    }
    nodes {
      bounds_in_screen {
        left: 162
        top: 1351
        right: 918
        bottom: 1522
      }
      class_name: "android.widget.LinearLayout"
      depth: 10
    }
    nodes {
      bounds_in_screen {
        left: 162
        top: 1522
        right: 918
        bottom: 1523
      }
      class_name: "android.view.View"
      depth: 10
    }
    nodes {
      bounds_in_screen {
        left: 291
        top: 588
        right: 540
        bottom: 717
      }
      class_name: "android.widget.LinearLayout"
      is_focusable: true
      is_selected: true
      depth: 11
    }
    nodes {
      bounds_in_screen {
        left: 540
        top: 588
        right: 789
        bottom: 717
      }
      class_name: "android.widget.LinearLayout"
      is_clickable: true
      is_focusable: true
      depth: 11
    }
    nodes {
      bounds_in_screen {
        left: 225
        top: 756
        right: 645
        bottom: 1313
      }
      class_name: "android.widget.LinearLayout"
      depth: 11
    }
    nodes {
      bounds_in_screen {
        left: 666
        top: 798
        right: 834
        bottom: 1271
      }
      class_name: "android.widget.NumberPicker"
      is_scrollable: true
      depth: 11
    }
    nodes {
      bounds_in_screen {
        left: 162
        top: 1351
        right: 288
        bottom: 1522
      }
      class_name: "android.widget.ImageButton"
      content_description: "Previous date"
      is_clickable: true
      is_focusable: true
      depth: 11
    }
    nodes {
      bounds_in_screen {
        left: 288
        top: 1351
        right: 792
        bottom: 1522
      }
      class_name: "androidx.viewpager.widget.ViewPager"
      is_focusable: true
      is_scrollable: true
      depth: 11
    }
    nodes {
      bounds_in_screen {
        left: 792
        top: 1351
        right: 918
        bottom: 1522
      }
      class_name: "android.widget.ImageButton"
      content_description: "Next date"
      is_clickable: true
      is_focusable: true
      depth: 11
    }
    nodes {
      bounds_in_screen {
        left: 333
        top: 625
        right: 498
        bottom: 680
      }
      class_name: "android.widget.LinearLayout"
      is_selected: true
      depth: 12
    }
    nodes {
      bounds_in_screen {
        left: 582
        top: 625
        right: 747
        bottom: 680
      }
      class_name: "android.widget.LinearLayout"
      depth: 12
    }
    nodes {
      bounds_in_screen {
        left: 246
        top: 798
        right: 414
        bottom: 1271
      }
      class_name: "android.widget.NumberPicker"
      is_scrollable: true
      depth: 12
    }
    nodes {
      bounds_in_screen {
        left: 430
        top: 1007
        right: 440
        bottom: 1062
      }
      class_name: "android.widget.TextView"
      text: ":"
      depth: 12
    }
    nodes {
      bounds_in_screen {
        left: 456
        top: 798
        right: 624
        bottom: 1271
      }
      class_name: "android.widget.NumberPicker"
      is_scrollable: true
      depth: 12
    }
    nodes {
      bounds_in_screen {
        left: 666
        top: 971
        right: 834
        bottom: 1097
      }
      class_name: "android.widget.EditText"
      text: "AM"
      is_clickable: true
      is_editable: true
      is_focusable: true
      is_long_clickable: true
      depth: 12
    }
    nodes {
      bounds_in_screen {
        left: 666
        top: 1097
        right: 834
        bottom: 1271
      }
      class_name: "android.widget.Button"
      text: "PM"
      is_clickable: true
      is_long_clickable: true
      depth: 12
    }
    nodes {
      bounds_in_screen {
        left: 288
        top: 1351
        right: 288
        bottom: 1522
      }
      class_name: "android.widget.TextView"
      content_description: "Yesterday, Sunday, August 13, 2023"
      text: "Yesterday"
      is_clickable: true
      is_focusable: true
      depth: 12
    }
    nodes {
      bounds_in_screen {
        left: 288
        top: 1351
        right: 792
        bottom: 1522
      }
      class_name: "android.widget.TextView"
      content_description: "Today, Monday, August 14, 2023"
      text: "Today"
      is_clickable: true
      is_focusable: true
      depth: 12
    }
    nodes {
      bounds_in_screen {
        left: 792
        top: 1351
        right: 792
        bottom: 1522
      }
      class_name: "android.widget.TextView"
      content_description: "Tomorrow, Tuesday, August 15, 2023"
      text: "Tomorrow"
      is_clickable: true
      is_focusable: true
      depth: 12
    }
    nodes {
      bounds_in_screen {
        left: 333
        top: 625
        right: 498
        bottom: 680
      }
      class_name: "android.widget.TextView"
      content_description: "Depart at"
      text: "Depart at"
      is_selected: true
      depth: 13
    }
    nodes {
      bounds_in_screen {
        left: 586
        top: 625
        right: 743
        bottom: 680
      }
      class_name: "android.widget.TextView"
      content_description: "Arrive by"
      text: "Arrive by"
      depth: 13
    }
    nodes {
      bounds_in_screen {
        left: 246
        top: 798
        right: 414
        bottom: 971
      }
      class_name: "android.widget.Button"
      text: "10"
      is_clickable: true
      is_long_clickable: true
      depth: 13
    }
    nodes {
      bounds_in_screen {
        left: 246
        top: 971
        right: 414
        bottom: 1097
      }
      class_name: "android.widget.EditText"
      text: "11"
      is_clickable: true
      is_editable: true
      is_focusable: true
      is_long_clickable: true
      depth: 13
    }
    nodes {
      bounds_in_screen {
        left: 246
        top: 1097
        right: 414
        bottom: 1271
      }
      class_name: "android.widget.Button"
      text: "12"
      is_clickable: true
      is_long_clickable: true
      depth: 13
    }
    nodes {
      bounds_in_screen {
        left: 456
        top: 798
        right: 624
        bottom: 971
      }
      class_name: "android.widget.Button"
      text: "38"
      is_clickable: true
      is_long_clickable: true
      depth: 13
    }
    nodes {
      bounds_in_screen {
        left: 456
        top: 971
        right: 624
        bottom: 1097
      }
      class_name: "android.widget.EditText"
      text: "39"
      is_clickable: true
      is_editable: true
      is_focusable: true
      is_long_clickable: true
      depth: 13
    }
    nodes {
      bounds_in_screen {
        left: 456
        top: 1097
        right: 624
        bottom: 1271
      }
      class_name: "android.widget.Button"
      text: "40"
      is_clickable: true
      is_long_clickable: true
      depth: 13
    }
  }
}

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"]}}}]