Laser macro to switch from CNC to laser

Is there a macro to switch tool set up from CNC to laser and back. If not, does anyone know the code to change the tool settings in config?
FYI bulidbotics 1.6.2. Router, Jtech 7W+