On a Riemannian manifold $(M, g)$, if one is given an oracle $O$ that allows one to evaluate the Laplace-Beltrami operator, how can we recover the metric $g$? More precisely, $O: (M \rightarrow \mathbb R) \rightarrow \mathbb R$, $O(f) \equiv \Delta f = \frac{1}{\sqrt{|g|}} \partial_i (\sqrt{|g|} g^{ij} \partial_j f)$. We are allowed to pick any number of functions $f$ to evaluate against the oracle $O$. We do not know the symbolic expression for either $g$ or $\Delta$.
As far as I can tell, the problem is by by using $O$, we can only access the components of the metric under a $\partial_i$. I'm at a loss on how to "recover" the metric $g$ from $\partial_i (\cdots g^{ij} \cdots)$.