---
url: >-
  https://adk.nht.io/api/@nhtio/adk/batteries/sandbox/functions/preflightSandbox.md
---

# Function: preflightSandbox()

```ts
function preflightSandbox(options: PreflightOptions): Promise<SandboxPreflight>;
```

Defined in: [src/batteries/sandbox/preflight.ts:54](https://github.com/NHTIO/ADK/blob/v1.20260824.1/src/src/batteries/sandbox/preflight.ts#L54)

Run the once-only, fail-closed environment gauntlet used by `createSandbox()`.

## Parameters

| Parameter | Type                                                    |
| --------- | ------------------------------------------------------- |
| `options` | [`PreflightOptions`](../interfaces/PreflightOptions.md) |

## Returns

`Promise`<[`SandboxPreflight`](../interfaces/SandboxPreflight.md)>
