Rectal endoscopic ultrasound is a test that lets your doctor look at the walls of your lower gastrointestinal tract. This test does not use X-rays or other radiation. The doctor uses a thin, lighted tube that bends. It's called an endoscope, or scope. The scope has an ultrasound probe and camera at the tip.