With the advent of nanotechnologies, it has been possible to extend the number of stimuli that can be used to control the state of a magnetic nanostructure. Among those stimuli, single laser pulse excitation allows, under certain conditions, to obtain energy-efficient ultrafast magnetization reversal. With this respect, two different types of single pulse switching mechanisms have been reported. The first one consists in a sub-picosecond ultrafast toggle switching, which was observed mainly in Gd based alloys. The second type relies on sub-nanosecond precessional switching occurring in rare earth–transition metal alloys/multilayers. Here, we demonstrate that single pulse all optical switching is achieved in Co68Tb32/Co100−xGdx/Co68Tb32 trilayers in which the behavior can be tuned from toggle to precessional by changing the composition of the Co100−xGdx alloy.