OBJECTIVE: This study aims to introduce a biopsy capsule robot based on the negative pressure suction principle to achieve liquid sampling in the digestive tract. METHODS: The proposed capsule robot is designed with a magnetic spring configuration. By controlling the direction of an external magnetic field, the suction port can be aligned with the target sampling area. The sampling operation can then be achieved by increasing the external field to start the magnetic spring and a negative pressure can be generated to achieve the liquid sampling. Moreover, a locking mechanism is designed to prevent the magnetic spring from retracting, ensuring that the collected liquid is not squeezed out. RESULTS: The capsule robot prototype has dimensions of 16.3mm × 24.4mm. Both phantom and in-vitro experiments have been carried out. Results showed that it can sample liquids with viscosities ranging from 0.7mPa s to 200mPa s and absorb up to 0.24ml liquid. Additionally, the sealing of the capsule also meets clinical requirements. CONCLUSION: The experimental results indicate that the designed capsule robot can satisfy the clinical requirements for liquid sampling within the digestive tract. SIGNIFICANCE: This study has designed and developed a micro capsule robot in the digestive tract, which can achieve safe and efficient liquid sampling operations. The proposed robot can benefit the clinical diagnosis of digestive diseases, especially in the small intestine.