snapshot
Preserve the current sandbox system state including installed packages as a reusable image. Restore later to replicate the exact environment.
Instructions
Save the current sandbox state as a reusable snapshot image. The snapshot captures installed packages and system state (not /workspace files, which live on a separate persistent volume).
Args: snapshot_name: Name for the snapshot (e.g., "with-pytorch", "ml-env") sandbox: Named sandbox to snapshot (default "default")
Returns: Confirmation or error.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| snapshot_name | Yes | ||
| sandbox | No | default |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |