Roll back a space
rollbackMake an earlier version of a hosted space live again. Only a version that was live before (rollback: true in versions) can be picked; it goes live at once. Needs sign-in.
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": {
"space": "<space>",
"version": "<version>"
},
"name": "rollback"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| space | Yes | The space's slug, as my_spaces or publish named it, e.g. pixel-racer. | |
| version | Yes | The version number to make live again. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| status | Yes | ||
| pageUrl | Yes | ||
| version | Yes |