restore_skill_version
Roll back a skill's draft to a previous version using the version's UUID. The current draft is snapshotted, preserving undo capability, while the live version remains unchanged.
Instructions
Roll a skill's DRAFT back to an earlier version. Takes the versionId (a UUID from list_skill_versions), NOT the checkpoint number. The current draft is snapshotted first, so this is itself undoable. It changes only the draft — what is live stays live until a human approves a new publish.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | The skill's id. | |
| versionId | Yes | The version row's UUID. | |
| expectedVersion | Yes | The draft version you last read — 409 if stale. |