# veryfront__update_sandbox_lifetime

Update sandbox lifetime. Requires project.sandboxes.manage.

Risk: mutating.

## Arguments

| Name         | Type    | Required | Description                                                                              |
| ------------ | ------- | -------- | ---------------------------------------------------------------------------------------- |
| `sandbox_id` | string  | Yes      | Sandbox UUID, as returned by createSandbox.                                              |
| `ttl_mode`   | string  | Yes      | Sandbox lifetime policy. `default` uses the platform’s idle and maximum lifetime limits. |
| `ttl_hours`  | integer |          | Required when ttl\_mode is duration. Number of hours before cleanup, up to 24.           |

## Call it

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "veryfront__update_sandbox_lifetime",
    "arguments": {
      "sandbox_id": "<sandbox_id>",
      "ttl_mode": "<ttl_mode>"
    }
  }
}
```
