updateSandbox
Modify a running sandbox's VM settings — change its compute tier dynamically without a reboot or adjust the inactivity hibernation timeout. Use it to resize resources or tune idle shutdown for an active sandbox.
Instructions
Update VM settings for a running sandbox: tier and/or hibernation timeout.
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": "updateSandbox"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| vmTier | No | Change VM tier dynamically without reboot. | |
| sandboxId | Yes | Target sandbox ID to update (VM must be running). | |
| hibernationTimeoutSeconds | No | Update inactivity hibernation timeout in seconds (max 86400). |