Carpenter came out Saturday night after five innings against Milwaukee. The team said he was pulled for precautionary reasons.
Earlier in the day, the Cardinals said starter Carlos Martinez would miss the rest of the season because of a strained right shoulder.
The Cardinals have the best record in the majors despite a series of injuries. Star catcher Yadier Molina is out with a tear in his left thumb, and St. Louis has done without Adam Wainwright, Matt Adams, Matt Holliday, Jon Jay and Jordan Walden for extended periods.