Sensitivity of future lepton colliders to the search for charged lepton flavor violation