Increased antineoplastic drug concentrations in wastewater stem from ineffective treatment plants and increased usage. Although microrobots are promising for pollutant removal, they face hurdles in developing a superstructure with superior adsorption capabilities, biocompatibility, porosity, and pH stability. This study focused on adjusting the PVP concentration from 0.05 to 0.375 mM during synthesis to create a favorable CMOC structure for drug absorption. Lower PVP concentrations (0.05 mM) yielded a three-dimensional nanoflower structure of CaMoO4 and CuS nanostructures, whereas five-fold concentrations (0.25 mM) produced a porous structure with a dense CuS core encased in a transparent CaMoO4 shell. The magnetically movable and pH-stable COF@CMOC microrobot, achieved by attaching CMOC to cobalt ferrite (CoF) NPs, captured doxorubicin efficiently, with up to 57 % efficiency at 200 ng/mL concentration for 30 min, facilitated by electrostatic interaction, hydrogen bonding, and pore filling of DOX. The results demonstrated that DOX removal through magnetic motion showed superior performance, with an estimated improvement of 57% compared to stirring conditions (17 %). A prototype PDMS microchannel system was developed to study drug absorption and microrobot recovery. The CaMoO4 shell of the microrobots exhibited remarkable robustness, ensuring long-lasting functionality in harsh wastewater environments and improving biocompatibility while safeguarding the CuS core from degradation. Therefore, microrobots are a promising eco-friendly solution for drug extraction. These microrobots show promise for the selective removal of doxorubicin from contaminated wastewater.