This tube is called a gastrostomy tube or G-tube. The most common way this tube is placed is using an endoscope. An endoscope is a flexible tube with a camera on it. It helps health care providers look inside the body without making big incisions in the skin.