The tube-closing tool is used together with another electrode to weld seams along the length of tubes or cylinders. The tube-closing tool is equipped with a plate, which works as an insulating interlayer that prevents the overlap from being welded together with the material at the bottom of the tube. The tool is attached to the tool holder and thus automatically follows the travelling machine when it moves to make the next weld.