Purpose. A clear liquid diet is often used before tests, procedures or surgeries that require no food in his stomach or intestines, such as before colonoscopy. It may also be recommended as a short-term diet if he has certain digestive problems, such as nausea, vomiting or diarrhea, or after certain types of surgery ...