In this paper, the Weyl function for the Sturm-Liouville operator which contains the discontinuous coefficient and discontinuity conditions at an interior point of the finite interval is defined and examined. The uniqueness theorem of solution of the inverse spectral problem for the discontinuous Sturm-Liouville operator according to Weyl function is proved.