instruction
I eat nonveg and would want to have Chicken with cream added to the Talabat app for me.
previous_actions
{"name": "open_app", "parameters": {"app_name": "talabat"}}
{"name": "click", "parameters": {"x": 540, "y": 1257}}
{"name": "click", "parameters": {"x": 540, "y": 1225}}
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:19 AM"
      text: "12:19"
      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: 2337
      }
      class_name: "android.view.View"
      depth: 7
    }
    nodes {
      bounds_in_screen {
        right: 1080
        bottom: 2337
      }
      class_name: "android.view.View"
      depth: 8
    }
    nodes {
      bounds_in_screen {
        right: 1080
        bottom: 2337
      }
      class_name: "android.view.View"
      content_description: "add_to_basket"
      is_focusable: true
      is_scrollable: true
      depth: 9
    }
    nodes {
      bounds_in_screen {
        right: 1080
        bottom: 283
      }
      class_name: "android.view.View"
      depth: 10
    }
    nodes {
      bounds_in_screen {
        right: 1080
        bottom: 2117
      }
      class_name: "android.widget.ScrollView"
      is_scrollable: true
      depth: 10
    }
    nodes {
      bounds_in_screen {
        left: 42
        top: 2159
        right: 1038
        bottom: 2295
      }
      class_name: "android.widget.Button"
      content_description: "Add to basket\nJOD 3.25"
      is_clickable: true
      is_focusable: true
      depth: 10
    }
    nodes {
      bounds_in_screen {
        right: 1080
        bottom: 283
      }
      class_name: "android.view.View"
      depth: 11
    }
    nodes {
      bounds_in_screen {
        right: 1080
        bottom: 283
      }
      class_name: "android.view.View"
      depth: 11
    }
    nodes {
      bounds_in_screen {
        left: 42
        top: 842
        right: 1038
        bottom: 915
      }
      class_name: "android.view.View"
      content_description: "title\nchicken with Cream"
      is_focusable: true
      depth: 11
    }
    nodes {
      bounds_in_screen {
        left: 42
        top: 957
        right: 223
        bottom: 1010
      }
      class_name: "android.view.View"
      content_description: "price\nJOD 3.25"
      is_focusable: true
      depth: 11
    }
    nodes {
      bounds_in_screen {
        left: 762
        top: 957
        right: 1049
        bottom: 1083
      }
      class_name: "android.view.View"
      content_description: "quantity_1\n1\n2\n+"
      is_focusable: true
      depth: 11
    }
    nodes {
      bounds_in_screen {
        top: 1125
        right: 1080
        bottom: 1637
      }
      class_name: "android.view.View"
      depth: 11
    }
    nodes {
      bounds_in_screen {
        left: 42
        top: 1700
        right: 528
        bottom: 1773
      }
      class_name: "android.view.View"
      content_description: "Often ordered with"
      is_focusable: true
      depth: 11
    }
    nodes {
      bounds_in_screen {
        left: 42
        top: 1784
        right: 719
        bottom: 1826
      }
      class_name: "android.view.View"
      content_description: "People usually order these items as well"
      is_focusable: true
      depth: 11
    }
    nodes {
      bounds_in_screen {
        top: 1857
        right: 1080
        bottom: 2117
      }
      class_name: "android.view.View"
      depth: 11
    }
    nodes {
      bounds_in_screen {
        top: 147
        right: 1080
        bottom: 273
      }
      class_name: "android.widget.ImageView"
      content_description: "packages/design_system/lib/assets/images/ds_close/ds_close.svg"
      is_clickable: true
      is_focusable: true
      depth: 12
    }
    nodes {
      bounds_in_screen {
        left: 773
        top: 968
        right: 878
        bottom: 1073
      }
      class_name: "android.view.View"
      content_description: "decrease"
      is_clickable: true
      is_focusable: true
      depth: 12
    }
    nodes {
      bounds_in_screen {
        left: 794
        top: 989
        right: 857
        bottom: 1052
      }
      class_name: "android.widget.ImageView"
      depth: 12
    }
    nodes {
      bounds_in_screen {
        left: 933
        top: 968
        right: 1038
        bottom: 1073
      }
      class_name: "android.view.View"
      content_description: "increase"
      is_clickable: true
      is_focusable: true
      depth: 12
    }
    nodes {
      bounds_in_screen {
        left: 954
        top: 989
        right: 1017
        bottom: 1052
      }
      class_name: "android.widget.ImageView"
      depth: 12
    }
    nodes {
      bounds_in_screen {
        top: 1125
        right: 1080
        bottom: 1637
      }
      class_name: "android.view.View"
      depth: 12
    }
    nodes {
      bounds_in_screen {
        top: 1857
        right: 1080
        bottom: 2117
      }
      class_name: "android.view.View"
      is_scrollable: true
      depth: 12
    }
    nodes {
      bounds_in_screen {
        top: 1125
        right: 1080
        bottom: 1637
      }
      class_name: "android.widget.ImageView"
      content_description: "section_0\nYour Choice Of:\nRequired\nsection_selection_text_0\nDone"
      is_focusable: true
      depth: 13
    }
    nodes {
      bounds_in_screen {
        top: 1857
        right: 457
        bottom: 2117
      }
      class_name: "android.widget.ImageView"
      content_description: "valuemenu_item_1677574307_price_original_JOD 1.00_price_crossed_null, labelmenu_item_1677574307_price_original_JOD 1.00_price_crossed_null\nArayes\nJOD 1.00"
      is_clickable: true
      is_focusable: true
      depth: 13
    }
    nodes {
      bounds_in_screen {
        left: 457
        top: 1857
        right: 914
        bottom: 2117
      }
      class_name: "android.widget.ImageView"
      content_description: "valuemenu_item_1677574306_price_original_JOD 2.00_price_crossed_null, labelmenu_item_1677574306_price_original_JOD 2.00_price_crossed_null\nShish sandwich\nJOD 2.00"
      is_clickable: true
      is_focusable: true
      depth: 13
    }
    nodes {
      bounds_in_screen {
        left: 914
        top: 1857
        right: 1080
        bottom: 2117
      }
      class_name: "android.widget.ImageView"
      content_description: "valuemenu_item_1677574304_price_original_JOD 2.00_price_crossed_null, labelmenu_item_1677574304_price_original_JOD 2.00_price_crossed_null\nKebab sandwich\nJOD 2.00"
      is_clickable: true
      is_focusable: true
      depth: 13
    }
    nodes {
      bounds_in_screen {
        top: 1361
        right: 1080
        bottom: 1637
      }
      class_name: "android.view.View"
      depth: 14
    }
    nodes {
      bounds_in_screen {
        top: 1361
        right: 1080
        bottom: 1637
      }
      class_name: "android.view.View"
      depth: 15
    }
    nodes {
      bounds_in_screen {
        top: 1361
        right: 1080
        bottom: 1498
      }
      class_name: "android.view.View"
      content_description: "choice_true_0_0_Meal\nMeal\n(+JOD 3.25)"
      is_clickable: true
      is_focusable: true
      depth: 16
    }
    nodes {
      bounds_in_screen {
        top: 1500
        right: 1080
        bottom: 1637
      }
      class_name: "android.view.View"
      content_description: "choice_false_0_1_Sandwich\nSandwich\n(+JOD 2.00)"
      is_clickable: true
      is_focusable: true
      depth: 16
    }
  }
}

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