Your guess is correct, block callbacks are evaluated in the base workspace, but mask parameters are part of the mask's private workspace. To access them use get_param
and gcb
within your callback function.
value = get_param(gcb, 'my_param_name');