instruction
My friend came home and suggested that I order the food from my favorite restaurant Le Voltaire. Search the Le Voltaire restaurant in the TheFork app
previous_actions
{"name": "open_app", "parameters": {"app_name": "TheFork"}}
{"name": "click", "parameters": {"x": 534, "y": 211}}
{"name": "input_text", "parameters": {"text": "Le Voltaire"}}
active_application
TheFork
screen_description
windows {
  bounds_in_screen {
    right: 1080
    bottom: 136
  }
  id: 6
  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: 145
        right: 1027
        bottom: 136
      }
      class_name: "android.widget.LinearLayout"
      depth: 3
    }
    nodes {
      bounds_in_screen {
        left: 145
        top: 1
        right: 575
        bottom: 136
      }
      class_name: "android.widget.FrameLayout"
      depth: 4
    }
    nodes {
      bounds_in_screen {
        left: 575
        top: 1
        right: 1006
        bottom: 136
      }
      class_name: "android.widget.FrameLayout"
      depth: 4
    }
    nodes {
      bounds_in_screen {
        left: 145
        top: 1
        right: 518
        bottom: 136
      }
      class_name: "android.widget.FrameLayout"
      depth: 5
    }
    nodes {
      bounds_in_screen {
        left: 924
        top: 1
        right: 1006
        bottom: 136
      }
      class_name: "android.widget.LinearLayout"
      depth: 5
    }
    nodes {
      bounds_in_screen {
        left: 145
        top: 1
        right: 518
        bottom: 136
      }
      class_name: "android.widget.LinearLayout"
      depth: 6
    }
    nodes {
      bounds_in_screen {
        left: 924
        top: 1
        right: 1006
        bottom: 136
      }
      class_name: "android.widget.LinearLayout"
      depth: 6
    }
    nodes {
      bounds_in_screen {
        left: 145
        top: 1
        right: 228
        bottom: 136
      }
      class_name: "android.widget.TextView"
      content_description: "11:43 PM"
      text: "8:13"
      depth: 7
    }
    nodes {
      bounds_in_screen {
        left: 228
        top: 1
        right: 518
        bottom: 136
      }
      class_name: "android.widget.FrameLayout"
      depth: 7
    }
    nodes {
      bounds_in_screen {
        left: 924
        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: 228
        top: 1
        right: 518
        bottom: 136
      }
      class_name: "android.view.ViewGroup"
      depth: 8
    }
    nodes {
      bounds_in_screen {
        left: 924
        top: 39
        right: 970
        bottom: 97
      }
      class_name: "android.widget.FrameLayout"
      content_description: "Wifi three bars."
      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: 228
        top: 1
        right: 286
        bottom: 136
      }
      class_name: "android.widget.ImageView"
      content_description: "Calm notification: Mindfulness Reminder"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 286
        top: 1
        right: 344
        bottom: 136
      }
      class_name: "android.widget.ImageView"
      content_description: "Android System notification: Review app with background location access"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 344
        top: 1
        right: 402
        bottom: 136
      }
      class_name: "android.widget.ImageView"
      content_description: "Frog Weather notification: Tomorrow\nPatel Nagar Tehsil : Clear sky"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 402
        top: 1
        right: 460
        bottom: 136
      }
      class_name: "android.widget.ImageView"
      content_description: "Fitbit notification: MobileTrack"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 460
        top: 1
        right: 518
        bottom: 136
      }
      class_name: "android.widget.ImageView"
      content_description: "Weather XL notification: Clear 80° Max: 93°"
      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 {
    right: 1080
    bottom: 2400
  }
  id: 748
  title: "TheFork"
  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: 136
      }
      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: 136
        right: 1080
        bottom: 2337
      }
      class_name: "android.widget.FrameLayout"
      depth: 2
    }
    nodes {
      bounds_in_screen {
        top: 136
        right: 1080
        bottom: 2337
      }
      class_name: "android.widget.LinearLayout"
      depth: 3
    }
    nodes {
      bounds_in_screen {
        top: 136
        right: 1080
        bottom: 2337
      }
      class_name: "android.widget.FrameLayout"
      depth: 4
    }
    nodes {
      bounds_in_screen {
        top: 136
        right: 1080
        bottom: 2337
      }
      class_name: "android.view.ViewGroup"
      depth: 5
    }
    nodes {
      bounds_in_screen {
        top: 136
        right: 1080
        bottom: 2337
      }
      class_name: "android.widget.FrameLayout"
      depth: 6
    }
    nodes {
      bounds_in_screen {
        top: 136
        right: 1080
        bottom: 2337
      }
      class_name: "android.widget.FrameLayout"
      depth: 7
    }
    nodes {
      bounds_in_screen {
        top: 136
        right: 1080
        bottom: 2337
      }
      class_name: "android.widget.FrameLayout"
      depth: 8
    }
    nodes {
      bounds_in_screen {
        top: 136
        right: 1080
        bottom: 2337
      }
      class_name: "android.view.ViewGroup"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        top: 136
        right: 1080
        bottom: 693
      }
      class_name: "android.widget.FrameLayout"
      depth: 10
    }
    nodes {
      bounds_in_screen {
        left: 21
        top: 157
        right: 126
        bottom: 262
      }
      class_name: "android.widget.ImageView"
      is_clickable: true
      is_focusable: true
      depth: 10
    }
    nodes {
      bounds_in_screen {
        left: 147
        top: 178
        right: 807
        bottom: 241
      }
      class_name: "android.widget.TextView"
      text: "Le Voltaire"
      depth: 10
    }
    nodes {
      bounds_in_screen {
        left: 828
        top: 157
        right: 933
        bottom: 262
      }
      class_name: "android.widget.ImageView"
      is_clickable: true
      is_focusable: true
      depth: 10
    }
    nodes {
      bounds_in_screen {
        left: 954
        top: 157
        right: 1059
        bottom: 262
      }
      class_name: "android.widget.ImageView"
      is_clickable: true
      is_focusable: true
      depth: 10
    }
    nodes {
      bounds_in_screen {
        top: 693
        right: 1080
        bottom: 2337
      }
      class_name: "android.widget.FrameLayout"
      depth: 10
    }
    nodes {
      bounds_in_screen {
        top: 2148
        right: 1080
        bottom: 2337
      }
      class_name: "android.widget.FrameLayout"
      depth: 10
    }
    nodes {
      bounds_in_screen {
        top: 136
        right: 1080
        bottom: 693
      }
      class_name: "android.view.ViewGroup"
      depth: 11
    }
    nodes {
      bounds_in_screen {
        top: 693
        right: 1080
        bottom: 2337
      }
      class_name: "androidx.recyclerview.widget.RecyclerView"
      is_focusable: true
      is_scrollable: true
      depth: 11
    }
    nodes {
      bounds_in_screen {
        top: 2148
        right: 1080
        bottom: 2337
      }
      class_name: "android.widget.FrameLayout"
      depth: 11
    }
    nodes {
      bounds_in_screen {
        top: 136
        right: 1080
        bottom: 693
      }
      class_name: "androidx.compose.ui.platform.ComposeView"
      depth: 12
    }
    nodes {
      bounds_in_screen {
        left: 32
        top: 604
        right: 299
        bottom: 661
      }
      class_name: "android.widget.TextView"
      text: "9 PHOTOS"
      is_clickable: true
      is_focusable: true
      depth: 12
    }
    nodes {
      bounds_in_screen {
        top: 693
        right: 1080
        bottom: 954
      }
      class_name: "android.view.ViewGroup"
      depth: 12
    }
    nodes {
      bounds_in_screen {
        top: 955
        right: 1080
        bottom: 1220
      }
      class_name: "android.view.ViewGroup"
      depth: 12
    }
    nodes {
      bounds_in_screen {
        top: 1221
        right: 1080
        bottom: 1446
      }
      class_name: "android.widget.FrameLayout"
      depth: 12
    }
    nodes {
      bounds_in_screen {
        top: 1447
        right: 1080
        bottom: 1711
      }
      class_name: "androidx.compose.ui.platform.ComposeView"
      depth: 12
    }
    nodes {
      bounds_in_screen {
        top: 1775
        right: 1080
        bottom: 2337
      }
      class_name: "android.view.ViewGroup"
      depth: 12
    }
    nodes {
      bounds_in_screen {
        left: 42
        top: 2169
        right: 1038
        bottom: 2316
      }
      class_name: "android.widget.Button"
      text: "BOOK A TABLE"
      is_clickable: true
      is_focusable: true
      depth: 12
    }
    nodes {
      bounds_in_screen {
        top: 136
        right: 1080
        bottom: 693
      }
      class_name: "android.view.View"
      depth: 13
    }
    nodes {
      bounds_in_screen {
        left: 42
        top: 735
        right: 1038
        bottom: 823
      }
      class_name: "android.widget.TextView"
      text: "Le Voltaire"
      depth: 13
    }
    nodes {
      bounds_in_screen {
        top: 823
        right: 1080
        bottom: 954
      }
      class_name: "android.widget.TextView"
      text: "18, boulevard Voltaire 75011 Paris, France"
      is_clickable: true
      is_focusable: true
      depth: 13
    }
    nodes {
      bounds_in_screen {
        top: 955
        right: 1080
        bottom: 1125
      }
      class_name: "androidx.recyclerview.widget.RecyclerView"
      is_focusable: true
      depth: 13
    }
    nodes {
      bounds_in_screen {
        left: 42
        top: 1125
        right: 441
        bottom: 1188
      }
      class_name: "android.widget.TextView"
      text: "AVERAGE PRICE €25"
      depth: 13
    }
    nodes {
      bounds_in_screen {
        left: 336
        top: 1242
        right: 744
        bottom: 1425
      }
      class_name: "android.view.ViewGroup"
      is_clickable: true
      is_focusable: true
      depth: 13
    }
    nodes {
      bounds_in_screen {
        top: 1447
        right: 1080
        bottom: 1711
      }
      class_name: "android.view.View"
      depth: 13
    }
    nodes {
      bounds_in_screen {
        top: 1775
        bottom: 1775
      }
      class_name: "android.view.View"
      depth: 13
    }
    nodes {
      bounds_in_screen {
        left: 42
        top: 1775
        right: 1038
        bottom: 1844
      }
      class_name: "android.widget.TextView"
      text: "Menu"
      depth: 13
    }
    nodes {
      bounds_in_screen {
        top: 1897
        right: 1080
        bottom: 1900
      }
      class_name: "android.view.View"
      depth: 13
    }
    nodes {
      bounds_in_screen {
        left: 42
        top: 1932
        right: 95
        bottom: 1985
      }
      class_name: "android.widget.ImageView"
      depth: 13
    }
    nodes {
      bounds_in_screen {
        left: 116
        top: 1937
        right: 477
        bottom: 1981
      }
      class_name: "android.widget.TextView"
      text: "AVERAGE PRICE €25"
      depth: 13
    }
    nodes {
      bounds_in_screen {
        top: 2017
        right: 1080
        bottom: 2020
      }
      class_name: "android.view.View"
      depth: 13
    }
    nodes {
      bounds_in_screen {
        top: 2020
        right: 1080
        bottom: 2337
      }
      class_name: "androidx.recyclerview.widget.RecyclerView"
      is_focusable: true
      depth: 13
    }
    nodes {
      bounds_in_screen {
        left: 42
        top: 2429
        right: 1038
        bottom: 2337
      }
      class_name: "android.widget.Button"
      text: "SEE FULL MENU"
      is_clickable: true
      is_focusable: true
      depth: 13
    }
    nodes {
      bounds_in_screen {
        top: 136
        right: 1080
        bottom: 693
      }
      class_name: "android.view.View"
      is_clickable: true
      is_focusable: true
      depth: 14
    }
    nodes {
      bounds_in_screen {
        left: 43
        top: 998
        right: 246
        bottom: 1082
      }
      class_name: "android.widget.Button"
      text: "FRENCH"
      is_clickable: true
      is_focusable: true
      depth: 14
    }
    nodes {
      bounds_in_screen {
        left: 268
        top: 998
        right: 484
        bottom: 1082
      }
      class_name: "android.widget.Button"
      text: "TERRACE"
      is_clickable: true
      is_focusable: true
      depth: 14
    }
    nodes {
      bounds_in_screen {
        left: 440
        top: 1263
        right: 636
        bottom: 1360
      }
      class_name: "android.widget.TextView"
      text: "8.4"
      depth: 14
    }
    nodes {
      bounds_in_screen {
        left: 357
        top: 1360
        right: 723
        bottom: 1404
      }
      class_name: "android.widget.TextView"
      text: "218 TheFork reviews"
      depth: 14
    }
    nodes {
      bounds_in_screen {
        top: 1447
        right: 1080
        bottom: 1711
      }
      class_name: "android.view.View"
      depth: 14
    }
    nodes {
      bounds_in_screen {
        left: 42
        top: 2052
        right: 1038
        bottom: 2096
      }
      class_name: "android.view.ViewGroup"
      depth: 14
    }
    nodes {
      bounds_in_screen {
        left: 42
        top: 2163
        right: 1038
        bottom: 2207
      }
      class_name: "android.view.ViewGroup"
      depth: 14
    }
    nodes {
      bounds_in_screen {
        left: 42
        top: 2274
        right: 1038
        bottom: 2337
      }
      class_name: "android.view.ViewGroup"
      depth: 14
    }
    nodes {
      bounds_in_screen {
        top: 136
        right: 1080
        bottom: 693
      }
      class_name: "android.view.View"
      is_scrollable: true
      depth: 15
    }
    nodes {
      bounds_in_screen {
        top: 1510
        right: 1080
        bottom: 1648
      }
      class_name: "android.view.View"
      depth: 15
    }
    nodes {
      bounds_in_screen {
        left: 42
        top: 2052
        right: 823
        bottom: 2096
      }
      class_name: "android.widget.TextView"
      text: "Souris d\'agneaux de 7 heures confite au miel"
      depth: 15
    }
    nodes {
      bounds_in_screen {
        left: 914
        top: 2052
        right: 1038
        bottom: 2096
      }
      class_name: "android.widget.TextView"
      text: "€18.90"
      depth: 15
    }
    nodes {
      bounds_in_screen {
        left: 42
        top: 2163
        right: 600
        bottom: 2207
      }
      class_name: "android.widget.TextView"
      text: "Pièce du boucher 180 grammes"
      depth: 15
    }
    nodes {
      bounds_in_screen {
        left: 915
        top: 2163
        right: 1038
        bottom: 2207
      }
      class_name: "android.widget.TextView"
      text: "€13.50"
      depth: 15
    }
    nodes {
      bounds_in_screen {
        left: 42
        top: 2274
        right: 872
        bottom: 2337
      }
      class_name: "android.widget.TextView"
      text: "Duo de gambas saumon et écrasé de pommes de terre"
      depth: 15
    }
    nodes {
      bounds_in_screen {
        left: 914
        top: 2274
        right: 1038
        bottom: 2318
      }
      class_name: "android.widget.TextView"
      text: "€12.90"
      depth: 15
    }
    nodes {
      bounds_in_screen {
        left: 42
        top: 1510
        right: 1038
        bottom: 1648
      }
      class_name: "android.view.View"
      is_clickable: true
      is_focusable: true
      depth: 16
    }
    nodes {
      bounds_in_screen {
        left: 84
        top: 1552
        right: 126
        bottom: 1594
      }
      class_name: "android.view.View"
      depth: 17
    }
    nodes {
      bounds_in_screen {
        left: 189
        top: 1536
        right: 964
        bottom: 1580
      }
      class_name: "android.widget.TextView"
      text: "Get up to 30% off"
      depth: 17
    }
    nodes {
      bounds_in_screen {
        left: 964
        top: 1531
        right: 1017
        bottom: 1584
      }
      class_name: "android.view.View"
      depth: 17
    }
    nodes {
      bounds_in_screen {
        left: 189
        top: 1589
        right: 498
        bottom: 1627
      }
      class_name: "android.widget.TextView"
      text: "Conditions may apply"
      depth: 17
    }
  }
}

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