The price you will receive for the bond when it is called is fixed, usually at par, may have a premium. But if the bond is called early, you don’t really receive the YTM that you originally thought you would receive b/c the YTM includes coupon reinvestment.
ETA, the above is different from figuring in the actual value of the call after you originally bought it if rates start to become volatile.