instruction
I am not so good at cooking but wanted to cook Brazilian Feijoada because it is my favourite meal. Search for Brazilian Feijoada in the Kitchen Stories app.
previous_actions
{"name": "open_app", "parameters": {"app_name": "Kitchen Stories"}}
active_application
Kitchen Stories
screen_description
windows {
  bounds_in_screen {
    right: 1080
    bottom: 136
  }
  id: 2
  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: 421
        bottom: 136
      }
      class_name: "android.widget.FrameLayout"
      depth: 5
    }
    nodes {
      bounds_in_screen {
        left: 840
        top: 1
        right: 1006
        bottom: 136
      }
      class_name: "android.widget.LinearLayout"
      depth: 5
    }
    nodes {
      bounds_in_screen {
        left: 47
        top: 1
        right: 421
        bottom: 136
      }
      class_name: "android.widget.LinearLayout"
      depth: 6
    }
    nodes {
      bounds_in_screen {
        left: 840
        top: 1
        right: 1006
        bottom: 136
      }
      class_name: "android.widget.LinearLayout"
      depth: 6
    }
    nodes {
      bounds_in_screen {
        left: 47
        top: 1
        right: 131
        bottom: 136
      }
      class_name: "android.widget.TextView"
      content_description: "5:23 PM"
      text: "5:23"
      depth: 7
    }
    nodes {
      bounds_in_screen {
        left: 131
        top: 1
        right: 421
        bottom: 136
      }
      class_name: "android.widget.FrameLayout"
      depth: 7
    }
    nodes {
      bounds_in_screen {
        left: 840
        top: 1
        right: 902
        bottom: 136
      }
      class_name: "android.widget.LinearLayout"
      depth: 7
    }
    nodes {
      bounds_in_screen {
        left: 902
        top: 1
        right: 1006
        bottom: 136
      }
      class_name: "android.widget.LinearLayout"
      content_description: "Battery charging, 89 percent."
      depth: 7
    }
    nodes {
      bounds_in_screen {
        left: 131
        top: 1
        right: 421
        bottom: 136
      }
      class_name: "android.view.ViewGroup"
      depth: 8
    }
    nodes {
      bounds_in_screen {
        left: 840
        top: 39
        right: 886
        bottom: 97
      }
      class_name: "android.widget.FrameLayout"
      content_description: "Wifi signal full."
      depth: 8
    }
    nodes {
      bounds_in_screen {
        left: 902
        top: 51
        right: 922
        bottom: 85
      }
      class_name: "android.widget.ImageView"
      depth: 8
    }
    nodes {
      bounds_in_screen {
        left: 922
        top: 1
        right: 1006
        bottom: 136
      }
      class_name: "android.widget.TextView"
      text: "89%"
      depth: 8
    }
    nodes {
      bounds_in_screen {
        left: 131
        top: 1
        right: 189
        bottom: 136
      }
      class_name: "android.widget.ImageView"
      content_description: "JioMart notification: "
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 189
        top: 1
        right: 247
        bottom: 136
      }
      class_name: "android.widget.ImageView"
      content_description: "Snapdeal notification: "
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 247
        top: 1
        right: 305
        bottom: 136
      }
      class_name: "android.widget.ImageView"
      content_description: "Tata CLiQ notification: "
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 305
        top: 1
        right: 363
        bottom: 136
      }
      class_name: "android.widget.ImageView"
      content_description: "UaiRango notification: Pode ficar feliz igual criança, benzinho!"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 363
        top: 1
        right: 421
        bottom: 136
      }
      class_name: "android.widget.ImageView"
      content_description: "Keep Notes notification: Grandson\'s Birthday"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 381
        top: 1
        right: 421
        bottom: 136
      }
      class_name: "android.widget.ImageView"
      content_description: "Google Play services notification: Account action required"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 381
        top: 1
        right: 421
        bottom: 136
      }
      class_name: "android.widget.ImageView"
      content_description: "Myntra notification: New launch from H&M 🤩"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 381
        top: 1
        right: 421
        bottom: 136
      }
      class_name: "android.widget.ImageView"
      content_description: "Meesho notification: "
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 381
        top: 1
        right: 421
        bottom: 136
      }
      class_name: "android.widget.ImageView"
      content_description: "FirstCry notification: Festive Special💥FLAT 60% OFF"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 381
        top: 1
        right: 421
        bottom: 136
      }
      class_name: "android.widget.ImageView"
      content_description: "Gmail notification: Reddit"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 381
        top: 1
        right: 421
        bottom: 136
      }
      class_name: "android.widget.ImageView"
      content_description: "Weather&Radar notification: "
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 381
        top: 1
        right: 421
        bottom: 136
      }
      class_name: "android.widget.ImageView"
      content_description: "FirstCry notification: Flat 40% OFF 🌪 Zip zap zoom"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 381
        top: 1
        right: 421
        bottom: 136
      }
      class_name: "android.widget.ImageView"
      content_description: "Gmail notification: 3 new messages"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 381
        top: 1
        right: 421
        bottom: 136
      }
      class_name: "android.widget.ImageView"
      content_description: "FirstCry notification: Baby Photoshoot Backdrop Ideas\n"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 381
        top: 1
        right: 421
        bottom: 136
      }
      class_name: "android.widget.ImageView"
      content_description: "Flipkart notification: "
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 381
        top: 1
        right: 421
        bottom: 136
      }
      class_name: "android.widget.ImageView"
      content_description: "Myntra notification: 1st order delights 🤩"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 381
        top: 1
        right: 421
        bottom: 136
      }
      class_name: "android.widget.ImageView"
      content_description: "FirstCry notification: Not 1, Not 2, But 5 Styles @ 65% OFF"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 381
        top: 1
        right: 421
        bottom: 136
      }
      class_name: "android.widget.ImageView"
      content_description: "FirstCry notification: H😃😃ray! Flat 65% OFF on Bestsellers"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 381
        top: 1
        right: 421
        bottom: 136
      }
      class_name: "android.widget.ImageView"
      content_description: "Rappi notification: Créditos pra você 💰"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 381
        top: 1
        right: 421
        bottom: 136
      }
      class_name: "android.widget.ImageView"
      content_description: "Flipkart notification: "
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 847
        top: 39
        right: 886
        bottom: 97
      }
      class_name: "android.widget.LinearLayout"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 847
        top: 48
        right: 886
        bottom: 87
      }
      class_name: "android.widget.FrameLayout"
      depth: 10
    }
    nodes {
      bounds_in_screen {
        left: 847
        top: 48
        right: 886
        bottom: 87
      }
      class_name: "android.widget.ImageView"
      depth: 11
    }
  }
}
windows {
  bounds_in_screen {
    right: 1080
    bottom: 2400
  }
  id: 1434
  title: "Kitchen Stories"
  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: 2400
      }
      class_name: "android.widget.LinearLayout"
      depth: 1
    }
    nodes {
      bounds_in_screen {
        right: 1080
        bottom: 2400
      }
      class_name: "android.widget.FrameLayout"
      depth: 2
    }
    nodes {
      bounds_in_screen {
        right: 1080
        bottom: 2400
      }
      class_name: "android.widget.FrameLayout"
      is_focusable: true
      depth: 3
    }
    nodes {
      bounds_in_screen {
        right: 1080
        bottom: 2400
      }
      class_name: "android.view.View"
      depth: 4
    }
    nodes {
      bounds_in_screen {
        right: 1080
        bottom: 2400
      }
      class_name: "android.view.View"
      depth: 5
    }
    nodes {
      bounds_in_screen {
        right: 1080
        bottom: 2400
      }
      class_name: "android.view.View"
      depth: 6
    }
    nodes {
      bounds_in_screen {
        right: 1080
        bottom: 2400
      }
      class_name: "android.view.View"
      depth: 7
    }
    nodes {
      bounds_in_screen {
        top: 2190
        right: 360
        bottom: 2337
      }
      class_name: "android.widget.ImageView"
      content_description: "Today, Tab 1 of 3"
      is_clickable: true
      is_focusable: true
      depth: 7
    }
    nodes {
      bounds_in_screen {
        left: 360
        top: 2190
        right: 720
        bottom: 2337
      }
      class_name: "android.widget.ImageView"
      content_description: "Search, Tab 2 of 3"
      is_clickable: true
      is_focusable: true
      is_selected: true
      depth: 7
    }
    nodes {
      bounds_in_screen {
        left: 720
        top: 2190
        right: 1080
        bottom: 2337
      }
      class_name: "android.widget.ImageView"
      content_description: "Profile , Tab 3 of 3"
      is_clickable: true
      is_focusable: true
      depth: 7
    }
    nodes {
      bounds_in_screen {
        right: 1080
        bottom: 2400
      }
      class_name: "android.view.View"
      depth: 8
    }
    nodes {
      bounds_in_screen {
        left: 42
        top: 210
        right: 289
        bottom: 336
      }
      class_name: "android.view.View"
      content_description: "Search"
      is_focusable: true
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 42
        top: 399
        right: 1038
        bottom: 525
      }
      class_name: "android.view.View"
      hint_text: "Hungry?"
      is_focusable: true
      depth: 9
    }
    nodes {
      bounds_in_screen {
        top: 588
        right: 1080
        bottom: 2193
      }
      class_name: "android.view.View"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 42
        top: 588
        right: 1038
        bottom: 756
      }
      class_name: "android.view.View"
      content_description: "Find recipes on the web\nCOOKBOOK+"
      is_clickable: true
      is_focusable: true
      depth: 10
    }
    nodes {
      bounds_in_screen {
        left: 42
        top: 798
        right: 360
        bottom: 1216
      }
      class_name: "android.widget.ImageView"
      content_description: "Pasta"
      is_clickable: true
      is_focusable: true
      depth: 10
    }
    nodes {
      bounds_in_screen {
        left: 381
        top: 798
        right: 699
        bottom: 1216
      }
      class_name: "android.widget.ImageView"
      content_description: "Asian"
      is_clickable: true
      is_focusable: true
      depth: 10
    }
    nodes {
      bounds_in_screen {
        left: 720
        top: 798
        right: 1038
        bottom: 1216
      }
      class_name: "android.widget.ImageView"
      content_description: "Main"
      is_clickable: true
      is_focusable: true
      depth: 10
    }
    nodes {
      bounds_in_screen {
        left: 42
        top: 1237
        right: 360
        bottom: 1655
      }
      class_name: "android.widget.ImageView"
      content_description: "Quick"
      is_clickable: true
      is_focusable: true
      depth: 10
    }
    nodes {
      bounds_in_screen {
        left: 381
        top: 1237
        right: 699
        bottom: 1655
      }
      class_name: "android.widget.ImageView"
      content_description: "Meatless"
      is_clickable: true
      is_focusable: true
      depth: 10
    }
    nodes {
      bounds_in_screen {
        left: 720
        top: 1237
        right: 1038
        bottom: 1655
      }
      class_name: "android.widget.ImageView"
      content_description: "Dessert"
      is_clickable: true
      is_focusable: true
      depth: 10
    }
    nodes {
      bounds_in_screen {
        top: 1718
        right: 1080
        bottom: 1849
      }
      class_name: "android.widget.ImageView"
      content_description: "All recipes"
      is_clickable: true
      is_focusable: true
      depth: 10
    }
    nodes {
      bounds_in_screen {
        top: 1852
        right: 1080
        bottom: 1983
      }
      class_name: "android.widget.ImageView"
      content_description: "All stories"
      is_clickable: true
      is_focusable: true
      depth: 10
    }
  }
}

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