Esophagoscopy is a procedure in which the esophagus is closely examined for irregularities or even for foreign bodies within the esophagus. When performed in the operating room, esophagosocopy is performed under general anesthesia with the patient asleep. A small hollow tube, or esophagoscope, is passed through the mouth into the esophagus. Through esophagoscope biopsies of abnormal tissue may be performed. If a foreign body, such as a coin or a bone, is in the esophagus, it may be removed as well.