Restore a version
restore_versionPut an earlier version back live (and in the draft). This changes the live site.
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": {
"site": "<site>",
"version": "<version>"
},
"name": "restore_version"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| site | Yes | the site's clay.site name (subdomain) or its id | |
| version | Yes | a version number of this site |