Restore earlier version
restore_versionRestores the model to an earlier version, keeping its current name. To undo a change, restore the version saved just before it, as listed by list_versions.
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": {
"modelId": "<modelId>",
"version": "<version>"
},
"name": "restore_version"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| modelId | Yes | The model's id, from list_models or from a model link. | |
| version | Yes | The version number from list_versions. |