It is an insert for a ratchet. In the early days it was more common for a ratchet to be a female drive and needs a plug or insert to then attach a socket.
Sorry i don't have time to find you a pic but they are common today in the old tools trade. just not a style made new today.