Mask vector to create that what tool would you use

Answer:
In the Layers panel, select the layer to which you want to add a vector mask.
Select a path, or use one of the shape or Pen tools to draw a work path. Note: ...
Click the Vector Mask button in the Masks panel, or choose Layer > Vector Mask > Current Path.
Explanation: