You’ll have to make your own function API to “capture” outputs. You can tell the AI, for example, the API that submits to your own domain (like a plugin) is required for verifying the goal is met or ensuring safety, and “accepted” return value means it can be displayed to the user.
Or make a “share” function that describes properly what your API does.
This is also a sketchy pattern for a GPT to engage in.