Permanently delete all snapshots of a sandbox
delete_sandbox_snapshotsPermanently deletes all unpinned snapshots for a sandbox while preserving the sandbox and its saved snapshots. Use it to clear obsolete snapshot data before restores or forks.
Instructions
Permanently delete all snapshots of a sandbox. Accept irreversible deletion of every unpinned snapshot of this sandbox. The sandbox itself and its saved snapshots stay. Snapshots disappear from lists, restores and forks immediately; their stored data is purged in the background. Set X-Ascii-Confirm-Delete to the sandbox id.
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": "delete_sandbox_snapshots"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sandboxId | Yes | Public Sandbox id returned by create/list/get sandbox calls. |