Dynamic nozzle diameter

Dear community,

I’m currently using grasshopper to generate a gcode for 3D printing.
I’m looking for a way to program a change of nozzle diameter when printing.
Any ideas on how to do it?

Thank you so much!

PS: I unfortunately do not have any file to share yet.

in Gcode, several ways to do this, m0 m1 program pause, T0 to T# tool change, you can also run as multiple files, run the first part, change the nozzle, run the second part

Thanks! And what about changing the tool without any pause? Is it doable?