On the basis of differential and integral methods of solving the boundary value problem and with the help of poloidal-magnetic-field or flux measurements by means of probes located outside the vacuum chamber, methods which are insensitive to measurement errors are developed for determining the position and shape of the boundary magnetic surface in a tokamak.