You may have got confused with "open surgery under local anaesthesia" and "keyhole surgery".
"keyhole surgery " aka laparoscopic surgery requires general anaesthesia so that the anaesthetist can ventilate you whilst you are lying on your back in a head down position with your abdomen inflated with gas.