A tool and a method for manufacturing a bypass in an injection device are disclosed. The preforms of the injection device are inserted into a tool. A partial region of the cylindrical portion is heated by a heat source. The heated partial region of the cylindrical portion is plastically deformed with a male die part of the tool, so that the bypass channel is formed.