A spring forming machine having tool rotation and tool retraction capabilities, comprising: an outside machine panel board; a panel board bearing; a transmission mechanism; and a rotary beak seat mechanism, installed on said transmission mechanism of said outside machine panel board through said panel board bearing, the rotary beak seat mechanism including a rotation component configured to rotate 360 degrees around a central axis of the panel board bearing, said rotation component comprising an axle core and an axle core fixing seat, and wherein on a front end of the rotation component is coaxially disposed a slide seat component, wherein on the slide seat component is disposed rotatably a swing component and a tool component coaxially, wherein on the swing component is disposed a tool retraction hook, which is configured to make lever-like turning and flipping movements, wherein the transmission mechanism is provided with a round push rod, which is configured to clamp around an outside of the tool retraction hook, and wherein, in use, through push-pull movements of the round push rod, the tool component is brought to move reciprocally along a vertical direction of the slide seat component, to realize tool retraction; characterized in that the spring forming machine further comprises a dual-transmission core rotation separation mechanism, that includes: an axle core positioning mechanism, an inner circle core rotation transmission mechanism configured to bring the axle core and the axle fixing seat of the rotation component into rotation, and an outer circle tool rotation transmission mechanism configured to bring the tool component into rotation, wherein in a center of a front plate surface of the outside machine panel board is disposed the rotary beak seat mechanism through the panel board bearing, wherein on a back plate surface of the outside machine panel board is disposed said axle core positioning mechanism, the inner circle core rotation transmission mechanism, and the outer circle tool rotation transmission mechanism, wherein, in use, through controlling the inner circle core rotation transmission mechanism and the outer circle tool rotation transmission mechanism to move independently, the rotation component on the rotary beak seat mechanism is rotatable in 360 degrees. an outside machine panel board; a panel board bearing; a transmission mechanism; and a rotary beak seat mechanism, installed on said transmission mechanism of said outside machine panel board through said panel board bearing, the rotary beak seat mechanism including a rotation component configured to rotate 360 degrees around a central axis of the panel board bearing, said rotation component comprising an axle core and an axle core fixing seat, and wherein on a front end of the rotation component is coaxially disposed a slide seat component, wherein on the slide seat component is disposed rotatably a swing component and a tool component coaxially, wherein on the swing component is disposed a tool retraction hook, which is configured to make lever-like turning and flipping movements, wherein the transmission mechanism is provided with a round push rod, which is configured to clamp around an outside of the tool retraction hook, and wherein, in use, through push-pull movements of the round push rod, the tool component is brought to move reciprocally along a vertical direction of the slide seat component, to realize tool retraction; characterized in that the spring forming machine further comprises a dual-transmission core rotation separation mechanism, that includes: an axle core positioning mechanism, an inner circle core rotation transmission mechanism configured to bring the axle core and the axle fixing seat of the rotation component into rotation, and an outer circle tool rotation transmission mechanism configured to bring the tool component into rotation, wherein in a center of a front plate surface of the outside machine panel board is disposed the rotary beak seat mechanism through the panel board bearing, wherein on a back plate surface of the outside machine panel board is disposed said axle core positioning mechanism, the inner circle core rotation transmission mechanism, and the outer circle tool rotation transmission mechanism, wherein, in use, through controlling the inner circle core rotation transmission mechanism and the outer circle tool rotation transmission mechanism to move independently, the rotation component on the rotary beak seat mechanism is rotatable in 360 degrees.