Recover a sandbox that stopped responding
recover_sandboxPower-cycle an unresponsive sandbox to restore responsiveness without touching its disk; it usually answers within 1-2 minutes and saves work automatically.
Instructions
Recover a sandbox that stopped responding. Power-cycle the machine of a sandbox that stopped answering. The disk is not
touched. The sandbox usually answers again within 1-2 minutes and then saves
your work by itself; sandbox.recovered fires when it does.
Refused with 409:
sandbox_is_reachable: the sandbox answers normally.too_soon: a recover started less than 10 minutes ago.no_machine: the sandbox has no machine. Resume it instead.recover_unsupported: its machine cannot be power-cycled. Wait for it to answer, or stop it with{"force": true}and resume it from its last good snapshot. With no snapshot, a forced stop loses everything.reset_failed: the power-cycle failed. Reply to the incident email.
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": "recover_sandbox"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sandboxId | Yes | Public Sandbox id returned by create/list/get sandbox calls. |