Nanodevice could be used to sample or treat single cells.