create_devbox
Create a Runloop Devbox to provision a Linux sandbox with custom resources, environment variables, and startup commands for development.
Instructions
Create a new Runloop Devbox.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Human-friendly name for the devbox. | |
| metadata | No | Arbitrary key/value metadata for organizing devboxes. | |
| after_idle | No | Dict with ``idle_time_seconds`` (int) and ``on_idle`` (``"shutdown"`` or ``"suspend"``). Mutually exclusive with ``keep_alive_time_seconds``. | |
| file_mounts | No | Mapping of ``{"/path/in/devbox": "inline file contents"}`` written at creation time. | |
| snapshot_id | No | Create the devbox from an existing disk snapshot. | |
| architecture | No | ``x86_64`` or ``arm64``. | |
| blueprint_id | No | ID of a custom blueprint (alternative to ``blueprint_name``). | |
| resource_size | No | Instance size, one of ``X_SMALL``, ``SMALL``, ``MEDIUM``, ``LARGE``, ``X_LARGE``, ``XX_LARGE``. | |
| blueprint_name | No | Prebuilt image / blueprint name, e.g. ``runloop/universal-ubuntu-24.04-x86_64`` or ``runloop/starter-x86_64``. | |
| launch_commands | No | Commands run during initialization (must not block; redirect background processes to a log file). | |
| environment_variables | No | Environment variables injected into the devbox. | |
| keep_alive_time_seconds | No | Maximum lifetime of the devbox in seconds. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||