Text this: Inverse problem for tripotential measures in the study of buried cavities