save_snapshot
Save a running sandbox as a named, org-wide snapshot that new sandboxes can be created from (pass the name as create_sandbox's template). This is how a slow setup — dependencies installed, a database seeded, a build warmed — is paid for once. The capture freezes the guest briefly, then the whole memory image is uploaded in the background: the reply is a 202 with status building, and list_snapshots says when it is ready. Saving the same name again adds a version and retires the old one. Minutes, and gigabytes.
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>",
"name": "<name>"
},
"name": "save_snapshot"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | snapshot name, reused as a template id | |
| sandbox_id | Yes | sandbox id, e.g. sb_ab12cd |