Can I take my U.S born child (7 years old) for both VAC and Consular Visa interview appointment

I have US born 7 years child and have US Passport. He will be accompanying us during our stay in Delhi during visa interview. We can’t leave him alone in a hotel while attending the Interview, so, I would like to know if we can take him inside the Consulate office and VAC office with his US Passport as ID proof? Please share if you have any similar experience.