In situ scanning probe microscopy (SPM) refers to the use of scanning probe techniques to observe, manipulate, and characterize materials at the nanoscale while they are situated in their native environment or under specific external conditions. This approach allows researchers to gain real-time insights into the structural, mechanical, and electronic properties of nanomaterials.