instruction
Open the Pinterest app and then search for food snapchat
previous_actions
active_application
screen_description
windows {
  bounds_in_screen {
    right: 1080
    bottom: 136
  }
  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: 536
        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: 536
        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: 246
        bottom: 136
      }
      class_name: "android.widget.TextView"
      content_description: "11:55 AM"
      text: "11:55"
      depth: 7
    }
    nodes {
      bounds_in_screen {
        left: 246
        top: 1
        right: 536
        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: 246
        top: 1
        right: 536
        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: 246
        top: 1
        right: 304
        bottom: 136
      }
      class_name: "android.widget.ImageView"
      content_description: "Plantix notification: "
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 304
        top: 1
        right: 362
        bottom: 136
      }
      class_name: "android.widget.ImageView"
      content_description: "Weather notification: 36°"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 362
        top: 1
        right: 420
        bottom: 136
      }
      class_name: "android.widget.ImageView"
      content_description: "Mondly Languages notification: Mondly"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 420
        top: 1
        right: 478
        bottom: 136
      }
      class_name: "android.widget.ImageView"
      content_description: "MakeMyTrip notification: "
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 478
        top: 1
        right: 536
        bottom: 136
      }
      class_name: "android.widget.ImageView"
      content_description: "ixigo trains notification: Hey, Mr. Savings is Online 🟢"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 496
        top: 1
        right: 536
        bottom: 136
      }
      class_name: "android.widget.ImageView"
      content_description: "Plant Lens notification: "
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 496
        top: 1
        right: 536
        bottom: 136
      }
      class_name: "android.widget.ImageView"
      content_description: "Confirmtkt notification: ⚠️ Alert! Durga Pooja Train Tickets Available"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 496
        top: 1
        right: 536
        bottom: 136
      }
      class_name: "android.widget.ImageView"
      content_description: "PlantApp notification: "
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 496
        top: 1
        right: 536
        bottom: 136
      }
      class_name: "android.widget.ImageView"
      content_description: "LeafSnap 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: 1910
  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.widget.FrameLayout"
      depth: 5
    }
    nodes {
      bounds_in_screen {
        top: 136
        right: 1080
        bottom: 2337
      }
      class_name: "android.widget.RelativeLayout"
      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: 7
    }
    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: 7
    }
    nodes {
      bounds_in_screen {
        top: 136
        right: 1080
        bottom: 2337
      }
      class_name: "android.view.ViewGroup"
      depth: 7
    }
    nodes {
      bounds_in_screen {
        top: 136
        right: 1080
        bottom: 2337
      }
      class_name: "android.widget.FrameLayout"
      depth: 8
    }
    nodes {
      bounds_in_screen {
        top: 2211
        right: 1080
        bottom: 2337
      }
      class_name: "android.widget.LinearLayout"
      depth: 8
    }
    nodes {
      bounds_in_screen {
        top: 136
        right: 1080
        bottom: 2337
      }
      class_name: "android.view.ViewGroup"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        top: 2211
        right: 1080
        bottom: 2337
      }
      class_name: "android.widget.LinearLayout"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        top: 136
        right: 1080
        bottom: 2337
      }
      class_name: "androidx.viewpager.widget.ViewPager"
      is_focusable: true
      is_scrollable: true
      depth: 10
    }
    nodes {
      bounds_in_screen {
        top: 136
        right: 1080
        bottom: 283
      }
      class_name: "android.view.View"
      depth: 10
    }
    nodes {
      bounds_in_screen {
        top: 136
        right: 1080
        bottom: 283
      }
      class_name: "android.view.View"
      depth: 10
    }
    nodes {
      bounds_in_screen {
        left: 362
        top: 136
        right: 719
        bottom: 283
      }
      class_name: "android.widget.HorizontalScrollView"
      is_focusable: true
      depth: 10
    }
    nodes {
      bounds_in_screen {
        left: 120
        top: 2211
        right: 288
        bottom: 2337
      }
      class_name: "android.widget.FrameLayout"
      content_description: "Home, Tab"
      is_clickable: true
      is_focusable: true
      is_long_clickable: true
      is_selected: true
      depth: 10
    }
    nodes {
      bounds_in_screen {
        left: 288
        top: 2211
        right: 456
        bottom: 2337
      }
      class_name: "android.widget.FrameLayout"
      content_description: "Search, Tab"
      is_clickable: true
      is_focusable: true
      is_long_clickable: true
      depth: 10
    }
    nodes {
      bounds_in_screen {
        left: 456
        top: 2211
        right: 624
        bottom: 2337
      }
      class_name: "android.widget.FrameLayout"
      content_description: "Create, Tab"
      is_clickable: true
      is_focusable: true
      is_long_clickable: true
      depth: 10
    }
    nodes {
      bounds_in_screen {
        left: 624
        top: 2211
        right: 792
        bottom: 2337
      }
      class_name: "android.widget.FrameLayout"
      content_description: "Notifications, Tab"
      is_clickable: true
      is_focusable: true
      is_long_clickable: true
      depth: 10
    }
    nodes {
      bounds_in_screen {
        left: 792
        top: 2211
        right: 960
        bottom: 2337
      }
      class_name: "android.widget.FrameLayout"
      content_description: "Saved, Tab"
      is_clickable: true
      is_focusable: true
      is_long_clickable: true
      depth: 10
    }
    nodes {
      bounds_in_screen {
        top: 136
        right: 1080
        bottom: 2337
      }
      class_name: "android.view.ViewGroup"
      depth: 11
    }
    nodes {
      bounds_in_screen {
        left: 1080
        top: 136
        right: 1080
        bottom: 2337
      }
      class_name: "android.view.ViewGroup"
      depth: 11
    }
    nodes {
      bounds_in_screen {
        left: 362
        top: 136
        right: 719
        bottom: 262
      }
      class_name: "android.widget.LinearLayout"
      depth: 11
    }
    nodes {
      bounds_in_screen {
        left: 150
        top: 2218
        right: 258
        bottom: 2329
      }
      class_name: "android.widget.LinearLayout"
      is_selected: true
      depth: 11
    }
    nodes {
      bounds_in_screen {
        left: 311
        top: 2218
        right: 432
        bottom: 2329
      }
      class_name: "android.widget.LinearLayout"
      depth: 11
    }
    nodes {
      bounds_in_screen {
        left: 482
        top: 2218
        right: 597
        bottom: 2329
      }
      class_name: "android.widget.LinearLayout"
      depth: 11
    }
    nodes {
      bounds_in_screen {
        left: 624
        top: 2218
        right: 792
        bottom: 2329
      }
      class_name: "android.widget.LinearLayout"
      depth: 11
    }
    nodes {
      bounds_in_screen {
        left: 821
        top: 2218
        right: 930
        bottom: 2329
      }
      class_name: "android.widget.LinearLayout"
      depth: 11
    }
    nodes {
      bounds_in_screen {
        top: 272
        right: 1080
        bottom: 2337
      }
      class_name: "android.view.ViewGroup"
      depth: 12
    }
    nodes {
      bounds_in_screen {
        left: 1080
        top: 2334
        right: 1080
        bottom: 2337
      }
      class_name: "android.view.View"
      depth: 12
    }
    nodes {
      bounds_in_screen {
        left: 362
        top: 136
        right: 550
        bottom: 262
      }
      class_name: "android.widget.LinearLayout"
      content_description: "Browse"
      is_focusable: true
      is_selected: true
      depth: 12
    }
    nodes {
      bounds_in_screen {
        left: 550
        top: 136
        right: 719
        bottom: 262
      }
      class_name: "android.widget.LinearLayout"
      content_description: "Watch"
      is_clickable: true
      is_focusable: true
      depth: 12
    }
    nodes {
      bounds_in_screen {
        left: 172
        top: 2218
        right: 235
        bottom: 2281
      }
      class_name: "android.widget.ImageView"
      is_selected: true
      depth: 12
    }
    nodes {
      bounds_in_screen {
        left: 150
        top: 2286
        right: 258
        bottom: 2329
      }
      class_name: "android.widget.TextView"
      text: "Home"
      is_selected: true
      depth: 12
    }
    nodes {
      bounds_in_screen {
        left: 340
        top: 2218
        right: 403
        bottom: 2281
      }
      class_name: "android.widget.ImageView"
      depth: 12
    }
    nodes {
      bounds_in_screen {
        left: 311
        top: 2286
        right: 432
        bottom: 2329
      }
      class_name: "android.widget.TextView"
      text: "Search"
      depth: 12
    }
    nodes {
      bounds_in_screen {
        left: 508
        top: 2218
        right: 571
        bottom: 2281
      }
      class_name: "android.widget.ImageView"
      depth: 12
    }
    nodes {
      bounds_in_screen {
        left: 482
        top: 2286
        right: 597
        bottom: 2329
      }
      class_name: "android.widget.TextView"
      text: "Create"
      depth: 12
    }
    nodes {
      bounds_in_screen {
        left: 676
        top: 2218
        right: 739
        bottom: 2281
      }
      class_name: "android.widget.ImageView"
      depth: 12
    }
    nodes {
      bounds_in_screen {
        left: 624
        top: 2286
        right: 792
        bottom: 2329
      }
      class_name: "android.widget.TextView"
      text: "Notifications"
      depth: 12
    }
    nodes {
      bounds_in_screen {
        left: 844
        top: 2218
        right: 907
        bottom: 2281
      }
      class_name: "android.widget.ImageView"
      depth: 12
    }
    nodes {
      bounds_in_screen {
        left: 821
        top: 2286
        right: 930
        bottom: 2329
      }
      class_name: "android.widget.TextView"
      text: "Saved"
      depth: 12
    }
    nodes {
      bounds_in_screen {
        top: 272
        right: 1080
        bottom: 2337
      }
      class_name: "android.widget.FrameLayout"
      depth: 13
    }
    nodes {
      bounds_in_screen {
        left: 540
        top: 272
        right: 540
        bottom: 225
      }
      class_name: "android.widget.ImageView"
      depth: 13
    }
    nodes {
      bounds_in_screen {
        left: 394
        top: 186
        right: 518
        bottom: 237
      }
      class_name: "android.widget.TextView"
      text: "Browse"
      is_selected: true
      depth: 13
    }
    nodes {
      bounds_in_screen {
        left: 582
        top: 186
        right: 687
        bottom: 237
      }
      class_name: "android.widget.TextView"
      text: "Watch"
      depth: 13
    }
    nodes {
      bounds_in_screen {
        top: 272
        right: 1080
        bottom: 2337
      }
      class_name: "android.view.ViewGroup"
      depth: 14
    }
    nodes {
      bounds_in_screen {
        top: 272
        right: 1080
        bottom: 2337
      }
      class_name: "android.widget.FrameLayout"
      depth: 15
    }
    nodes {
      bounds_in_screen {
        top: 272
        right: 1080
        bottom: 2337
      }
      class_name: "android.widget.LinearLayout"
      is_focusable: true
      depth: 16
    }
    nodes {
      bounds_in_screen {
        top: 272
        right: 1080
        bottom: 2337
      }
      class_name: "androidx.recyclerview.widget.RecyclerView"
      is_clickable: true
      is_focusable: true
      is_scrollable: true
      depth: 17
    }
    nodes {
      bounds_in_screen {
        left: 20
        top: 282
        right: 530
        bottom: 1425
      }
      class_name: "android.view.View"
      content_description: "Pin from www.ysense.com, Title: Sign up and earn money online, This contains: Ysense is a website that offers various ways for users to Earn Money Online, such as by taking surveys, completing tasks, and signing up for offers. It is a Get-Paid-To (GPT) website that rewards users for their online activities. So, Making Money Online in 2023 is your Goal, you can Work on YSense Website Everyday and get decent amount everyday. Check out the YSense Review 2023 before you Signup for Ysense Refer and Earn Program. Also, Find the Earnings Proof of YSense Refer and Earn Platform."
      is_clickable: true
      is_focusable: true
      depth: 18
    }
    nodes {
      bounds_in_screen {
        left: 550
        top: 282
        right: 1060
        bottom: 991
      }
      class_name: "android.view.View"
      content_description: "Pin from Ashok Kumar"
      is_clickable: true
      is_focusable: true
      depth: 18
    }
    nodes {
      bounds_in_screen {
        left: 20
        top: 1446
        right: 530
        bottom: 2337
      }
      class_name: "android.view.View"
      content_description: "Pin from Raul Valeiro, Title: Spider Man Wallpaper"
      is_clickable: true
      is_focusable: true
      depth: 18
    }
    nodes {
      bounds_in_screen {
        left: 550
        top: 1012
        right: 1060
        bottom: 2154
      }
      class_name: "android.view.View"
      content_description: "Pin from www.wallpapersun.com"
      is_clickable: true
      is_focusable: true
      depth: 18
    }
    nodes {
      bounds_in_screen {
        left: 550
        top: 2175
        right: 1060
        bottom: 2337
      }
      class_name: "android.view.View"
      content_description: "Pin from grayscaleic.com, Title: Classic Black Double Breast shawl collar Tuxedo"
      is_clickable: true
      is_focusable: true
      depth: 18
    }
  }
}

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