Roll a deck back to an earlier version
rollback_deckServe an earlier version of a deck again, to everyone who opens it, at once. Use it to undo a bad publish, taking the number from list_versions; use update_deck instead for settings such as title or visibility. Needs decks:write (60 changes a minute). Nothing is deleted: the old content is republished as a NEW version (origin rollback), so each call adds a version and a rollback is undone by another rollback_deck to the version you left.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"deck": "<deck>",
"version": "<version>"
},
"name": "rollback_deck"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| deck | Yes | The deck's id (starts with `d`) or its slug, as list_decks returns them; case-insensitive. A deck outside this workspace fails with “No deck …” — call list_decks. | |
| version | Yes | The version whose content to serve, from list_versions. One it doesn't list (pruned, or never published) fails with “No such version”. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | ||
| deck | Yes | ||
| version | Yes | The new version now being served. | |
| previous | Yes | ||
| restored | Yes | The version whose content it serves. |