The medical instrument comprises a flexible shaft (12), which has a bendable distal end (14) and is extending along the shaft, a flexible insert (22), and a tool (126) at the distal end. The flexible insert has a connection piece connected to a grip part (20) of a handle of the instrument at its proximal end, in a releasable manner. The flexible insert is secured in an axially immovable manner to a distal end of the flexible shaft and is connected to the grip part at the proximal end in an articulated manner and held in place by a connection.