Snapshot sandbox
sandbox_snapshotSave a running sandbox, including memory and processes, as a private snapshot for launching new sandboxes from a snapshot ID; choose user, workspace, or project restore scope.
Instructions
Save a running sandbox, memory and processes included, as a private snapshot to start new sandboxes from (sandbox_create with snapshotId). The sandbox keeps running. scope says where it may be restored: user (any of your projects), workspace, or project. Snapshots are billed for storage until deleted. Waits up to 2 minutes for the snapshot to be ready; a large one may still be processing, so check sandbox_snapshot_list.
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": {
"sandboxId": "<sandboxId>",
"name": "<name>"
},
"name": "sandbox_snapshot"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | A name for the snapshot | |
| scope | No | ||
| sandboxId | Yes | Exact sandbox ID from sandbox_create or sandbox_list |