In this paper, we consider the inverse problem for Sturm–Liouville operator with eigenparameter dependent boundary and discontinuity conditions inside a finite closed interval. By defining a new Hilbert space and using spectral data of a kind, we prove that the potential function can be uniquely determined by a set of value of eigenfunctions at an interior point and part of two sets of eigenvalues