While we can't change the parameter type property, there is an approach to mimic the behavior you're looking for.
The strategy is to flip this around, and define the parameter as optional. And then in the tool's validation code, using your specific criteria, make the parameter appear required through validation, by forcing a parameter error. If you use either the 530 or 735 error ID in validation, the parameter will then show as required.
There's more information here in the Parameter topic:
-Dave
Sign in to post, follow content, and more. New here? Register for free.