In recent years, robots used for targeted drug delivery in the stomach have received extensive attention. Inspired by tumbleweeds, we have designed a dual-responsive soft robot based on poly(N-isopropylacrylamide) and MoS2. Under the action of an adjustable magnetic field, it can achieve steady motion at a frequency that allows it to move up to 35 mm/s, demonstrating high flexibility and controllability. It can also roll along a predetermined path, traverse mazes, climb over obstacles, among other functions. In addition, by harnessing the photothermal conversion effect of MoS2, the robot can be opened and closed using light, enabling controlled drug release. Targeted drug delivery is achieved in a gastric model using our designed soft robot, marking a significant clinical advancement expected to revolutionize future medical treatments and enhance the efficacy of drug therapy.