instruction: Open the Red Cross emergency app and select Heart Attack First Aid.

previous_actions: {"name": "navigate_back", "parameters": {}}
{"name": "click", "parameters": {"x": 108, "y": 2253}}

active_application: Red Cross 1

screen_description: windows {
  bounds_in_screen {
    right: 1080
    bottom: 136
  }
  id: 9
  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: 231
        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: 231
        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: 231
        bottom: 136
      }
      class_name: "android.widget.TextView"
      content_description: "8:46 AM"
      text: "8:46"
      depth: 7
    }
    nodes {
      bounds_in_screen {
        left: 231
        top: 1
        right: 231
        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: 231
        top: 1
        right: 231
        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: 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: 269
  title: "Red Cross 1"
  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.LinearLayout"
      depth: 3
    }
    nodes {
      bounds_in_screen {
        right: 1080
        bottom: 2337
      }
      class_name: "android.widget.FrameLayout"
      depth: 4
    }
    nodes {
      bounds_in_screen {
        right: 1080
        bottom: 2337
      }
      class_name: "android.widget.FrameLayout"
      depth: 5
    }
    nodes {
      bounds_in_screen {
        right: 1080
        bottom: 2337
      }
      class_name: "android.view.ViewGroup"
      depth: 6
    }
    nodes {
      bounds_in_screen {
        right: 1080
        bottom: 2337
      }
      class_name: "android.view.ViewGroup"
      depth: 7
    }
    nodes {
      bounds_in_screen {
        right: 1080
        bottom: 2337
      }
      class_name: "android.view.ViewGroup"
      depth: 8
    }
    nodes {
      bounds_in_screen {
        right: 1080
        bottom: 2337
      }
      class_name: "android.view.ViewGroup"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        right: 1080
        bottom: 283
      }
      class_name: "android.view.ViewGroup"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        right: 1080
        bottom: 2337
      }
      class_name: "android.widget.FrameLayout"
      depth: 10
    }
    nodes {
      bounds_in_screen {
        right: 1080
        bottom: 2337
      }
      class_name: "android.view.ViewGroup"
      depth: 11
    }
    nodes {
      bounds_in_screen {
        right: 1080
      }
      class_name: "android.view.ViewGroup"
      depth: 12
    }
    nodes {
      bounds_in_screen {
        right: 1080
        bottom: 2337
      }
      class_name: "android.view.ViewGroup"
      depth: 12
    }
    nodes {
      bounds_in_screen {
        right: 1080
        bottom: 2337
      }
      class_name: "android.view.ViewGroup"
      depth: 13
    }
    nodes {
      bounds_in_screen {
        right: 1080
        bottom: 2337
      }
      class_name: "android.view.ViewGroup"
      depth: 14
    }
    nodes {
      bounds_in_screen {
        right: 1080
        bottom: 2337
      }
      class_name: "android.view.ViewGroup"
      depth: 15
    }
    nodes {
      bounds_in_screen {
        right: 1080
        bottom: 283
      }
      class_name: "android.view.ViewGroup"
      depth: 16
    }
    nodes {
      bounds_in_screen {
        top: 283
        right: 1080
        bottom: 2337
      }
      class_name: "android.widget.ScrollView"
      is_focusable: true
      is_scrollable: true
      depth: 16
    }
    nodes {
      bounds_in_screen {
        right: 1080
        bottom: 283
      }
      class_name: "android.view.ViewGroup"
      depth: 17
    }
    nodes {
      bounds_in_screen {
        top: 283
        right: 1080
        bottom: 2337
      }
      class_name: "android.view.ViewGroup"
      depth: 17
    }
    nodes {
      bounds_in_screen {
        right: 1080
        bottom: 283
      }
      class_name: "android.view.ViewGroup"
      depth: 18
    }
    nodes {
      bounds_in_screen {
        right: 1080
        bottom: 283
      }
      class_name: "android.view.ViewGroup"
      depth: 18
    }
    nodes {
      bounds_in_screen {
        left: 278
        top: 283
        right: 803
        bottom: 808
      }
      class_name: "android.widget.ImageView"
      depth: 18
    }
    nodes {
      bounds_in_screen {
        left: 26
        top: 834
        right: 158
        bottom: 966
      }
      class_name: "android.widget.TextView"
      text: "1"
      depth: 18
    }
    nodes {
      bounds_in_screen {
        left: 184
        top: 834
        right: 1054
        bottom: 1001
      }
      class_name: "android.widget.TextView"
      text: "Minimize contact with the person\'s blood. If have gloves available, user gloves to protect you."
      depth: 18
    }
    nodes {
      bounds_in_screen {
        left: 26
        top: 1106
        right: 158
        bottom: 1238
      }
      class_name: "android.widget.TextView"
      text: "2"
      depth: 18
    }
    nodes {
      bounds_in_screen {
        left: 184
        top: 1106
        right: 1054
        bottom: 1273
      }
      class_name: "android.widget.TextView"
      text: "Put this bag in another container with ice. However the ice should never come in direct contact with the amputated part."
      depth: 18
    }
    nodes {
      bounds_in_screen {
        left: 26
        top: 1378
        right: 158
        bottom: 1510
      }
      class_name: "android.widget.TextView"
      text: "3"
      depth: 18
    }
    nodes {
      bounds_in_screen {
        left: 184
        top: 1378
        right: 1054
        bottom: 1545
      }
      class_name: "android.widget.TextView"
      text: "Mark the package with the name of the casualty and the time of packing. Always wash your hands after giving care."
      depth: 18
    }
    nodes {
      bounds_in_screen {
        left: 26
        top: 1677
        right: 1080
        bottom: 1731
      }
      class_name: "android.widget.TextView"
      text: "Related first aid for..."
      depth: 18
    }
    nodes {
      bounds_in_screen {
        left: 26
        top: 1783
        right: 1080
        bottom: 1844
      }
      class_name: "android.widget.TextView"
      text: "Unconscious breathing"
      depth: 18
    }
    nodes {
      bounds_in_screen {
        left: 26
        top: 1909
        right: 1054
        bottom: 1970
      }
      class_name: "android.widget.TextView"
      text: "Give chest compressions?"
      depth: 18
    }
    nodes {
      bounds_in_screen {
        left: 26
        top: 1984
        right: 1054
        bottom: 2121
      }
      class_name: "android.widget.TextView"
      text: "Start the cycle again with 30 chest compressions, followed by two rescue breaths. Start the cycle again with 30 chest compressions, followed by two rescue breaths."
      depth: 18
    }
    nodes {
      bounds_in_screen {
        left: 26
        top: 2212
        right: 1054
        bottom: 2273
      }
      class_name: "android.widget.TextView"
      text: "Have your arms outstretched?"
      depth: 18
    }
    nodes {
      bounds_in_screen {
        left: 26
        top: 2287
        right: 1054
        bottom: 2337
      }
      class_name: "android.widget.TextView"
      text: "Mark the package with the name of the casualty and the time of packing. Always wash your hands after giving care."
      depth: 18
    }
    nodes {
      bounds_in_screen {
        left: 26
        top: 2472
        right: 1054
        bottom: 2337
      }
      class_name: "android.widget.TextView"
      text: "Continue to give chest compressions at a rhythm of 100 / minute?"
      depth: 18
    }
    nodes {
      bounds_in_screen {
        left: 26
        top: 2600
        right: 1054
        bottom: 2337
      }
      class_name: "android.widget.TextView"
      text: "First start by giving 30 chest compressions at a rhythm of 100 / minute. Then tilt the victim\'s head backwards."
      depth: 18
    }
    nodes {
      bounds_in_screen {
        left: 26
        top: 2785
        right: 1054
        bottom: 2337
      }
      class_name: "android.widget.TextView"
      text: "Take a normal breath and put your mouth on the victim\'s mouth?"
      depth: 18
    }
    nodes {
      bounds_in_screen {
        left: 26
        top: 2913
        right: 1054
        bottom: 2337
      }
      class_name: "android.widget.TextView"
      text: "Calmly blow air into the mouth of the victim. 19 check if the victim\'s chest rises.Calmly blow air into the mouth of the victim. 19 check if the victim\'s chest rises. "
      depth: 18
    }
    nodes {
      bounds_in_screen {
        left: 26
        top: 3141
        right: 1054
        bottom: 2337
      }
      class_name: "android.widget.TextView"
      text: "Start the cycle again with 30 chest compressions?"
      depth: 18
    }
    nodes {
      bounds_in_screen {
        left: 26
        top: 3216
        right: 1054
        bottom: 2337
      }
      class_name: "android.widget.TextView"
      text: "Continue till the person starts breathing again, or trained help arrives and takes over, or the the area becomes too unsafe to continue, or you become too tired to continue."
      depth: 18
    }
    nodes {
      bounds_in_screen {
        right: 1080
        bottom: 283
      }
      class_name: "android.view.ViewGroup"
      depth: 19
    }
    nodes {
      bounds_in_screen {
        right: 1080
        bottom: 136
      }
      class_name: "android.view.ViewGroup"
      depth: 19
    }
    nodes {
      bounds_in_screen {
        top: 136
        right: 137
        bottom: 283
      }
      class_name: "android.view.ViewGroup"
      depth: 19
    }
    nodes {
      bounds_in_screen {
        left: 179
        top: 136
        right: 492
        bottom: 283
      }
      class_name: "android.view.ViewGroup"
      depth: 19
    }
    nodes {
      bounds_in_screen {
        left: 534
        top: 136
        right: 1080
        bottom: 283
      }
      class_name: "android.view.ViewGroup"
      depth: 19
    }
    nodes {
      bounds_in_screen {
        left: 29
        top: 170
        right: 108
        bottom: 249
      }
      class_name: "android.widget.Button"
      content_description: "Red Cross App, back"
      is_clickable: true
      is_focusable: true
      depth: 20
    }
    nodes {
      bounds_in_screen {
        left: 179
        top: 174
        right: 492
        bottom: 245
      }
      class_name: "android.view.View"
      text: "Learn Details"
      depth: 20
    }
    nodes {
      bounds_in_screen {
        left: 37
        top: 178
        right: 100
        bottom: 241
      }
      class_name: "android.widget.ImageView"
      depth: 21
    }
  }
}


assistant: !FUNCTIONCALL{"name": "scroll", "parameters": {"direction": "down"}}