instruction
In the Purple Books app, add the shipping address as Gwal Pahari, Bandhwari, Haryana 122003 for placing the order for the Think Like a Monk book 
previous_actions
{"name": "open_app", "parameters": {"app_name": "Purple Books"}}
{"name": "click", "parameters": {"x": 408, "y": 875}}
{"name": "click", "parameters": {"x": 555, "y": 2164}}
{"name": "click", "parameters": {"x": 539, "y": 778}}
{"name": "input_text", "parameters": {"text": "9876543210"}}
{"name": "click", "parameters": {"x": 539, "y": 1042}}
{"name": "input_text", "parameters": {"text": "Gwal Pahari, Bandhwari, Haryana"}}
{"name": "click", "parameters": {"x": 91, "y": 1302}}
{"name": "click", "parameters": {"x": 941, "y": 2004}}
{"name": "input_text", "parameters": {"text": "122003"}}
active_application
Purple Books
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: 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: "2:10 PM"
      text: "2:10"
      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 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: 228
        top: 1
        right: 286
        bottom: 136
      }
      class_name: "android.widget.ImageView"
      content_description: "PDF Editor notification: 🌟 Make your teamwork dream come true 🙌"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 286
        top: 1
        right: 344
        bottom: 136
      }
      class_name: "android.widget.ImageView"
      content_description: "Bluetooth notification: Bluetooth share: Sent files"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 344
        top: 1
        right: 402
        bottom: 136
      }
      class_name: "android.widget.ImageView"
      content_description: "Calm notification: Mindfulness Reminder"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 402
        top: 1
        right: 460
        bottom: 136
      }
      class_name: "android.widget.ImageView"
      content_description: "Google Play services notification: Security Alert"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 460
        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: 478
        top: 1
        right: 518
        bottom: 136
      }
      class_name: "android.widget.ImageView"
      content_description: "Google notification: 29° in New Delhi"
      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: 761
  title: "Purple Books"
  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.view.ViewGroup"
      depth: 6
    }
    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.view.ViewGroup"
      depth: 8
    }
    nodes {
      bounds_in_screen {
        top: 136
        right: 1080
        bottom: 2337
      }
      class_name: "android.view.ViewGroup"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        top: 136
        right: 1080
        bottom: 2337
      }
      class_name: "android.view.ViewGroup"
      depth: 10
    }
    nodes {
      bounds_in_screen {
        top: 136
        right: 1080
        bottom: 2337
      }
      class_name: "android.view.ViewGroup"
      depth: 11
    }
    nodes {
      bounds_in_screen {
        top: 136
        right: 1080
        bottom: 2337
      }
      class_name: "android.view.ViewGroup"
      depth: 12
    }
    nodes {
      bounds_in_screen {
        top: 136
        right: 1080
        bottom: 2337
      }
      class_name: "android.view.ViewGroup"
      depth: 13
    }
    nodes {
      bounds_in_screen {
        top: 136
        right: 1080
        bottom: 2337
      }
      class_name: "android.view.ViewGroup"
      depth: 14
    }
    nodes {
      bounds_in_screen {
        top: 136
        right: 1080
        bottom: 283
      }
      class_name: "android.view.ViewGroup"
      depth: 14
    }
    nodes {
      bounds_in_screen {
        top: 136
        right: 1080
        bottom: 2337
      }
      class_name: "android.widget.FrameLayout"
      depth: 15
    }
    nodes {
      bounds_in_screen {
        top: 136
        right: 1080
        bottom: 2337
      }
      class_name: "android.view.ViewGroup"
      depth: 16
    }
    nodes {
      bounds_in_screen {
        top: 136
        right: 1080
        bottom: 136
      }
      class_name: "android.view.ViewGroup"
      depth: 17
    }
    nodes {
      bounds_in_screen {
        top: 136
        right: 1080
        bottom: 2337
      }
      class_name: "android.view.ViewGroup"
      depth: 17
    }
    nodes {
      bounds_in_screen {
        top: 136
        right: 1080
        bottom: 2337
      }
      class_name: "android.view.ViewGroup"
      depth: 18
    }
    nodes {
      bounds_in_screen {
        top: 136
        right: 1080
        bottom: 2337
      }
      class_name: "android.view.ViewGroup"
      depth: 18
    }
    nodes {
      bounds_in_screen {
        top: 136
        right: 1080
        bottom: 2337
      }
      class_name: "android.view.ViewGroup"
      depth: 19
    }
    nodes {
      bounds_in_screen {
        top: 136
        right: 1080
        bottom: 2337
      }
      class_name: "android.view.ViewGroup"
      depth: 20
    }
    nodes {
      bounds_in_screen {
        top: 136
        right: 1080
        bottom: 2337
      }
      class_name: "android.view.ViewGroup"
      depth: 21
    }
    nodes {
      bounds_in_screen {
        top: 136
        right: 1080
        bottom: 136
      }
      class_name: "android.view.ViewGroup"
      depth: 22
    }
    nodes {
      bounds_in_screen {
        top: 136
        right: 1080
        bottom: 2337
      }
      class_name: "android.view.ViewGroup"
      depth: 22
    }
    nodes {
      bounds_in_screen {
        top: 136
        right: 1080
        bottom: 2337
      }
      class_name: "android.view.ViewGroup"
      depth: 23
    }
    nodes {
      bounds_in_screen {
        left: 46
        top: 179
        right: 1018
        bottom: 261
      }
      class_name: "android.view.ViewGroup"
      depth: 24
    }
    nodes {
      bounds_in_screen {
        left: 540
        top: 274
        right: 540
        bottom: 317
      }
      class_name: "android.widget.TextView"
      depth: 24
    }
    nodes {
      bounds_in_screen {
        top: 317
        right: 1080
        bottom: 2337
      }
      class_name: "android.widget.ScrollView"
      is_focusable: true
      is_scrollable: true
      depth: 24
    }
    nodes {
      bounds_in_screen {
        left: 177
        top: 2096
        right: 933
        bottom: 2232
      }
      class_name: "android.view.ViewGroup"
      depth: 24
    }
    nodes {
      bounds_in_screen {
        left: 46
        top: 179
        right: 643
        bottom: 261
      }
      class_name: "android.widget.TextView"
      text: "DELIVERY INFORMATION"
      depth: 25
    }
    nodes {
      bounds_in_screen {
        left: 955
        top: 179
        right: 1018
        bottom: 261
      }
      class_name: "android.view.ViewGroup"
      depth: 25
    }
    nodes {
      bounds_in_screen {
        left: 43
        top: 317
        right: 1037
        bottom: 2337
      }
      class_name: "android.view.ViewGroup"
      depth: 25
    }
    nodes {
      bounds_in_screen {
        left: 177
        top: 2096
        right: 933
        bottom: 2232
      }
      class_name: "android.view.ViewGroup"
      depth: 25
    }
    nodes {
      bounds_in_screen {
        left: 955
        top: 179
        right: 1018
        bottom: 243
      }
      class_name: "android.view.ViewGroup"
      is_clickable: true
      is_focusable: true
      depth: 26
    }
    nodes {
      bounds_in_screen {
        left: 43
        top: 385
        right: 1037
        bottom: 450
      }
      class_name: "android.widget.TextView"
      text: "Name"
      depth: 26
    }
    nodes {
      bounds_in_screen {
        left: 43
        top: 450
        right: 1037
        bottom: 581
      }
      class_name: "android.widget.EditText"
      hint_text: "Enter the name"
      text: "Cerebra Research"
      is_clickable: true
      is_editable: true
      is_focusable: true
      is_long_clickable: true
      depth: 26
    }
    nodes {
      bounds_in_screen {
        left: 43
        top: 648
        right: 1037
        bottom: 713
      }
      class_name: "android.widget.TextView"
      text: "Phone Number"
      depth: 26
    }
    nodes {
      bounds_in_screen {
        left: 43
        top: 713
        right: 1037
        bottom: 844
      }
      class_name: "android.widget.EditText"
      hint_text: "Enter the phone number"
      text: "9876543210"
      is_clickable: true
      is_editable: true
      is_focusable: true
      is_long_clickable: true
      depth: 26
    }
    nodes {
      bounds_in_screen {
        left: 43
        top: 912
        right: 1037
        bottom: 977
      }
      class_name: "android.widget.TextView"
      text: "Address"
      depth: 26
    }
    nodes {
      bounds_in_screen {
        left: 43
        top: 977
        right: 1037
        bottom: 1108
      }
      class_name: "android.widget.EditText"
      hint_text: "Enter the address"
      text: "Gwal Pahari, Bandhwari, Haryana"
      is_clickable: true
      is_editable: true
      is_focusable: true
      is_long_clickable: true
      depth: 26
    }
    nodes {
      bounds_in_screen {
        left: 43
        top: 1175
        right: 1037
        bottom: 1240
      }
      class_name: "android.widget.TextView"
      text: "Pincode"
      depth: 26
    }
    nodes {
      bounds_in_screen {
        left: 43
        top: 1240
        right: 1037
        bottom: 1371
      }
      class_name: "android.widget.EditText"
      hint_text: "Enter the pincode"
      text: "122003"
      is_clickable: true
      is_editable: true
      is_focusable: true
      is_focused: true
      is_long_clickable: true
      depth: 26
    }
    nodes {
      bounds_in_screen {
        left: 43
        top: 1439
        right: 1037
        bottom: 1504
      }
      class_name: "android.widget.TextView"
      text: "City"
      depth: 26
    }
    nodes {
      bounds_in_screen {
        left: 43
        top: 1504
        right: 1037
        bottom: 1635
      }
      class_name: "android.widget.EditText"
      text: "Gurgaon"
      is_editable: true
      is_focusable: true
      depth: 26
    }
    nodes {
      bounds_in_screen {
        left: 43
        top: 1702
        right: 1037
        bottom: 1767
      }
      class_name: "android.widget.TextView"
      text: "State"
      depth: 26
    }
    nodes {
      bounds_in_screen {
        left: 43
        top: 1767
        right: 1037
        bottom: 1898
      }
      class_name: "android.widget.EditText"
      text: "Haryana"
      is_editable: true
      is_focusable: true
      depth: 26
    }
    nodes {
      bounds_in_screen {
        left: 43
        top: 1966
        right: 1037
        bottom: 2031
      }
      class_name: "android.widget.TextView"
      text: "Nation"
      depth: 26
    }
    nodes {
      bounds_in_screen {
        left: 43
        top: 2031
        right: 1037
        bottom: 2162
      }
      class_name: "android.widget.EditText"
      text: "India"
      is_editable: true
      is_focusable: true
      depth: 26
    }
    nodes {
      bounds_in_screen {
        left: 43
        top: 2161
        right: 1037
        bottom: 2337
      }
      class_name: "android.view.ViewGroup"
      depth: 26
    }
    nodes {
      bounds_in_screen {
        left: 177
        top: 2096
        right: 933
        bottom: 2232
      }
      class_name: "android.view.ViewGroup"
      is_clickable: true
      is_focusable: true
      depth: 26
    }
    nodes {
      bounds_in_screen {
        left: 955
        top: 179
        right: 1018
        bottom: 243
      }
      class_name: "android.widget.TextView"
      text: ""
      depth: 27
    }
    nodes {
      bounds_in_screen {
        left: 512
        top: 2137
        right: 598
        bottom: 2191
      }
      class_name: "android.widget.TextView"
      text: "Save"
      depth: 27
    }
  }
}

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