Spring loaded ball on the socket ratchet
As a Snap-On dealer years ago, repair of rachets, extensions and so on was done in the field. We got replacement balls and springs from Snap-On and there was a set of swedging tools for each size ball, four sizes in all.