Restore snapshot
render_restore_snapshotRestore disk data from a snapshot, overwriting current contents.
Instructions
Restore snapshot. Restore a persistent disk to an available snapshot. This operation is irreversible. It will overwrite the current disk data. It might also trigger a service deploy. Snapshot keys returned from the List snapshots endpoint expire after 24 hours. If a snapshot key has expired, query the endpoint again for a new key. Calls POST /disks/{diskId}/snapshots/restore on the Render Public API.
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": {
"diskId": "<diskId>",
"snapshotKey": "<snapshotKey>"
},
"name": "render_restore_snapshot"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| diskId | Yes | The ID of the disk | |
| instanceId | No | When a service with a disk is scaled, the instanceId is used to identify the instance that the disk is attached to. Each instance's disks get their own snapshots, and can be restored separately. | |
| snapshotKey | Yes |