instruction
I like to eat desserts, so would like to add carrot cake for me in Grubhub app
previous_actions
active_application
talabat
screen_description
windows {
  bounds_in_screen {
    right: 1080
    bottom: 136
  }
  id: 8
  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: 535
        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: 535
        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: 245
        bottom: 136
      }
      class_name: "android.widget.TextView"
      content_description: "12:26 AM"
      text: "12:26"
      depth: 7
    }
    nodes {
      bounds_in_screen {
        left: 245
        top: 1
        right: 535
        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: 245
        top: 1
        right: 535
        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 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: 245
        top: 1
        right: 303
        bottom: 136
      }
      class_name: "android.widget.ImageView"
      content_description: "Limeroad notification: Elevated essentials galore 👇 "
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 303
        top: 1
        right: 361
        bottom: 136
      }
      class_name: "android.widget.ImageView"
      content_description: "Solitaire notification: 😀🎉 Come to play with me together! It\'s a beautiful solitaire!"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 361
        top: 1
        right: 419
        bottom: 136
      }
      class_name: "android.widget.ImageView"
      content_description: "CNN notification: "
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 419
        top: 1
        right: 477
        bottom: 136
      }
      class_name: "android.widget.ImageView"
      content_description: "CNN notification: "
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 477
        top: 1
        right: 535
        bottom: 136
      }
      class_name: "android.widget.ImageView"
      content_description: "CNN notification: "
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 495
        top: 1
        right: 535
        bottom: 136
      }
      class_name: "android.widget.ImageView"
      content_description: "Google Play Store notification: Complete setup by installing apps"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 495
        top: 1
        right: 535
        bottom: 136
      }
      class_name: "android.widget.ImageView"
      content_description: "SmartNews notification: Olympian and TV star ‘fighting for their life’ in ICU as daughter makes urgent plea"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 495
        top: 1
        right: 535
        bottom: 136
      }
      class_name: "android.widget.ImageView"
      content_description: "Google notification: बंधवाड़ी में कल का मौसम"
      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: 544
  title: "talabat"
  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 {
        right: 1080
        bottom: 2337
      }
      class_name: "android.widget.FrameLayout"
      depth: 2
    }
    nodes {
      bounds_in_screen {
        right: 1080
        bottom: 2337
      }
      class_name: "android.widget.FrameLayout"
      depth: 3
    }
    nodes {
      bounds_in_screen {
        right: 1080
        bottom: 2337
      }
      class_name: "android.widget.FrameLayout"
      is_focusable: true
      depth: 4
    }
    nodes {
      bounds_in_screen {
        right: 1080
        bottom: 2337
      }
      class_name: "android.view.View"
      depth: 5
    }
    nodes {
      bounds_in_screen {
        right: 1080
        bottom: 2337
      }
      class_name: "android.view.View"
      depth: 6
    }
    nodes {
      bounds_in_screen {
        right: 1080
        bottom: 2337
      }
      class_name: "android.view.View"
      depth: 7
    }
    nodes {
      bounds_in_screen {
        right: 1080
        bottom: 283
      }
      class_name: "android.view.View"
      depth: 8
    }
    nodes {
      bounds_in_screen {
        right: 1080
        bottom: 2117
      }
      class_name: "android.view.View"
      depth: 8
    }
    nodes {
      bounds_in_screen {
        left: 42
        top: 2159
        right: 1038
        bottom: 2295
      }
      class_name: "android.widget.Button"
      content_description: "ds_button_price\n1\n2\n+\nView basket\nJOD 3.25"
      is_clickable: true
      is_focusable: true
      depth: 8
    }
    nodes {
      bounds_in_screen {
        right: 1080
        bottom: 283
      }
      class_name: "android.view.View"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        right: 1080
        bottom: 283
      }
      class_name: "android.view.View"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        right: 1080
        bottom: 2117
      }
      class_name: "android.widget.ScrollView"
      is_scrollable: true
      depth: 9
    }
    nodes {
      bounds_in_screen {
        top: 147
        right: 1080
        bottom: 273
      }
      class_name: "android.view.View"
      depth: 10
    }
    nodes {
      bounds_in_screen {
        left: 318
        top: 324
        right: 496
        bottom: 398
      }
      class_name: "android.view.View"
      content_description: "Alraa3i"
      is_focusable: true
      depth: 10
    }
    nodes {
      bounds_in_screen {
        left: 951
        top: 324
        right: 1004
        bottom: 377
      }
      class_name: "android.widget.ImageView"
      is_clickable: true
      is_focusable: true
      depth: 10
    }
    nodes {
      bounds_in_screen {
        left: 318
        top: 398
        right: 830
        bottom: 440
      }
      class_name: "android.view.View"
      content_description: "Grills, Snacks, Arabic, Fried Chicken"
      is_focusable: true
      depth: 10
    }
    nodes {
      bounds_in_screen {
        left: 318
        top: 461
        right: 651
        bottom: 505
      }
      class_name: "android.widget.ImageView"
      content_description: "3.2\n(\n144 Ratings\n)"
      is_clickable: true
      is_focusable: true
      depth: 10
    }
    nodes {
      bounds_in_screen {
        left: 76
        top: 545
        right: 384
        bottom: 671
      }
      class_name: "android.view.View"
      content_description: "Delivery fee\nJOD 0.25"
      is_clickable: true
      is_focusable: true
      depth: 10
    }
    nodes {
      bounds_in_screen {
        left: 386
        top: 545
        right: 694
        bottom: 671
      }
      class_name: "android.view.View"
      content_description: "Delivery time\n26 mins"
      is_clickable: true
      is_focusable: true
      depth: 10
    }
    nodes {
      bounds_in_screen {
        left: 696
        top: 545
        right: 1004
        bottom: 671
      }
      class_name: "android.view.View"
      content_description: "Delivered by"
      is_clickable: true
      is_focusable: true
      depth: 10
    }
    nodes {
      bounds_in_screen {
        top: 736
        right: 1080
        bottom: 862
      }
      class_name: "android.widget.ImageView"
      content_description: "menu_tab\nmenu_categories_icon\npackages/design_system/lib/assets/images/ds_menu/ds_menu.svg"
      is_clickable: true
      is_focusable: true
      depth: 10
    }
    nodes {
      bounds_in_screen {
        top: 862
        right: 1080
        bottom: 2117
      }
      class_name: "android.view.View"
      content_description: "Trending 🔥"
      is_focusable: true
      depth: 10
    }
    nodes {
      bounds_in_screen {
        left: 11
        top: 147
        right: 137
        bottom: 273
      }
      class_name: "android.widget.ImageView"
      content_description: "packages/design_system/lib/assets/images/ds_arrow_back/ds_arrow_back.svg"
      is_clickable: true
      is_focusable: true
      depth: 11
    }
    nodes {
      bounds_in_screen {
        left: 817
        top: 147
        right: 943
        bottom: 273
      }
      class_name: "android.widget.ImageView"
      content_description: "assets/images/vendor/share-Icon.svg"
      is_clickable: true
      is_focusable: true
      depth: 11
    }
    nodes {
      bounds_in_screen {
        left: 943
        top: 147
        right: 1070
        bottom: 273
      }
      class_name: "android.widget.ImageView"
      content_description: "packages/design_system/lib/assets/images/ds_search/ds_search.svg"
      is_clickable: true
      is_focusable: true
      depth: 11
    }
    nodes {
      bounds_in_screen {
        left: 751
        top: 624
        right: 896
        bottom: 655
      }
      class_name: "android.widget.ImageView"
      depth: 11
    }
    nodes {
      bounds_in_screen {
        left: 907
        top: 618
        right: 949
        bottom: 660
      }
      class_name: "android.widget.ImageView"
      depth: 11
    }
    nodes {
      bounds_in_screen {
        left: 126
        top: 736
        right: 1080
        bottom: 862
      }
      class_name: "android.widget.HorizontalScrollView"
      is_scrollable: true
      depth: 11
    }
    nodes {
      bounds_in_screen {
        top: 1020
        right: 1080
        bottom: 2117
      }
      class_name: "android.view.View"
      depth: 11
    }
    nodes {
      bounds_in_screen {
        left: 126
        top: 736
        right: 417
        bottom: 862
      }
      class_name: "android.view.View"
      content_description: "tab_item_Trending 🔥\nTrending 🔥\nTab 1 of 6"
      is_clickable: true
      is_focusable: true
      is_selected: true
      depth: 12
    }
    nodes {
      bounds_in_screen {
        left: 417
        top: 736
        right: 591
        bottom: 862
      }
      class_name: "android.view.View"
      content_description: "tab_item_Grills\nGrills\nTab 2 of 6"
      is_clickable: true
      is_focusable: true
      depth: 12
    }
    nodes {
      bounds_in_screen {
        left: 591
        top: 736
        right: 990
        bottom: 862
      }
      class_name: "android.view.View"
      content_description: "tab_item_Charcoal Chicken \nCharcoal Chicken \nTab 3 of 6"
      is_clickable: true
      is_focusable: true
      depth: 12
    }
    nodes {
      bounds_in_screen {
        left: 990
        top: 736
        right: 1080
        bottom: 862
      }
      class_name: "android.view.View"
      content_description: "tab_item_Grills Sandwiches\nGrills Sandwiches\nTab 4 of 6"
      is_clickable: true
      is_focusable: true
      depth: 12
    }
    nodes {
      bounds_in_screen {
        top: 1020
        right: 1080
        bottom: 2117
      }
      class_name: "android.view.View"
      depth: 12
    }
    nodes {
      bounds_in_screen {
        top: 1020
        right: 1080
        bottom: 1431
      }
      class_name: "android.view.View"
      content_description: "menu_item_1677574295_price_original_Price on selection_price_crossed_null, menu_item_1677574295_price_original_Price on selection_price_crossed_null\nchicken with Cream\nPrice on selection"
      is_clickable: true
      is_focusable: true
      depth: 13
    }
    nodes {
      bounds_in_screen {
        top: 1434
        right: 1080
        bottom: 1846
      }
      class_name: "android.view.View"
      content_description: "menu_item_1677574301_price_original_Price on selection_price_crossed_null, menu_item_1677574301_price_original_Price on selection_price_crossed_null\nMeat burger\nJuicy beef patty topped with melted cheese, crisp lettuce, ripe tomato, and tangy pickles, all nestled between a soft and fluffy bun\nPrice on selection"
      is_clickable: true
      is_focusable: true
      depth: 13
    }
    nodes {
      bounds_in_screen {
        top: 1848
        right: 1080
        bottom: 2117
      }
      class_name: "android.widget.ImageView"
      content_description: "menu_item_1677574298_price_original_Price on selection_price_crossed_null, menu_item_1677574298_price_original_Price on selection_price_crossed_null\nSmoke chicken burger\nTop rated\nPrice on selection"
      is_clickable: true
      is_focusable: true
      depth: 13
    }
  }
}

assistant
!FUNCTIONCALL{"name": "open_app", "parameters": {"app_name": "Grubhub"}}
[{"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"]}}}]