Versioning with tools
How tool versioning works
Tools follow the versioning lifecycle. Edit the draft, then publish it to create a version. Published versions do not change. To reuse an earlier configuration, restore it to the draft and publish the draft as the next version.
A tool’s versions are independent of an assistant’s versions. An assistant can use a specific tool version or the Latest version. See How versioning works with assistants and tools.
The tool header shows the selected version. A draft appears separately when the tool has unpublished changes.
Publish a new version
Publishing turns your current draft into a new version and makes it the current version.
Edit the tool
Change the tool’s configuration. Vapi saves your edits automatically as a draft. The changes do not affect live calls.
Review the changes
Select Publish to compare the draft with the current published version. In the diff, you can copy individual lines, wrap long lines, move between changes, or copy the complete diff.
View version history
Open the tool
Open the Dashboard, select Tools, and select the tool whose history you want to review.
From the version history you can:
- Select View changes to compare a version with the previous version
- Select Export to download a version as JSON
- Select Restore to load a version into the draft
Restore a previous version
Restoring a version replaces the tool’s current draft changes.
Restoring a tool version does not change which version an assistant uses. The assistant continues to use the selected version or Latest. See How versioning works with assistants and tools.
Next steps
Save, publish, and restore versions of your assistants and tools.
Publish, view history, and restore versions of an assistant.
Choose the tool versions an assistant uses and learn how restoring an assistant affects them.