---
url: >-
  https://adk.nht.io/api/@nhtio/adk/batteries/sandbox/interfaces/BinarySandbox.md
description: Command wrapping contract used by the executor adapter.
---

# Interface: BinarySandbox

Defined in: [src/batteries/sandbox/executor.ts:10](https://github.com/NHTIO/ADK/blob/v1.20260824.1/src/src/batteries/sandbox/executor.ts#L10)

Command wrapping contract used by the executor adapter.

## Methods

### wrap()

```ts
wrap(invocation: BinaryInvocation & {
  command: string;
}): Promise<BinaryInvocation & {
  command: string;
}>;
```

Defined in: [src/batteries/sandbox/executor.ts:12](https://github.com/NHTIO/ADK/blob/v1.20260824.1/src/src/batteries/sandbox/executor.ts#L12)

Wrap an invocation without executing it.

#### Parameters

| Parameter    | Type                                                                                                    |
| ------------ | ------------------------------------------------------------------------------------------------------- |
| `invocation` | [`BinaryInvocation`](../../media/contracts/interfaces/BinaryInvocation.md) & { `command`: `string`; } |

#### Returns

`Promise`<[`BinaryInvocation`](../../media/contracts/interfaces/BinaryInvocation.md) & {
`command`: `string`;
}>
