getParameterValues directly

How I want to call getParameterValues ​​directly without getParameterNames like current thread?

What are you trying to do? Are you getting the parameter values in a provision script? Or are you using the NBI?

because if I pass the root path, it will now call getParameterName, then do getParameterValue. I want to send getParameterValue with the root path only