Is there an isolation valve on the pipe feeding the toilet? Looks similar to this:
If so, turn so the slot is across the pipe, then try the tap, if it makes the noise, then issue elsewhere, if not,then you’ve found your problem.
If so, turn so the slot is across the pipe, then try the tap, if it makes the noise, then issue elsewhere, if not,then you’ve found your problem.