Capturing photo from AirSDK

Hi, I am attempting to capture photos from a custom guidance mode in Python and cannot find any documentation on how to do this. I have found the arsdk.camera2_pb2.Command().start_photo message, but I do not know where to send it, if that is even the intended way to achieve taking a photo from a custom guidance mode.
Any help would be much appreciated.