Dial phone number from AppIntent like Contacts widget?

Hi,

I'm trying to re-create the dial and text interactive buttons on the iOS 17 Contacts widget. Does anyone know how to trigger a phone call or a text message from an AppIntent? I've used the tel:***-***-xxxx before, but I can't see how to even open a url from a widget button. Any help would be greatly appreciated.