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 (70, 80, 90), characterized in that the servo-rotating all-function tool module comprises an axle retention seat (82, 92) adapted to be rotatably mounted to the front wall board (70, 80, 90), and an axle (81, 91) mounted to the axle retention seat (82, 92), the axle retention seat (82, 92) being extended frontward to form two support arms (821, 921), a push plate (824, 924) being disposed between the two support arms (821, 921); an axle slide base (12, 22), which comprises a slide base hole corresponding to the axle (81, 91) and an opening so as to be fit over the axle (81, 91) with the slide base hole for sliding along the axle (81, 91), two parallel support braces (125, 225) arranged above the opening; an oscillating bar (17, 27), 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 (821, 921) of the axle retention seat (82, 92), the first end being located under the push plate (824, 924), the second end extending frontward through the opening of the axle slide base (12, 22); an elastic element (15, 25), which is mounted between the first end of the oscillating bar (17, 27) and the push plate (824, 924) to provide a downward push force to the oscillating bar (17, 27); a cam plate (16, 26), which is mounted to the second end of the oscillating bar (17, 27) and comprises an ascending slope; a bearing (13, 23), which is rotatably mounted between the two support braces (125, 225) of the axle slide base (12, 22) and is positionable against the ascending slope; a tool (11, 21), which is mounted to the second end of the oscillating bar; a servo transmission module assembly (19, 29, 39), which is mounted to the spring forming machine to provide a driving force for driving the axle slide base (12, 22) to slide along the axle (81, 91), wherein when the servo transmission module assembly (19, 29, 39) drives the axle slide base (12, 22) to slide along the axle (81, 91), the axle slide base (12, 22) causes the bearing (13, 23) to roll along the ascending slope to control, in combination with the elastic element (15, 25), downward pressing or upward returning of the tool (11, 21). an axle slide base (12, 22), which comprises a slide base hole corresponding to the axle (81, 91) and an opening so as to be fit over the axle (81, 91) with the slide base hole for sliding along the axle (81, 91), two parallel support braces (125, 225) arranged above the opening; an oscillating bar (17, 27), 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 (821, 921) of the axle retention seat (82, 92), the first end being located under the push plate (824, 924), the second end extending frontward through the opening of the axle slide base (12, 22); an elastic element (15, 25), which is mounted between the first end of the oscillating bar (17, 27) and the push plate (824, 924) to provide a downward push force to the oscillating bar (17, 27); a cam plate (16, 26), which is mounted to the second end of the oscillating bar (17, 27) and comprises an ascending slope; a bearing (13, 23), which is rotatably mounted between the two support braces (125, 225) of the axle slide base (12, 22) and is positionable against the ascending slope; a tool (11, 21), which is mounted to the second end of the oscillating bar; a servo transmission module assembly (19, 29, 39), which is mounted to the spring forming machine to provide a driving force for driving the axle slide base (12, 22) to slide along the axle (81, 91), wherein when the servo transmission module assembly (19, 29, 39) drives the axle slide base (12, 22) to slide along the axle (81, 91), the axle slide base (12, 22) causes the bearing (13, 23) to roll along the ascending slope to control, in combination with the elastic element (15, 25), downward pressing or upward returning of the tool (11, 21).