Carboxylated gold nanoparticles inhibit bone erosion by disturbing the acidification of an osteoclast absorption microenvironment.