Delete sandbox
sandbox_deletePermanently delete a specified sandbox and its files to clean up task environments; get user approval first. Attached volumes, projects, and app services remain intact.
Instructions
Permanently destroy one sandbox and all its files (an attached volume stays). Get the user's approval before calling. Use this to clean up a sandbox created for a task. Does not delete its project or any app services.
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>",
"confirm": "<confirm>"
},
"name": "sandbox_delete"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| confirm | Yes | ||
| sandboxId | Yes | Exact sandbox ID from sandbox_create or sandbox_list |