Depends.
Don't understand, why you want to involve Arduino here. Anyway, doesn't harm.
The sensor brass plate isolated eletrically from the body and +24V is connected to it through the action relay coil. The tool tip brings the body ( ground ) potential.
When the tooltip touches the brass plate, loop is closed and action relay activated. You have the signal and closed / open contact to stop fthe movement and whatever you want to.