Upper endoscopy is also called EGD, which stands for esophagogastroduodenoscopy (eh-SAH-fuh-goh-GAS-troh-doo-AH-duh-NAH-skuh-pee). For the procedure you will swallow a thin, flexible, lighted tube called an endoscope (EN-doh-skope). Right before the procedure the physician will spray your throat with a numbing agent that may help prevent gagging..