Roll back to a version
fabrement-rollback-versionMake an EARLIER version (list-versions) the live one again and write its files to the site — only to undo a version that turned out wrong; submit-version already deploys. A version saved with mode "overwrite" left no checkpoint. Rules: get-skill-doc {id:"block-contract"} — read it before the first call.
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": {
"blockId": "<blockId>",
"versionId": "<versionId>"
},
"name": "fabrement-rollback-version"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| blockId | Yes | WordPress block id from list-blocks. | |
| versionId | Yes | Version uuid to roll back to (from list-versions). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | No | ||
| buildOk | No | ||
| versionId | No | ||
| filesWritten | No |