Change family type name by parameter value in family

Hi, I need to change the family type name by one of its family parameters. Im struggling to get the parameter value of a parameter and what I would use to change the family type name.

I’m in the family

Just need to figure out how to change type name now

That drove me nuts. Did it from the project to the family