restore_sandbox
Roll a sandbox back onto one of its save points, in place. DESTRUCTIVE: everything written since that save is gone, and the running processes are replaced by the captured ones. The id, URL and token do not change, so anything pointing at the sandbox keeps working. Name exactly one of checkpoint (fast, on-node) or backup (pulled from the object store, so slower), and pass confirm=true — without it nothing happens.
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": {
"sandbox_id": "<sandbox_id>",
"confirm": "<confirm>"
},
"name": "restore_sandbox"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| backup | No | a backup id (durable off-node copy) | |
| confirm | Yes | must be true; without it nothing happens | |
| checkpoint | No | a checkpoint name (on-node save point) | |
| sandbox_id | Yes | sandbox id, e.g. sb_ab12cd |