Set Safari Web Browser to responsive (mobile mode)

I would like to be able to run a script against a safari browser on a mac but have katalon when it launches safari set safari to emulate an iPhone screen.

For chrome, I can simply configure chrome into the right screen size and run the script, but for safari, katalon always launches a new instance.

How can I configure Katalon to launch safari, and then using the developer menu, set the mode correctly?

Thanks.