1 answer
(click or scroll down)
The type of hammer that could be used for both tasks is a Claw Hammer.
A vice has two jaws, which are the movable and fixed parts that can be tightened to hold an object securely in place.