The amplitude and the phase of a multimode vertical-cavity surface-emitting laser (VCSEL) are recovered by a simple tomographic procedure based on the ambiguity function. The results are of considerable importance for any field of optics in which VCSELs are employed.