veryfront__update_sandbox_lifetime
Requires project.sandboxes.manage.
Access
No external-service connection is required. Use a Veryfront credential with access to the requested resources.
Call type: Can change resources.
Arguments
| Field | Type | Required | Description and constraints |
|---|---|---|---|
sandbox_id | string | Yes | Sandbox UUID, as returned by createSandbox. Format: uuid. |
ttl_mode | string | Yes | Sandbox lifetime policy. default uses the platform’s idle and maximum lifetime limits. Values: "default", "duration", "always_on". |
ttl_hours | integer | No | Required when ttl_mode is duration. Number of hours before cleanup, up to 24. Maximum: 24. |
Example request
Send this JSON-RPC request through an initialized MCP client. Replace sample identifiers and values before calling the tool. See MCP client setup.
request.json
1{2 "jsonrpc": "2.0",3 "id": 1,4 "method": "tools/call",5 "params": {6 "name": "veryfront__update_sandbox_lifetime",7 "arguments": {8 "sandbox_id": "00000000-0000-4000-8000-000000000000",9 "ttl_mode": "default"10 }11 }12}Result
The published output shape is summarized below. Inspect both the MCP response content and isError when handling a call.
| Field | Type | Required | Description and constraints |
|---|---|---|---|
id | string | Yes | Unique identifier for the returned record. Format: uuid. |
short_id | string | Yes | |
endpoint | string | Yes | Sandbox endpoint URL. |
status | string | Yes | Sandbox lifecycle status. Values: "pending", "provisioning", "running", "error", "deleting". |
project_id | string or null | Yes | Project identifier associated with this result. |
run_id | string or null | No | Agent run that created this sandbox. |
stopped_at | string or null | No | Compute cleanup completed; only session history remains. |
access_scope | string | Yes | Values: "project", "private". |
workspace_storage | string | Yes | Persistent workspaces survive runtime pod replacement. Deleting the sandbox also deletes its workspace. Values: "ephemeral", "persistent". |
ttl_mode | string | Yes | Values: "default", "duration", "always_on". |
ttl_hours | integer or null | Yes | |
expires_at | string or null | Yes | |
created_at | string | Yes | Creation timestamp in ISO 8601 format. |
last_activity_at | string or null | Yes | |
variable_snapshot | object | No | Snapshot provenance on sandbox details. Variables are copied once, without live synchronization. No variable keys or values are included. |
Full schemas
input-schema.json
1{2 "type": "object",3 "properties": {4 "sandbox_id": {5 "type": "string",6 "format": "uuid",7 "description": "Sandbox UUID, as returned by createSandbox."8 },9 "ttl_mode": {10 "type": "string",11 "enum": [12 "default",13 "duration",14 "always_on"15 ],16 "description": "Sandbox lifetime policy. `default` uses the platform’s idle and maximum lifetime limits."17 },18 "ttl_hours": {19 "type": "integer",20 "exclusiveMinimum": 0,21 "maximum": 24,22 "description": "Required when ttl_mode is duration. Number of hours before cleanup, up to 24."23 }24 },25 "required": [26 "sandbox_id",27 "ttl_mode"28 ],29 "additionalProperties": false,30 "$schema": "http://json-schema.org/draft-07/schema#",31 "description": "Arguments for the update_sandbox_lifetime tool."32}output-schema.json
1{2 "type": "object",3 "properties": {4 "id": {5 "type": "string",6 "format": "uuid",7 "description": "Unique identifier for the returned record."8 },9 "short_id": {10 "type": "string"11 },12 "endpoint": {13 "type": "string",14 "description": "Sandbox endpoint URL."15 },16 "status": {17 "type": "string",18 "enum": [19 "pending",20 "provisioning",21 "running",22 "error",23 "deleting"24 ],25 "description": "Sandbox lifecycle status."26 },27 "project_id": {28 "anyOf": [29 {30 "type": "string",31 "format": "uuid",32 "description": "Project identifier associated with this result."33 },34 {35 "type": "null",36 "description": "Project identifier associated with this result."37 }38 ],39 "description": "Project identifier associated with this result."40 },41 "run_id": {42 "anyOf": [43 {44 "type": "string",45 "format": "uuid",46 "description": "Run identifier associated with this result."47 },48 {49 "type": "null",50 "description": "Run identifier associated with this result."51 }52 ],53 "description": "Agent run that created this sandbox."54 },55 "stopped_at": {56 "type": [57 "string",58 "null"59 ],60 "description": "Compute cleanup completed; only session history remains."61 },62 "access_scope": {63 "type": "string",64 "enum": [65 "project",66 "private"67 ]68 },69 "workspace_storage": {70 "type": "string",71 "enum": [72 "ephemeral",73 "persistent"74 ],75 "description": "Persistent workspaces survive runtime pod replacement. Deleting the sandbox also deletes its workspace."76 },77 "ttl_mode": {78 "type": "string",79 "enum": [80 "default",81 "duration",82 "always_on"83 ]84 },85 "ttl_hours": {86 "anyOf": [87 {88 "type": "integer",89 "exclusiveMinimum": 090 },91 {92 "type": "null",93 "description": "The ttl hours returned by the tool."94 }95 ]96 },97 "expires_at": {98 "type": [99 "string",100 "null"101 ]102 },103 "created_at": {104 "type": "string",105 "description": "Creation timestamp in ISO 8601 format."106 },107 "last_activity_at": {108 "type": [109 "string",110 "null"111 ]112 },113 "variable_snapshot": {114 "type": "object",115 "properties": {116 "source_environment_id": {117 "anyOf": [118 {119 "type": "string",120 "format": "uuid"121 },122 {123 "type": "null",124 "description": "The source environment id returned by the tool."125 }126 ]127 },128 "variable_count": {129 "type": "integer",130 "minimum": 0131 },132 "copied_at": {133 "type": [134 "string",135 "null"136 ]137 }138 },139 "required": [140 "source_environment_id",141 "variable_count",142 "copied_at"143 ],144 "additionalProperties": false,145 "description": "Snapshot provenance on sandbox details. Variables are copied once, without live synchronization. No variable keys or values are included."146 }147 },148 "required": [149 "id",150 "short_id",151 "endpoint",152 "status",153 "project_id",154 "access_scope",155 "workspace_storage",156 "ttl_mode",157 "ttl_hours",158 "expires_at",159 "created_at",160 "last_activity_at"161 ],162 "additionalProperties": false,163 "description": "Structured result returned by the update_sandbox_lifetime tool.",164 "$schema": "http://json-schema.org/draft-07/schema#"165}