from typing import List
import re


def find_variables_to_interpolate(string) -> List[str]:
    """
    Returns a list of variables in the string that need to be interpolated.
    """
    var_finder_re = r"\$\(inputs\.params\.(?P<var>\w+)\)"
    return re.findall(var_finder_re, string, re.UNICODE)