A servo-rotating all-function tool module, which is adapted to be mounted to a spring forming machine to serve as an all-direction forming tool of the spring forming machine, wherein the spring forming machine comprises a front wall board , characterized in that the servo-rotating all-function tool module comprises an axle retention seat adapted to be rotatably mounted to the front wall board , and an axle mounted to the axle retention seat , the axle retention seat being extended frontward to form two support arms , a push plate being disposed between the two support arms ; an axle slide base , which comprises a slide base hole corresponding to the axle and an opening so as to be fit over the axle with the slide base hole for sliding along the axle , two parallel support braces arranged above the opening ; an oscillating bar , which comprises a first end and a second end , and a shaft hole formed therein at a location between the first end and the second end so as to mount, in a rotatable manner, the oscillating bar between the two support arms of the axle retention seat , the first end being located under the push plate , the second end extending frontward through the opening of the axle slide base ; an elastic element , which is mounted between the first end of the oscillating bar and the push plate to provide a downward push force to the oscillating bar ; a cam plate , which is mounted to the second end of the oscillating bar and comprises an ascending slope ; a bearing , which is rotatably mounted between the two support braces of the axle slide base and is positionable against the ascending slope ; a tool , which is mounted to the second end of the oscillating bar ; a servo transmission module assembly , which is mounted to the spring forming machine to provide a driving force for driving the axle slide base to slide along the axle , wherein when the servo transmission module assembly drives the axle slide base to slide along the axle , the axle slide base causes the bearing to roll along the ascending slope to control, in combination with the elastic element , downward pressing or upward returning of the tool . an axle slide base , which comprises a slide base hole corresponding to the axle and an opening so as to be fit over the axle with the slide base hole for sliding along the axle , two parallel support braces arranged above the opening ; an oscillating bar , which comprises a first end and a second end , and a shaft hole formed therein at a location between the first end and the second end so as to mount, in a rotatable manner, the oscillating bar between the two support arms of the axle retention seat , the first end being located under the push plate , the second end extending frontward through the opening of the axle slide base ; an elastic element , which is mounted between the first end of the oscillating bar and the push plate to provide a downward push force to the oscillating bar ; a cam plate , which is mounted to the second end of the oscillating bar and comprises an ascending slope ; a bearing , which is rotatably mounted between the two support braces of the axle slide base and is positionable against the ascending slope ; a tool , which is mounted to the second end of the oscillating bar ; a servo transmission module assembly , which is mounted to the spring forming machine to provide a driving force for driving the axle slide base to slide along the axle , wherein when the servo transmission module assembly drives the axle slide base to slide along the axle , the axle slide base causes the bearing to roll along the ascending slope to control, in combination with the elastic element , downward pressing or upward returning of the tool . <EOS>