Parameter with dropdown: how to update values?

Dynamic parameter values will be managed via the "User input" action.

I was thinking about this option, but while it looks simple on the surface, it can quickly become complicated because the other module can theoretically also have parameters that require another module, and so on.