We want to support voice workflows that require safety confirmations (e.g., 'Siri, prune my stale database caches' followed by Siri asking 'This will delete 42 entries, are you sure you want to proceed?').
How do we cleanly model multi-turn dialogs in Swift using AppIntent without forcing the user to re-trigger Siri? What is the correct way to throw dialog prompts or handle dynamic parameter disambiguation (e.g., if the user says 'Siri, check status' and multiple daemon instances are running, how do we return a list of choices to Siri to read out loud)?
If you are adopting App Schemas to expose your intents and entities to Siri AI, Siri may automatically confirm intents with side effects, like deletions. Siri may also disambiguate between entities before calling the perform() method of your intent.
If you are not adopting an App Schema, or would like to request your own confirmation, you may do so with a dialog request from the perform() method your intent. See requestConfirmation in the documentation.
To ask the person to choose between a dynamic list of items from the perform() method of your intent, check out requestDisambiguation in the documentation.