Restore earlier receptionist settings
restore_ai_setup_versionDestructive
Undoes changes made with update_ai_setup by putting those same settings back to what they were in an earlier published version (version numbers come from get_ai_setup or from an update_ai_setup result). Goes live for callers straight away and is itself saved as a new version. Settings that update_ai_setup cannot change are left as they are now. Before calling, tell the user which version is being restored and get their explicit yes; then pass confirm: true.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| confirm | Yes | true only after the user has explicitly approved restoring this version in the conversation | |
| version | Yes | The published version to go back to |
Output Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| changes | Yes | ||
| message | Yes | ||
| success | Yes | ||
| version | No | ||
| liveWarning | Yes | ||
| _environment | Yes | The Nexwin country and environment that supplied the result | |
| restoredFrom | No | ||
| previousVersion | No |