You use whatever you need to use to take out an enemy that is sworn, pledged, and determined to wipe you out as a people, i.e. genocide. Until the free world stops attacking Israel for fighting back and instead properly condemns and punishes Hamas for using hospitals and schools as military bases, I won't say Israel should not use whatever they have to use to eliminate a deadly, unethical, murderous enemy.
I am confident that the IDF has done as much as it reasonably can to avoid civilian casualties, and I will not second guess them on what they must do to protect Israelis. The world needs to unify to condemn Hamas and all its tactics and work together to deny Hamas funds to conduct war as much as possible.