List a deck's versions
list_versionsList a deck's published versions, newest first, with who published each, how (CLI, web builder, agent or rollback), what it was based on, and which one is live. Use it to pick a number for rollback_deck or get_deck_source, or to see who changed a deck when; use get_deck_sync instead to learn whether unpublished web edits are pending. Read-only. Only versions the plan retains are listed (usage.limits.versionsKept in whoami): each publish prunes the oldest, never the live one or one a draft is based on.
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>"
},
"name": "list_versions"
}
}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. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| deck | Yes | ||
| versions | Yes |