AppIntent take a photo?

Hi i'm new to swift/swiftui

i want to my app shortcut to have the ability to take a photo within my AppIntent instead of having to configure a 'Take a photo' action in the Shortcuts app and then parsing that to my Appintent (for less human error).

Is this possible?

I read there's a protocol called CameraCaptureIntent but i think it's only used for a separate extension like for Control Center, Lock Screen, and Action buttons :(

AppIntent take a photo?
 
 
Q