Spirulina platensis is used as a biotemplate to make the chassis of the COFBOTs. Before magnetizing it, 1 mg of spirulina is dispersed in 1 mL of paraformaldehyde and left shaking for 30 minutes. Next, the spirulina is washed three times with water. To magnetize the biotemplate, 10 mL of an acidic aqueous dispersion of Fe3O4 nanoparticles is added to the spirulina and is left incubating for 48 hours. The Fe3O4 nanoparticles used to magnetize the biotemplate were synthesized via a co-precipitation method reported by Mushtaq et al. Multiple washing steps were conducted, the magnetized biotemplates were collected and flash frozen in liquid nitrogen for freeze-drying. To incorporate the COF-300 nanoparticles (or nanorods), the magnetic templates are first coated with gelatin-glycerol following a previously reported protocol. Briefly, 30 mg of gelatin are dissolved in 1 ml of water at 55 °C. Once fully dissolved, the spirulina is incorporated into the gelatin solution and thoroughly mixed. This mixture is then added into 30 mL of glycerol and further homogenized for 10 minutes. The templates are washed with warm water, followed by cold water. After the washing step, 2 mL of water are added, followed by 100 uL of the synthesized COF-300 nanoparticles (or nanorods) and mixed for 15 minutes. The COFBOTs are collected with a magnet and washed with water three times. The COFBOTs are transferred to an ethanol solution for storage.