I can see you can trigger flows and logic apps from site scripts. I want to call an function app directly without a flow and logic app is that possible? I can see there is a verb called triggerFlow but looking for an approach to send the url of the newly created site to my function app:
https://laurakokkarinen.com/the-ultimate-guide-to-sharepoint-site-designs-and-site-scripts/