set_sleep_settings
Change sleep settings
Instructions
Change sleep settings
Changes idle_timeout and/or deep_sleep_after of an existing sandbox. A new idle_timeout recreates only the socat container (a running sandbox's app is unreachable for a few seconds; an asleep one stays asleep) and applies to the next request's Sablier session. A new deep_sleep_after applies immediately. HTTP PATCH /sandboxes/{name}
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": {
"name": "<name>"
},
"name": "set_sleep_settings"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| disk | No | Admin only: the disk use above which the sandbox is flagged (a warning, nothing is stopped). Default SANDBOX_DISK. | |
| name | Yes | ||
| idle_timeout | No | ||
| deep_sleep_after | No |