Endoscopy is a noninvasive alternative to surgery for foreign object removal from the gastrointestinal tract.