Endoscopy helps veterinary internists diagnose causes of vomiting, diarrhea, weight loss, coughing, or difficulty swallowing. It’s often used to identify inflammation, infections, or foreign objects.