Acquire a VM
relay_acquireAcquires a fresh, disposable VM for a single task, declares all output paths, and starts an ownership heartbeat to keep the VM until explicit release or failure triggers repair.
Instructions
Acquire one fresh VM for this task and start its ownership heartbeat. Requires task (a short slug), image (a key from relay_probe or relay_search) and extractions: every output you intend to bring home, declared before any work ([] is allowed; nothing is extracted automatically). Optional ttlHours (default 4), env (a credential pack, never baked into images), fullWorkspace (opt in to deliver the whole workspace) and vnc (default false; only prepares console-sharing capacity, never opens a viewer). One task per enclosure: call this once per task, not again for another task. Continue with relay_stage, relay_run (or a command tool), relay_image/relay_extract, then relay_finish or relay_release explicitly before you return; a failed step keeps the VM for repair rather than replaying uncertain input.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| env | No | Credential pack, default none; never baked into images. | |
| vnc | No | Prepare guest console sharing, default false. Never opens a viewer automatically. | |
| task | Yes | ||
| image | Yes | Image key from relay action=probe, e.g. ubuntu2404 or macos26. | |
| ttlHours | No | ||
| extractions | Yes | ||
| fullWorkspace | No | Explicit opt-in to deliver the entire workspace. |