Use get_parameter_attr built-in.