The Extract Parameter refactoring is used to add a new parameter to a function declaration and update the function calls accordingly. Select an expression to be replaced with a parameter or place the caret within the expression and press &shortcut:IntroduceParameter; (Refactor | Extract | Parameter ):
