instruction: I use the Flipkart app to find basmati rice because I need it for lunch.

previous_actions: 

active_application: Amazon

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: 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: "3:16 PM"
      text: "3:16"
      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 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: 228
        top: 1
        right: 286
        bottom: 136
      }
      class_name: "android.widget.ImageView"
      content_description: "Tata CLiQ notification: CLiQ & Save On Your Ethnic Faves 😍"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 286
        top: 1
        right: 344
        bottom: 136
      }
      class_name: "android.widget.ImageView"
      content_description: "Limeroad notification: "
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 344
        top: 1
        right: 402
        bottom: 136
      }
      class_name: "android.widget.ImageView"
      content_description: "Shopsy notification: Kids will love these! 😍"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 402
        top: 1
        right: 460
        bottom: 136
      }
      class_name: "android.widget.ImageView"
      content_description: "Flipkart notification: UNDER ₹299 👉 Saree, Container & more"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 460
        top: 1
        right: 518
        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: 478
        top: 1
        right: 518
        bottom: 136
      }
      class_name: "android.widget.ImageView"
      content_description: "All Currency Converter notification: All Currency Converter"
      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: 1153
  title: "Amazon"
  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 {
        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.RelativeLayout"
      depth: 3
    }
    nodes {
      bounds_in_screen {
        top: 136
        right: 1080
        bottom: 2337
      }
      class_name: "android.view.ViewGroup"
      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: 4
    }
    nodes {
      bounds_in_screen {
        top: 136
        right: 1080
        bottom: 294
      }
      class_name: "android.widget.LinearLayout"
      depth: 4
    }
    nodes {
      bounds_in_screen {
        top: 136
        right: 1080
        bottom: 294
      }
      class_name: "android.widget.LinearLayout"
      depth: 4
    }
    nodes {
      bounds_in_screen {
        top: 294
        right: 1080
        bottom: 2337
      }
      class_name: "android.widget.FrameLayout"
      depth: 4
    }
    nodes {
      bounds_in_screen {
        top: 2211
        right: 1080
        bottom: 2337
      }
      class_name: "android.widget.LinearLayout"
      depth: 4
    }
    nodes {
      bounds_in_screen {
        top: 2337
        right: 1080
        bottom: 2337
      }
      class_name: "android.view.ViewGroup"
      depth: 4
    }
    nodes {
      bounds_in_screen {
        top: 2337
        right: 1080
        bottom: 2337
      }
      class_name: "android.widget.LinearLayout"
      depth: 4
    }
    nodes {
      bounds_in_screen {
        top: 2337
        right: 1080
        bottom: 2337
      }
      class_name: "android.widget.LinearLayout"
      depth: 4
    }
    nodes {
      bounds_in_screen {
        top: 136
        right: 1080
        bottom: 294
      }
      class_name: "android.widget.RelativeLayout"
      depth: 5
    }
    nodes {
      bounds_in_screen {
        top: 294
        right: 1080
        bottom: 2337
      }
      class_name: "android.widget.FrameLayout"
      depth: 5
    }
    nodes {
      bounds_in_screen {
        top: 2211
        right: 1080
        bottom: 2337
      }
      class_name: "android.widget.RelativeLayout"
      is_focusable: true
      depth: 5
    }
    nodes {
      bounds_in_screen {
        top: 136
        right: 889
        bottom: 294
      }
      class_name: "android.widget.LinearLayout"
      depth: 6
    }
    nodes {
      bounds_in_screen {
        left: 889
        top: 136
        right: 1080
        bottom: 294
      }
      class_name: "android.widget.LinearLayout"
      content_description: "Cancel"
      is_clickable: true
      is_focusable: true
      depth: 6
    }
    nodes {
      bounds_in_screen {
        top: 294
        right: 1080
        bottom: 294
      }
      class_name: "android.widget.LinearLayout"
      depth: 6
    }
    nodes {
      bounds_in_screen {
        top: 294
        right: 1080
        bottom: 2337
      }
      class_name: "android.widget.RelativeLayout"
      depth: 6
    }
    nodes {
      bounds_in_screen {
        top: 294
        right: 1080
        bottom: 306
      }
      class_name: "android.widget.ProgressBar"
      depth: 6
    }
    nodes {
      bounds_in_screen {
        left: 26
        top: 186
        right: 773
        bottom: 243
      }
      class_name: "android.widget.TextView"
      depth: 7
    }
    nodes {
      bounds_in_screen {
        left: 921
        top: 192
        right: 1048
        bottom: 238
      }
      class_name: "android.widget.TextView"
      text: "CANCEL"
      depth: 7
    }
    nodes {
      bounds_in_screen {
        top: 294
        right: 1080
        bottom: 294
      }
      class_name: "android.widget.LinearLayout"
      depth: 7
    }
    nodes {
      bounds_in_screen {
        top: 294
        right: 1080
        bottom: 2337
      }
      class_name: "android.widget.RelativeLayout"
      depth: 7
    }
    nodes {
      bounds_in_screen {
        top: 294
        right: 1080
        bottom: 2337
      }
      class_name: "android.webkit.WebView"
      is_clickable: true
      is_focusable: true
      is_focused: true
      depth: 8
    }
  }
}


assistant: !FUNCTIONCALL{"name": "open_app", "parameters": {"app_name": "Flipkart"}}