Abstract: A method for automatically removing a tool from a rotational shank shaft of a three-dimensional robot by indexing the shank shaft, disposing a tool tightening member provided in connection with the indexed shank shaft to a releasing device by movement of the robot, the releasing device being disposed during this operation inside the movement range of the robot; using the releasing device to release the tool; and removing the tool from the shank shaft of the robot by a movement of the robot.