>>1733384>>1733462It's an automatic couping for switching operations.
Since buffer-and-chain couplers are rather work-intensive to couple correctly, switchers are often equipped with these to just grab the hook on the railcar to drag it about. As the brakelines etc. remain unattached, this is for switching only.
Here's another image of a german one.