veryfront__create_sandbox
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 |
|---|---|---|---|
access_scope | string | Yes | Private sandboxes require creator credentials or a creator-owned MCP OAuth grant. Values: "project", "private". |
project_reference | string | No | Project UUID or slug to bill. When set, the project owner is billed. |
environment_id | string | No | Environment whose variables are copied once into the sandbox; it also identifies the billing project. Format: uuid. |
ttl_mode | string | No | 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__create_sandbox",7 "arguments": {8 "access_scope": "project"9 }10 }11}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 "access_scope": {5 "type": "string",6 "enum": [7 "project",8 "private"9 ],10 "description": "Private sandboxes require creator credentials or a creator-owned MCP OAuth grant."11 },12 "project_reference": {13 "type": "string",14 "description": "Project UUID or slug to bill. When set, the project owner is billed."15 },16 "environment_id": {17 "type": "string",18 "format": "uuid",19 "description": "Environment whose variables are copied once into the sandbox; it also identifies the billing project."20 },21 "ttl_mode": {22 "type": "string",23 "enum": [24 "default",25 "duration",26 "always_on"27 ],28 "description": "Sandbox lifetime policy. `default` uses the platform’s idle and maximum lifetime limits."29 },30 "ttl_hours": {31 "type": "integer",32 "exclusiveMinimum": 0,33 "maximum": 24,34 "description": "Required when ttl_mode is duration. Number of hours before cleanup, up to 24."35 }36 },37 "required": [38 "access_scope"39 ],40 "additionalProperties": false,41 "$schema": "http://json-schema.org/draft-07/schema#",42 "description": "Arguments for the create_sandbox tool."43}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 create_sandbox tool.",164 "$schema": "http://json-schema.org/draft-07/schema#"165}