Home / Servers / Vercel API / create_sandboxes_by_name_fork_v3
Fork a named sandbox
An MCP tool from the Vercel API server, hosted on mcp.hjlabs.in.
Fork a named sandbox Forks a named sandbox, creating a new named sandbox from the source's configuration. Resources, timeout, ports, tags, network policy, mounts, Connect network, image, persistence, snapshot settings… [POST /v3/sandboxes/{name}/fork]
Name on the gateway: vercel_api__create_sandboxes_by_name_fork_v3 · may change things.
Parameters
| Name | Type | Description |
|---|---|---|
name required | string | Name of the source sandbox to fork. |
projectId | string | The ID of the project the source sandbox belongs to. Required unless… |
teamId | string | The Team identifier to perform the request on behalf of. |
slug | string | The Team slug to perform the request on behalf of. |
networkPolicy | object | Network access policy for the sandbox.\n Controls which external hosts the… |
resources | object | Resources to define the VM |
ports | array | List of ports to expose from the sandbox. Each port will be accessible via a… |
image | string | Image to use for the sandbox. |
timeout | integer | Maximum duration in milliseconds that the sandbox can run before being… |
env | object | Default environment variables for the sandbox. These are inherited by all… |
mounts | object | List of drives to mount to the sandbox at the provided path. |
region | iad1 | sfo1 | cle1 | cdg1 | fra1 | arn1 | sin1 | pdx1 | lhr1 | icn1 | bom1 | cpt1 | dub1 | gru1 | hkg1 | syd1 | yul1 | hnd1 | kix1 | The Vercel region in which to create the sandbox. |
failoverRegions | array | The regions the sandbox falls back to when it cannot be created in region. |
networkId | string | The Connect network id for the target Secure Compute private network. |
body_name | string | Name for the forked sandbox. Must be unique per project and URL-safe… |
persistent | boolean | Whether the sandbox persists its state across restarts via automatic… |
snapshotExpiration | string | Default snapshot expiration time in milliseconds. Defaults to 7 days. Set to 0… |
keepLastSnapshots | object | Protect the N most recent snapshots with different expiration/deletion… |
tags | object | Key-value tags to associate with the sandbox. Maximum 5 tags. |
How to call it
Through the Smart Gateway, any client can run it by name with call_tool, or let the gateway find it with search_tools:
{
"name": "vercel_api__create_sandboxes_by_name_fork_v3",
"arguments": {
"name": "…"
}
}Or connect the Vercel API server directly, which lists 472 tools including this one:
claude mcp add --transport http hj-vercel-api https://mcp.hjlabs.in/mcp/vercel-api \
--header "Authorization: Bearer YOUR_API_KEY"Try asking
Use the fork a named sandbox tool with name set to ….