Restore a snapshot
restore_snapshotROLLS THE SERVER'S DISK BACK to a snapshot. Everything written since that snapshot is lost. Ask the person before calling this. confirm must repeat the server id. Needs a key with vm:destroy. The account owner is emailed.
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": {
"server_id": "<server_id>",
"snapshot_id": "<snapshot_id>",
"confirm": "<confirm>"
},
"name": "restore_snapshot"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| confirm | Yes | Repeat the server id | |
| server_id | Yes | ||
| request_id | No | An id you choose for this one action, 8 to 64 characters. Send the same id again when retrying, so nothing is done twice. Use a new id for a new action. | |
| snapshot_id | Yes | From list_snapshots |