The 38-year-old Castro was released by Philadelphia on July 17. He signed with the Phillies as a free agent after spending the 2009 season with the Dodgers as the backup shortstop. That was his second stint with the Dodgers, having originally signed with the club in 1991 and playing parts of his first five Major League seasons in Los Angeles.
At the time of his release by Philadelphia, the slick-fielding Castro was batting .198 in 54 games. With the Dodgers last year, he hit .277 in 57 games.
The Dodgers system has been shorthanded when it comes to experienced infielders, as Nick Green opted for free agency and Chin-lung Hu is sidelined after thumb surgery.
Ken Gurnick is a reporter for MLB.com. This story was not subject to the approval of Major League Baseball or its clubs.