Create a sandbox
create_sandboxCopies a Git project into a cloud or local sandbox and starts a coding agent in a connected terminal, excluding .env files, keys, and credentials.
Instructions
Copy a Git project into a new sandbox and start it: a cloud sandbox by default (uploaded; takes a minute or so), or with local: true one on this machine in a Lima VM (nothing uploaded, no sign-in). Copies what git tracks or would track, never .env files, keys or credentials; up to 200 MiB, 25 MiB a file, 20,000 files.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "create_sandbox"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | The sandbox's name. Defaults to the project folder's name. A local sandbox's name must be unique on this machine: letters, digits, dot, dash and underscore. | |
| path | No | A folder inside the Git project to upload; relative paths are resolved against the workspace. Defaults to the open workspace. | |
| agent | No | The coding agent to start in the terminal: claude (Claude Code, the default) or codex (Codex). | |
| local | No | Create the sandbox on this machine instead of RayTrace's cloud. Use when the user asks for a local sandbox. The first one sets up a Linux VM (several minutes). | |
| github | No | Cloud only: also make the sandbox a clone of the project's GitHub repository (its origin), on a branch its agent may push to. Needs the RayTrace GitHub App connected for the user's organization. | |
| connect | No | Open a terminal connected to the new sandbox with a coding agent running in it, once it is ready. Defaults to true. | |
| github_repo | No | With github: the GitHub repository to connect to instead of the origin, as owner/name. | |
| install_lima | No | With local: download Lima 2.2.1 (open source, about 25-40 MB, no admin rights) when it is not installed. Only after the user agrees. | |
| without_beta_credit | No | Create a regular sandbox, not the user's free beta sandbox. Only after the user agrees, when create_sandbox reported their free beta sandbox expired or already created. |