Bring back an older version
restore_versionPut an older version's masters back in the draft and approve them as a new version, so the history only grows. From anyone but an owner or admin, this asks the owner to approve instead. Send the draft's current draftRev: the draft is replaced. Costs no credits.
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": {
"slug": "<slug>",
"version": "<version>",
"draftRev": "<draftRev>"
},
"name": "restore_version"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| slug | Yes | ||
| version | Yes | ||
| draftRev | Yes | ||
| idempotencyKey | No | A key you make up for this call. Send the SAME one again after a lost answer to get the first answer back, with nothing spent twice. |